/* One display preference, shared across the existing discovery surfaces. */
.content-toggle {display:inline-flex;align-items:center;gap:8px;position:relative;min-height:36px;color:#766c85;font-size:12px;white-space:nowrap;cursor:pointer}
.content-toggle input {position:absolute;opacity:0;width:1px;height:1px}
.adult-toggle-track {position:relative;width:32px;height:19px;border-radius:20px;background:#d9d4e2;transition:background .15s;flex:none}
.adult-toggle-track:after {content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:white;transition:transform .15s}
.content-toggle input:checked+.adult-toggle-track {background:#7954e7}
.content-toggle input:checked+.adult-toggle-track:after {transform:translateX(13px)}
.content-toggle input:focus-visible+.adult-toggle-track {outline:2px solid #6b45d2;outline-offset:3px}
.content-toggle input:disabled~* {opacity:.55}
.content-toggle small {min-width:22px;font-size:10px;font-weight:700;color:#968da3}
.content-toggle input:checked~small {color:#7954e7}
.discovery-status-row>.content-toggle {margin-left:auto;align-self:center}
.discovery-rating-filter {display:flex;justify-content:flex-end;padding-top:7px;border-top:1px solid #f0edf5;margin-top:9px}
.feed-filter-popover .content-toggle {display:flex;margin-bottom:8px}
.profile-content-preferences,.following-preferences {align-items:center;gap:20px;flex-wrap:wrap}
.adult-setting {border:0;padding:0;min-width:0}
.adult-guide {text-align:center;padding:6px 8px 12px}
.adult-guide h3 {font-size:18px;margin:18px 0 10px}
.adult-guide p {line-height:1.8;font-size:13px;color:#827991}
.adult-guide-actions {display:flex;justify-content:center;gap:10px;margin-top:22px}
.access-gate>.content-toggle {margin:10px 0 20px}
.verification-complete {font-size:12px;color:#7954e7}
.following-page {max-width:none;margin-inline:auto;min-width:0}
.following-heading {align-items:center}
.following-heading>.more-link {font-size:12px;white-space:nowrap;color:#8665db}
.following-authors {display:flex;gap:18px;overflow-x:auto;scrollbar-width:thin;padding:5px 0 21px;margin-bottom:18px;border-bottom:1px solid #eee9f5}
.following-authors>a {display:flex;flex-direction:column;align-items:center;gap:9px;flex:0 0 64px;min-width:0;padding:4px;border-radius:12px}
.following-authors .avatar,.following-all {display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;background:#efe8ff!important;color:#8a5be1;font-size:17px}
.following-authors strong {max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:#7e748d}
.following-authors .selected .avatar,.following-authors .selected .following-all {outline:2px solid #9673ea;outline-offset:3px}
.following-authors .selected strong {color:#7850da}
.following-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px}
.following-preferences {display:flex;justify-content:flex-end;margin:8px 0 12px}
.following-feed {display:flex;flex-direction:column;gap:14px;min-width:0}
.following-feed>.feed-card {border:1px solid #e9e5f1;border-radius:12px;padding:22px 24px;margin:0;background:white}
.following-person {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #eee8f5}
.following-person>a {display:flex;align-items:center;gap:10px;min-width:0;font-size:14px}
.following-person strong {overflow-wrap:anywhere}
.following-person .btn {flex:none}
.profile-introduction {padding:8px 0 23px}
.profile-introduction h2,.profile-recent h2,.profile-feed-heading {font-family:var(--sans);font-size:15px;font-weight:750;margin:0 0 12px;color:#51485f}
.profile-introduction p {margin:0 0 12px;font-size:13px;line-height:1.8;color:#8b8199;white-space:pre-line;overflow-wrap:anywhere}
.profile-topic-tags {display:flex;gap:7px;flex-wrap:wrap}
.profile-topic-tags a {padding:4px 8px;background:#f4efff;border-radius:5px;font-size:11px;color:#9370d6}
.profile-recent {margin:0 0 26px}
.profile-recent>div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-recent-card {display:flex;align-items:flex-start;gap:12px;min-width:0;padding:15px;border:1px solid #e9e3f2;border-radius:10px;background:#fcfbff}
.profile-recent-cover {width:44px;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:5px;flex:none}
.profile-recent-card>div {min-width:0;flex:1}
.profile-recent-card small {display:flex;align-items:center;gap:6px;font-size:10px;color:#9671db;margin-bottom:5px}
.profile-recent-card strong {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:700;line-height:1.6;color:#574c6b}
.profile-recent-card div>span {font-size:11px;color:#9b92a5;display:block;margin-top:5px}
.profile-recent-post-image {display:block;width:auto;height:auto;max-width:100%;max-height:90px;margin-top:10px;border-radius:5px;object-fit:contain}
.profile-feed-heading {margin-bottom:15px}
.profile-feed-heading span {font-size:12px;font-weight:400;color:#9e94ab;margin-left:5px}
.profile-content-preferences {margin-bottom:16px}
.desktop-navigation a[href="#/compose"] {margin-top:14px}
@media(max-width:760px){
 .following-heading {gap:10px}
 .following-heading p {max-width:250px}
 .following-authors {gap:12px;padding-bottom:18px;margin-bottom:14px}
 .following-authors>a {flex-basis:58px}
 .following-toolbar .profile-content-tabs {flex:1}
 .following-toolbar .feed-sort {flex:none;font-size:11px}
 .following-feed>.feed-card {padding:18px 16px}
 .following-preferences,.profile-content-preferences {gap:8px 14px;justify-content:flex-end}
 .content-toggle {font-size:11px;gap:6px}
 .profile-recent>div {grid-template-columns:1fr}
 .profile-recent-card {padding:13px}
 .profile-introduction {padding-bottom:20px}
}

/* Title-adjacent display controls: one component, one order on every list. */
.browse-title-row {display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;width:100%}
.content-preferences {display:flex;align-items:center;justify-content:flex-end;flex:none;gap:20px}
.content-preferences .content-toggle {min-height:44px;margin:0}
.browse-page .discovery-heading {display:block}
.browse-page .discovery-heading>div {width:100%;min-width:0}
.browse-page .discovery-heading h1,.browse-page .tag-explore-heading h1 {flex:none}
.feed-toolbar.home-feed-toolbar>.dam-tabs {flex:1}
.account-panel .account-preferences {border-block:1px solid var(--line);padding:14px 0;margin:16px 0}
.account-preferences h3 {font-size:13px;font-weight:700;margin:0 0 6px;color:var(--ink)}
.account-preferences>.content-preferences {flex-direction:column;align-items:stretch;gap:0}
.account-preferences .content-toggle {display:flex;width:100%;font-size:12px;gap:8px;min-height:44px}
.account-preferences .content-toggle>span:first-child {margin-right:auto}
.account-guest strong {font-size:17px}
.account-guest p {font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 16px}
.profile-trigger .guest-avatar {display:grid;place-items:center}
.browse-page .page-title-row:has(>.content-preferences) {align-items:flex-start}
.browse-page .page-title-row>.content-preferences {padding-top:0}
.profile-publications-heading {margin-bottom:16px}
.profile-publications-heading h2 {font-size:20px;font-weight:750;letter-spacing:-.6px;margin:0}
.following-management-link {display:flex;justify-content:flex-end;margin:8px 0 12px}
.following-management-link .more-link {font-size:12px}
.adult-guide>.adult-gate-icon {display:flex;align-items:center;justify-content:center;margin:0 auto}
@media(max-width:760px){
 .browse-title-row {flex-wrap:wrap;gap:4px}
 .content-preferences {justify-content:flex-start;gap:16px;max-width:100%;flex-wrap:wrap}
 .browse-title-row>.content-preferences {flex-basis:100%;margin:0 0 6px}
 .content-preferences .content-toggle {font-size:11px;gap:5px}
 .content-preferences .content-toggle small {min-width:20px}
 .content-preferences .adult-toggle-track {width:30px;height:19px}
 .content-preferences .content-toggle input:checked+.adult-toggle-track:after {transform:translateX(11px)}
 .browse-page .page-title-row:has(>.content-preferences) {flex-wrap:wrap;gap:10px}
 .browse-page .page-title-row>.content-preferences {flex-basis:100%}
 .profile-publications-heading {margin-bottom:8px}
}

.feed-refresh-status {margin:0 0 12px;padding:8px 12px;border-radius:8px;background:#f5f1ff;color:#7954d4;font-size:12px;line-height:1.6}
