/* ============================================================
   take.news Following (/following, following.php; owner 30 Nov 2026): what a member follows, X style, in five tabs.
   MEMBERS ONLY: linked by following.php through $pageCss. Site tokens only (15/13 px, 1 px lines, no shadows, no gradients).
   The Follow buttons are the site's own (.rel-btn, .vol-btn) with X's rule from assets/x/nav.css (not following = filled,
   following = outlined, Unfollow in red on hover); here they only get one size, so members and topics line up.
   ============================================================ */
.fw-top .a-back{display:grid!important}
.fw-h{min-width:0;display:flex;flex-direction:column;justify-content:center}
.fw-h .a-top-t{margin:0;font-family:var(--display);font-weight:800;font-size:19px;line-height:1.25;letter-spacing:-.01em;color:var(--text)}
.fw-h span{font-size:13px;line-height:1.3;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:1000px){ .a-top.fw-top{display:flex;align-items:center;gap:8px;padding:0 8px} }
.fw{background:var(--surface);padding-bottom:32px}

/* tabs: one row; on a narrow screen it scrolls sideways (following.js brings the open tab into view, also on /ar/) */
.fw-tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.fw-tabs::-webkit-scrollbar{display:none}
.fw-tabs a{flex:1 0 auto;padding:0 8px;white-space:nowrap}

/* filter */
.fw-find{padding:12px var(--gut) 4px}
.fw-find-in{display:flex;align-items:center;gap:12px;height:44px;padding:0 16px;border:1px solid var(--line);border-radius:6px;background:var(--raise);color:var(--text-3)}
.fw-find-in input{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;background:none;font-family:var(--body);font-size:16px;color:var(--text);outline:0}
.fw-find-in input::placeholder{color:var(--text-3)}
.fw-find-in:focus-within{border-color:var(--text-3)}

/* rows */
.fw-list{list-style:none;margin:0;padding:0}
.fw-row{display:flex;align-items:flex-start;gap:12px;padding:12px var(--gut);border-bottom:1px solid var(--line-2)}
.fw-row[hidden]{display:none}
.fw-p{flex:none;display:block;width:40px;height:40px;text-decoration:none}
.fw-pic{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:var(--raise);color:var(--text-2)}
.fw-pic--src{box-sizing:border-box;overflow:hidden;border:1px solid var(--line);border-radius:50%;background:#fff}   /* logos are made for light, as .x-fav */
.fw-pic--src img{width:28px;height:28px;object-fit:contain}
.fw-pic--src .x-ltr{background:var(--raise);font-size:16px}
.fw-t{flex:1;min-width:0;display:flex;flex-direction:column;padding-top:1px}
.fw-n{display:flex;min-width:0;color:var(--text);text-decoration:none}
.fw-n b,.fw-n .nmr-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;line-height:1.35;color:var(--text)}
.fw-n .nmr{min-width:0}
a.fw-n:hover b,a.fw-n:hover .nmr-n{text-decoration:underline}
.fw-m{font-size:13px;line-height:1.4;color:var(--text-3)}
.fw-m .fw-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.fw-bio,.fw-why{margin:4px 0 0;font-size:15px;line-height:1.4;color:var(--text-2);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fw-why{font-size:13px;color:var(--text-3);-webkit-line-clamp:1}
.fw-act{flex:none;align-self:center}

/* one button size for every kind (X: a 36 px pill, the label bold 15 px, a fixed width so Follow and Following do not jump) */
.fw .fw-act .rel-btn,.fw .fw-act .vol-btn{box-sizing:border-box;min-width:112px;height:36px;min-height:0;margin:0;padding:0 16px;border:1px solid;border-radius:999px;font-family:var(--body);font-size:15px;font-weight:700;line-height:1;white-space:nowrap}
/* the instant flip (assets/news.js, assets/volgen.js) keeps the button disabled while the server answers: no grey-out here,
   the new state shows at once */
.fw .fw-act .rel-btn[data-rel="follow"][disabled],.fw .fw-act .vol-btn[disabled]{opacity:1;cursor:default}
.fw .fw-act .rel-btn[data-rel="follow"][disabled]:not(.is-on){border-color:var(--text);background:var(--text);color:var(--surface)}

/* empty list, no filter result */
.fw-empty{padding:32px var(--gut) 24px;border-bottom:1px solid var(--line-2)}
.fw-empty h2{margin:0;font-family:var(--display);font-weight:800;font-size:24px;line-height:1.25;letter-spacing:-.01em;color:var(--text)}
.fw-empty p{margin:8px 0 0;font-size:15px;line-height:1.45;color:var(--text-3)}
.fw-none{margin:0;padding:16px var(--gut);border-bottom:1px solid var(--line-2);font-size:15px;color:var(--text-3)}

/* section heads (Suggested, See less), as X's "Who to follow" head */
.fw-sec{margin:0;padding:20px var(--gut) 4px;font-family:var(--display);font-weight:800;font-size:19px;line-height:1.3;letter-spacing:-.01em;color:var(--text)}
.fw-sug,.fw-less{margin:0}   /* the rows' own lines separate the blocks */
.fw-sug[hidden]{display:none}
.fw-links{padding:4px 0 0}
.fw-link{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 var(--gut);color:var(--text);text-decoration:none}
.fw-link+.fw-link{border-top:1px solid var(--line-2)}
.fw-lt{flex:1;min-width:0;font-size:15px;line-height:1.4}
.fw-v{flex:none;font-size:15px;color:var(--text-3)}
.fw-chev{flex:none;display:grid;place-items:center;color:var(--text-3)}
[dir="rtl"] .fw-chev .ico{transform:scaleX(-1)}
a.fw-link:hover .fw-lt{color:var(--accent-ink)}

/* Undo toast: the site's bar (.pin-toast in assets/x/comments.css, placed above the capsule by assets/x/nav.css) with Undo */
.pin-toast.fw-toast > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pin-toast.fw-toast > button{flex:none;display:inline-flex;align-items:center;height:44px;margin:0;padding:0 10px;border:0;border-radius:6px;background:none;font-family:var(--body);font-size:15px;font-weight:700;color:var(--surface);cursor:pointer}
.pin-toast.fw-toast > button:hover{text-decoration:underline;text-underline-offset:3px}
