/* Horizontal genre selection and a text-first tag discovery feed. */
.chip-scroller {position:relative;display:flex;align-items:center;gap:6px;min-width:0;flex:1;width:100%}
.chip-scroller>button {display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:34px;border:1px solid #e9e1f6;background:white;color:#79629b;border-radius:50%;cursor:pointer}
.chip-scroller>button:disabled {opacity:.22;cursor:default}
.chip-scroller .chip-scroll-track {display:flex;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap!important;gap:8px;scrollbar-width:none;overscroll-behavior-x:contain;padding:3px 0}
.chip-scroll-track::-webkit-scrollbar {display:none}
.chip-scroll-track>a {flex:none;white-space:nowrap}
.discovery-filter-row .chip-scroller {width:calc(100% - 83px)}
.tag-explore {padding:22px 0 40px;max-width:1160px;margin:0 auto}
.tag-explore-heading {padding:8px 0 27px}
.tag-explore-heading h1 {font-family:var(--sans);font-size:30px;font-weight:800;letter-spacing:-1px;margin:0 0 12px;color:#25212f}
.tag-explore-heading>p {font-size:13px;color:#8f849f;line-height:1.7}
.tag-explore-heading form {display:flex;align-items:center;gap:12px;background:white;border:1px solid #e8e1f2;border-radius:10px;padding:8px 13px;max-width:840px;margin-top:20px;box-shadow:0 2px 6px #54258305;color:#7b698f}
.tag-explore-heading input {min-width:0;flex:1;border:0;outline:none;font:inherit;font-size:13px;background:transparent}
.tag-explore-tags {padding:0 0 22px;border-bottom:1px solid #e8e1ef}
.tag-explore-tags h2 {font-size:13px;color:#7451c1;margin:0 0 10px}
.tag-explore-tags .chip-scroll-track>a {border:1px solid #e8e0f3;border-radius:20px;background:white;color:#84758e;font-size:11px;padding:9px 13px;line-height:1.5}
.tag-explore-tags .chip-scroll-track>a.selected {background:#8955e8;border-color:#8955e8;color:white}
.popular-tags-heading {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin-bottom:10px}
.popular-tags-heading h2 {margin:0}
.popular-tags-heading p {font-size:11px;color:#9687a3;margin:0;line-height:1.6}
.tag-explore-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:23px}
.tag-explore-layout.has-sidebar {grid-template-columns:minmax(0,1fr) 220px}
.tag-results {min-width:0}
.tag-result-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.tag-result-heading>div {display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.tag-result-heading h2 {font-family:var(--sans);font-size:20px;font-weight:800;margin:0;overflow-wrap:anywhere}
.tag-result-heading span {font-size:11px;color:#94879d}
.tag-result-heading select,.tag-result-filters select {max-width:130px;border:1px solid #e7e0ed;border-radius:8px;padding:8px;background:white;font:inherit;font-size:11px;color:#867594}
.tag-result-filters {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.tag-result-filters>nav {display:flex;gap:6px;margin-right:auto}
.tag-result-filters>nav a {padding:8px 10px;border-radius:7px;font-size:12px;color:#9a8ba7}
.tag-result-filters>nav a.selected {color:#7849c4;background:#efe7fb;font-weight:700}
.tag-results-feed {display:flex;flex-direction:column;gap:13px}
.tag-results-feed>.feed-card {border:1px solid #e8e2f0;border-radius:12px;background:white;margin:0;padding:22px}
.tag-explore-sidebar section {border:1px solid #e8e2f0;background:white;border-radius:12px;padding:20px 16px}
.tag-explore-sidebar h2 {font-size:14px;margin:0 0 17px;color:#4e405d}
.tag-explore-sidebar section>div {display:flex;flex-wrap:wrap;gap:9px}
.tag-explore-sidebar a {border:1px solid #ede5f5;padding:7px 10px;border-radius:20px;color:#8c75a5;font-size:11px}
@media(max-width:1024px){.tag-explore-layout.has-sidebar {grid-template-columns:minmax(0,1fr)}.tag-explore-sidebar {display:none}}
@media(max-width:760px){
 .discovery-filter-row .chip-scroller {width:100%}
 .chip-scroller>button {flex-basis:26px;width:26px;height:32px}
 .tag-explore {padding-top:12px}
 .tag-explore-heading h1 {font-size:26px}
 .tag-explore-heading form {gap:8px;padding:7px 10px}
 .tag-explore-heading form .btn {padding:7px 10px}
 .tag-results-feed>.feed-card {padding:19px 16px}
 .tag-result-heading h2 {font-size:18px}
 .tag-result-heading>div {gap:6px}
 .tag-result-filters .ai-switch {font-size:10px}
}
