.profile-content-tabs{margin:24px 0 18px;align-items:center}
.profile-content-tabs.has-search{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:4px}
.profile-content-tabs>button[data-profile-content]{font-size:clamp(.8rem,3.4vw,1.05rem)}
.profile-content-tabs small{font-size:.75em;font-weight:400}
.profile-content-tabs>.personal-search-toggle{margin:0;padding:7px;width:36px;height:36px;min-height:36px;border:1px solid var(--edge);border-radius:10px;background:var(--surface);color:var(--accent)}
.profile-feed-modes{margin-bottom:14px}
.profile-feed-modes button{font-size:.85rem}
.profile-feed-tools{display:flex;justify-content:flex-end;margin:0 0 16px}
.profile-feed-tools .btn{padding:9px 13px;font-size:.8rem}
html[data-design] #main#main#main .btn.profile-feed-new{position:fixed;z-index:96;display:inline-flex;align-items:center;justify-content:center;gap:8px;transform:translateX(-50%);width:max-content;min-width:0;min-height:44px;margin:0;padding:8px 12px!important;border:1px solid var(--accent);border-radius:999px!important;background:var(--accent);color:var(--accent-text,#fff);box-shadow:0 4px 16px #203a492b;font:700 12px/1.3 var(--al-font,Georgia,serif);white-space:nowrap;cursor:pointer}
.profile-feed-new>svg{flex:none;width:18px;height:18px}
.profile-feed-new-avatars{display:flex;align-items:center;flex:none}
html[data-design] #main#main#main .profile-feed-new-avatars>img{flex:0 0 24px;display:block;width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;margin:0 0 0 -7px;border:1px solid var(--accent-text,#fff);border-radius:50%;background:var(--soft);object-fit:cover}
html[data-design] #main#main#main .profile-feed-new-avatars>img:first-child{margin-inline-start:0}
.profile-feed-new:disabled{cursor:wait;opacity:.8}
.profile-feed-new:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.profile-feed-event{min-width:0;align-self:start;display:flex;flex-direction:column;border:1px solid var(--line,#cbd5d8);border-radius:22px;background:var(--paper,#fffdf9);overflow:hidden}
.profile-feed-event>header{display:flex;gap:7px;align-items:flex-start;min-height:70px;padding:12px}
.profile-feed-event>header img{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--soft)}
.profile-feed-event>header>div{min-width:0;overflow-wrap:anywhere}
.profile-feed-event>header p{margin:0 0 5px;font-size:.8rem;line-height:1.35}
.profile-feed-event>header time{font-size:.65rem;color:var(--muted)}
.profile-feed-event>.card{flex:1;margin:0;min-width:0}
html[data-design] #main#main .profile-recipe-post>.card{border:0!important;border-radius:0!important;box-shadow:none!important}
.profile-feed-rating{color:var(--accent);white-space:nowrap}
.recipe-engagement>.recipe-repost-count{display:inline-flex;align-items:center;gap:3px;min-width:0;min-height:24px;padding:1px 0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:pointer}
.recipe-repost-count svg{width:15px;height:15px;flex:none}
.catalog-recipe-card .recipe-repost-count{position:relative;z-index:4;pointer-events:auto}
.recipe-repost-count[aria-pressed=true]{color:#217957;font-weight:700}
.recipe-repost-count:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.recipe-repost-count:disabled{opacity:.6;cursor:wait}
.recipe-engagement:has(.recipe-repost-count){column-gap:clamp(4px,1vw,8px);row-gap:3px}
.catalog-recipe-card .recipe-engagement:has(.recipe-repost-count){column-gap:4px;row-gap:3px}
.repost-status{color:var(--accent);font-size:.8rem;overflow-wrap:anywhere}
.profile-feed-grid{margin-bottom:20px;align-items:start}
html[data-design] #main#main .profile-feed-grid img{content-visibility:visible!important}
/* Standalone news feed, with articles and a compact Chat shortcut. */
.news-feed-page{min-width:0;padding-bottom:18px}
.news-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
html[data-design] #main#main .news-feed-heading h1{flex:1;min-width:0;margin:0;font-size:clamp(1.4rem,5.4vw,2rem);line-height:1.2}
html[data-design] #main#main .news-feed-chat{flex:none;display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border-radius:12px;font-size:.85rem;min-height:44px;white-space:nowrap}
.news-feed-chat-icon{position:relative;display:inline-flex;align-items:center}
.news-feed-chat-icon>svg{width:20px;height:20px}
html[data-design] #main#main .news-feed-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:0;margin-bottom:18px}
html[data-design] #main#main .news-feed-tabs>button{min-width:0;min-height:54px;padding:9px 5px;font-size:clamp(.74rem,3.1vw,.95rem);line-height:1.3;white-space:normal}
.news-articles-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
html[data-design] #main#main .news-article-card{display:flex;flex-direction:column;gap:14px;min-width:0;width:100%;padding:18px;border:1px solid var(--line,#cbd5d8);border-radius:18px;background:var(--paper,#fffdf9);text-align:start;box-shadow:0 5px 18px #19334308;cursor:pointer}
html[data-design] #main#main .news-article-card h2{margin:0;font-size:1.1rem;line-height:1.3;overflow-wrap:anywhere}
.news-article-card .article-card-meta{font-size:.75rem;color:var(--muted)}
.news-article-card .article-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;width:100%;font-size:.75rem}
.news-article-card .article-card-footer strong{color:var(--accent)}
.news-article-card:focus-visible,.news-feed-chat:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.news-feed-page{overflow-x:clip}
.news-articles-tab-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px 8px;box-sizing:border-box;border:1px solid var(--edge);border-radius:12px;background:var(--soft);color:var(--accent);vertical-align:middle}
.news-articles-tab-label>svg{flex:none;width:16px;height:16px}
.news-feed-tabs>[data-news-feed-tab=articles][aria-pressed=true] .news-articles-tab-label{background:var(--accent);border-color:var(--accent);color:var(--accent-text,#fff)}
.profile-feed-empty strong{display:block;font-size:1.1rem;color:var(--ink)}
.profile-feed-empty p{margin:10px 0 16px;color:var(--muted);line-height:1.5;font-size:.9rem}

/* A single navigation row, including discovery and chronological views. */
html[data-design] #main#main .news-feed-tabs{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;gap:8px;scroll-padding-inline:4px}
html[data-design] #main#main .news-feed-tabs::-webkit-scrollbar{display:none}
html[data-design] #main#main .news-feed-tabs>button{flex:1 0 auto;white-space:nowrap;min-height:48px;padding:10px 8px;font-size:14px}
