/* BlabTab 0.10.155 — editorial directory + public profile.
   Loaded only by these views, instead of the legacy page style stack.
   Shared tokens/cards/buttons remain in blabtab-editorial.css. */
.ed-authors-page {background:var(--ed-bg);overflow-wrap:anywhere}
.ed-authors-page :where(section[id]) {scroll-margin-top:130px}
.ed-authors-page h1 {font-size:clamp(36px,4.4vw,58px);line-height:1.09;letter-spacing:-.045em;font-weight:780}
.ed-authors-page h2 {font-size:clamp(25px,2.65vw,34px);line-height:1.22;letter-spacing:-.038em}
.ed-authors-page .ed-kicker {margin-bottom:12px}
.ed-authors-page .ed-directory-hero {padding:60px 0 50px;background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(115deg,var(--ed-accent-soft),var(--ed-surface) 55%,var(--ed-bg))}
.ed-authors-page .ed-directory-hero-inner {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:64px;align-items:center}
.ed-authors-page .ed-directory-intro h1 {max-width:19ch}
.ed-authors-page .ed-directory-intro h1 span {color:var(--ed-accent)}
.ed-authors-page .ed-directory-lead {max-width:55ch;font-size:17px;line-height:1.75;margin:20px 0 24px}
.ed-authors-page .ed-community-note {position:relative;min-width:0;padding:28px 30px;border:1px solid var(--ed-line);border-radius:24px;background:var(--ed-surface);box-shadow:var(--ed-shadow)}
.ed-authors-page .ed-community-avatars {display:flex;padding-left:0;margin-bottom:20px}
.ed-authors-page .ed-community-avatar {width:60px;height:60px;flex:0 0 60px;border:3px solid var(--ed-surface);font-size:17px;box-shadow:var(--ed-shadow);background:var(--ed-accent-soft);color:var(--ed-ink)}
.ed-authors-page .ed-community-avatar+.ed-community-avatar {margin-left:-14px}
.ed-authors-page .ed-community-avatar:nth-child(3n+2) {background:var(--ed-pink)}
.ed-authors-page .ed-community-avatar:nth-child(3n+3) {background:var(--ed-mint)}
.ed-authors-page .ed-community-count {display:block;color:var(--ed-ink);font-size:22px;font-weight:750;line-height:1.3;letter-spacing:-.03em;margin-bottom:10px}
.ed-authors-page .ed-community-note p {font-size:14px;line-height:1.7}
.ed-authors-page .ed-community-note .ed-text-link {margin-top:10px}
.ed-authors-page .ed-directory-section {padding:48px 0 20px}
.ed-authors-page .ed-authors-section-heading {display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.ed-authors-page .ed-authors-section-heading>div {min-width:0}
.ed-authors-page .ed-authors-section-heading p:not(.ed-kicker) {font-size:14px;margin-top:10px}
.ed-authors-page .ed-directory-total {align-self:center;flex-shrink:0;border:1px solid var(--ed-line);background:var(--ed-surface);padding:8px 14px;border-radius:999px;color:var(--ed-muted);font-size:12px;line-height:1.45}
.ed-authors-page .ed-directory-summary {display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:14px 0 20px;font-size:13px;line-height:1.55;color:var(--ed-muted)}
.ed-authors-page .ed-directory-summary strong {color:var(--ed-ink);font-weight:700}
.ed-authors-page .ed-summary-scope {margin-left:auto;font-size:11px;color:var(--ed-subtle)}
.ed-authors-page .ed-directory-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ed-authors-page .ed-directory-writer {display:flex;flex-direction:column;min-width:0;background:var(--ed-surface);border:1px solid var(--ed-line);border-radius:var(--ed-radius);box-shadow:var(--ed-shadow);transition:box-shadow .16s ease,border-color .16s ease}
.ed-authors-page .ed-directory-writer:hover {border-color:var(--ed-line-strong);box-shadow:var(--ed-shadow-hover)}
.ed-authors-page .ed-directory-writer .ed-writer {border:0;box-shadow:none;flex:1;padding:24px 22px 12px;background:transparent}
.ed-authors-page .ed-directory-writer .ed-writer h3 {font-size:20px;line-height:1.24;margin-top:5px}
.ed-authors-page .ed-directory-writer .ed-writer p {font-size:13px;line-height:1.65}
.ed-authors-page .ed-directory-writer .ed-avatar--writer {width:64px;height:64px;flex-basis:64px;font-size:21px;background:var(--ed-pink)}
.ed-authors-page .ed-directory-writer:nth-child(3n+2) .ed-avatar--writer {background:var(--ed-accent-soft)}
.ed-authors-page .ed-directory-writer:nth-child(3n+3) .ed-avatar--writer {background:var(--ed-mint)}
.ed-authors-page .ed-directory-writer .ed-profile-link {display:inline-flex;align-items:center;min-height:44px;gap:6px;margin-top:8px;font-size:13px}
.ed-authors-page .ed-directory-writer .ed-writer-stats {font-size:12px;line-height:1.5;margin-top:10px}
.ed-authors-page .ed-directory-latest {position:relative;display:block;margin:0 22px 22px;padding:14px 34px 14px 14px;border-radius:var(--ed-radius-small);background:var(--ed-surface-soft);border:1px solid var(--ed-line)}
.ed-authors-page .ed-directory-latest:hover strong {color:var(--ed-accent)}
.ed-authors-page .ed-latest-label {display:block;color:var(--ed-subtle);font-size:10px;letter-spacing:.065em;font-weight:650;text-transform:uppercase;margin-bottom:6px}
.ed-authors-page .ed-directory-latest strong {display:block;font-size:13px;line-height:1.6;font-weight:650;color:var(--ed-ink)}
.ed-authors-page .ed-latest-arrow {position:absolute;right:13px;top:13px;color:var(--ed-accent);font-size:17px}
.ed-authors-page .ed-authors-pagination:has(.pagination) {margin-top:28px}
.ed-authors-page .pagination {display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:22px;border-top:1px solid var(--ed-line);font-size:13px;color:var(--ed-muted)}
.ed-authors-page .pagination>div {display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.ed-authors-page .pagination a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--ed-line);background:var(--ed-surface);color:var(--ed-ink);font-size:13px;font-weight:650;border-radius:999px}
.ed-authors-page .pagination a:hover {background:var(--ed-accent-soft);border-color:var(--ed-line-strong)}
.ed-authors-page .ed-authors-empty {text-align:center;padding:42px 28px;display:flex;flex-direction:column;align-items:center;gap:10px}
.ed-authors-page .ed-authors-empty h3 {margin:8px 0 0}
.ed-authors-page .ed-authors-empty p {margin-bottom:12px}
.ed-authors-page .ed-empty-mark {width:52px;height:54px;border-radius:16px;display:grid;place-items:center;background:var(--ed-accent-soft);color:var(--ed-accent);font-weight:800;font-size:22px}
.ed-authors-page .ed-authors-outro {padding:40px 0 64px}
.ed-authors-page .ed-authors-join {display:flex;justify-content:space-between;align-items:center;gap:32px;padding:34px 38px;border:1px solid var(--ed-line);border-radius:24px;background:linear-gradient(105deg,var(--ed-accent-soft),var(--ed-surface) 74%)}
.ed-authors-page .ed-authors-join>div {min-width:0}
.ed-authors-page .ed-authors-join h2 {font-size:clamp(25px,2.25vw,30px)}
.ed-authors-page .ed-authors-join p:not(.ed-kicker) {font-size:14px;margin-top:10px}
.ed-authors-page .ed-authors-join .ed-actions {flex-shrink:0}
/* Profile: cover, writer identity, follow controls, and a full-width article archive. */
.ed-authors-page .ed-profile-hero {padding:22px 0 0;background:var(--ed-surface)}
.ed-authors-page .ed-back-authors {margin-bottom:14px;font-size:13px}
.ed-authors-page .ed-profile-cover {position:relative;height:180px;overflow:hidden;border-radius:26px;background:linear-gradient(115deg,var(--ed-accent-soft),var(--ed-surface-soft) 54%,var(--ed-mint));border:1px solid var(--ed-line);isolation:isolate}
.ed-authors-page .ed-profile-cover>span {position:absolute;right:34px;top:28px;font-size:13px;letter-spacing:.025em;color:var(--ed-muted);z-index:1}
.ed-authors-page .ed-profile-cover i {position:absolute;right:110px;bottom:-100px;width:370px;height:200px;border:1px solid var(--ed-line-strong);border-radius:120px;transform:rotate(-27deg);background:var(--ed-pink);opacity:.55}
.ed-authors-page .ed-profile-cover i:nth-of-type(2) {right:-24px;bottom:-48px;background:var(--ed-accent-soft);transform:rotate(-45deg)}
.ed-authors-page .ed-profile-cover i:nth-of-type(3) {right:270px;bottom:-100px;background:transparent;transform:rotate(-40deg)}
.ed-authors-page .ed-profile-identity {position:relative;display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:24px;margin: -35px 34px 0;padding-top:0}
.ed-authors-page .ed-profile-avatar {align-self:start;width:112px;height:112px;border:5px solid var(--ed-surface);background:var(--ed-pink);font-size:36px;color:var(--ed-ink);box-shadow:var(--ed-shadow);z-index:1}
.ed-authors-page .ed-profile-name-block {padding-top:58px;min-width:0}
.ed-authors-page .ed-profile-name-block h1 {font-size:clamp(32px,3.5vw,46px);margin:8px 0 10px;line-height:1.13}
.ed-authors-page .ed-profile-name-block .ed-kicker {margin:0;font-size:10px}
.ed-authors-page .ed-profile-headline {font-size:16px;line-height:1.65}
.ed-authors-page .ed-profile-actions {padding-top:57px;gap:10px;align-self:start;max-width:340px;justify-content:flex-end}
.ed-authors-page .ed-profile-actions form {margin:0;min-width:0}
.ed-authors-page .ed-profile-actions .ed-button {font-size:13px}
.ed-authors-page .ed-profile-about {margin:20px 34px 0 170px;padding-bottom:26px}
.ed-authors-page .ed-profile-bio {max-width:80ch;font-size:15px;line-height:1.8;white-space:pre-line}
.ed-authors-page .ed-profile-stats {display:flex;flex-wrap:wrap;gap:16px 30px;margin-top:22px}
.ed-authors-page .ed-profile-stats>div {display:flex;flex-direction:column-reverse;gap:4px;max-width:100%;min-width:60px}
.ed-authors-page .ed-profile-stats dd {font-size:19px;line-height:1.35;font-weight:750;color:var(--ed-ink)}
.ed-authors-page .ed-profile-stats dt {font-size:12px;color:var(--ed-subtle);line-height:1.5}
.ed-authors-page .ed-profile-stats .ed-profile-location dd {font-size:15px}
.ed-authors-page .ed-profile-social {display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:16px}
.ed-authors-page .ed-profile-social a {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:40px;padding:8px 12px;font-size:12px;color:var(--ed-muted);background:var(--ed-surface);border:1px solid var(--ed-line);border-radius:999px}
.ed-authors-page .ed-profile-social a:hover {color:var(--ed-accent);border-color:var(--ed-line-strong);background:var(--ed-surface-soft)}
.ed-authors-page .ed-profile-topics {display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--ed-line);padding:20px 0}
.ed-authors-page .ed-profile-topics>div {display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}
.ed-authors-page .ed-profile-topics-label {font-size:12px;font-weight:650;color:var(--ed-muted);flex-shrink:0}
.ed-authors-page .ed-profile-topic-list {display:flex;flex-wrap:wrap;gap:7px;min-width:0}
.ed-authors-page .ed-profile-topic {display:inline-block;max-width:100%;padding:5px 11px;border-radius:999px;font-size:12px;line-height:1.5;background:var(--ed-surface-soft);border:1px solid var(--ed-line);color:var(--ed-muted)}
.ed-authors-page .ed-profile-topics>p {font-size:12px;line-height:1.55;flex:0 1 260px}
.ed-authors-page .ed-profile-topics>p strong {font-weight:600;color:var(--ed-ink)}
.ed-authors-page .ed-profile-archive {padding:44px 0 20px;border-top:1px solid var(--ed-line)}
.ed-authors-page .ed-profile-article-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ed-authors-page .ed-profile-article-grid .ed-story {height:100%}
.ed-authors-page .ed-profile-article-grid .ed-story-media {aspect-ratio:1.8}
@media(max-width:1100px){
.ed-authors-page .ed-directory-hero-inner {gap:36px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.ed-authors-page .ed-directory-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.ed-authors-page .ed-profile-identity {grid-template-columns:100px minmax(0,1fr);margin-inline:26px;gap:20px}
.ed-authors-page .ed-profile-avatar {width:100px;height:100px;grid-row:1/span 2}
.ed-authors-page .ed-profile-actions {grid-column:2;padding-top:0;justify-content:flex-start;max-width:none}
.ed-authors-page .ed-profile-about {margin-left:146px;margin-right:26px}
.ed-authors-page .ed-authors-join {align-items:flex-start;flex-direction:column;gap:22px}
}
@media(max-width:860px){
.ed-authors-page .ed-directory-hero {padding:40px 0}
.ed-authors-page .ed-directory-hero-inner {grid-template-columns:1fr;gap:28px}
.ed-authors-page .ed-directory-intro h1 {max-width:21ch}
.ed-authors-page .ed-community-note {max-width:620px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 24px;padding:24px}
.ed-authors-page .ed-community-avatars {grid-column:1;grid-row:1/span 2;margin:0;align-self:center}
.ed-authors-page .ed-community-avatar {width:46px;height:46px;flex-basis:46px;font-size:14px}
.ed-authors-page .ed-community-avatar+.ed-community-avatar {margin-left:-15px}
.ed-authors-page .ed-community-count,.ed-authors-page .ed-community-note p,.ed-authors-page .ed-community-note .ed-text-link {grid-column:2}
.ed-authors-page .ed-community-count {font-size:20px}
.ed-authors-page .ed-profile-cover {height:150px}
.ed-authors-page .ed-profile-article-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ed-authors-page .ed-profile-topics {align-items:flex-start;flex-direction:column;gap:10px}
.ed-authors-page .ed-profile-topics>p {flex:auto}
}
@media(max-width:600px){
.ed-authors-page .ed-directory-hero {padding:32px 0}
.ed-authors-page .ed-directory-hero-inner {gap:24px}
.ed-authors-page .ed-directory-lead {font-size:16px;line-height:1.7;margin:16px 0 20px}
.ed-authors-page .ed-community-note {display:block;padding:24px}
.ed-authors-page .ed-community-avatars {margin-bottom:16px}
.ed-authors-page .ed-community-avatar {width:50px;height:50px;flex-basis:50px}
.ed-authors-page .ed-directory-section {padding-top:32px}
.ed-authors-page .ed-authors-section-heading {flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:18px}
.ed-authors-page .ed-directory-total {align-self:flex-start}
.ed-authors-page .ed-directory-summary {gap:8px 16px;padding-top:0}
.ed-authors-page .ed-summary-scope {margin-left:0;width:100%}
.ed-authors-page .ed-directory-grid,.ed-authors-page .ed-profile-article-grid {grid-template-columns:1fr;gap:18px}
.ed-authors-page .ed-directory-writer .ed-writer {padding:22px 18px 10px;gap:14px}
.ed-authors-page .ed-directory-writer .ed-avatar--writer {width:56px;height:56px;flex-basis:56px;font-size:18px}
.ed-authors-page .ed-directory-latest {margin:0 18px 18px}
.ed-authors-page .pagination {flex-direction:column;align-items:flex-start;gap:14px}
.ed-authors-page .pagination>div {gap:10px}
.ed-authors-page .ed-authors-join {padding:26px 24px}
.ed-authors-page .ed-authors-outro {padding:30px 0 40px}
.ed-authors-page .ed-authors-join .ed-actions {flex-shrink:1;gap:10px}
.ed-authors-page .ed-profile-hero {padding-top:12px}
.ed-authors-page .ed-profile-cover {height:125px;border-radius:20px}
.ed-authors-page .ed-profile-cover>span {right:20px;top:22px;font-size:11px}
.ed-authors-page .ed-profile-identity {display:flex;flex-wrap:wrap;margin:-36px 16px 0;gap:16px}
.ed-authors-page .ed-profile-avatar {width:92px;height:92px;flex-basis:92px;font-size:29px}
.ed-authors-page .ed-profile-name-block {padding-top:0;width:100%}
.ed-authors-page .ed-profile-name-block h1 {font-size:clamp(30px,8.5vw,42px);margin-top:10px}
.ed-authors-page .ed-profile-headline {font-size:15px}
.ed-authors-page .ed-profile-actions {padding:0;gap:10px;justify-content:flex-start;width:100%}
.ed-authors-page .ed-profile-about {margin:20px 16px 0;padding-bottom:24px}
.ed-authors-page .ed-profile-bio {font-size:14px}
.ed-authors-page .ed-profile-stats {gap:16px 26px;margin-top:20px}
.ed-authors-page .ed-profile-social a {min-height:44px}
.ed-authors-page .ed-profile-archive {padding-top:32px}
.ed-authors-page .ed-profile-topics {padding-block:18px}
}
@media(prefers-reduced-motion:reduce){.ed-authors-page * {transition:none!important}}
/* Keep the image-link focus ring inside its clipped card, and category links tappable. */
.ed-authors-page .ed-story-media:focus-visible {outline-offset:-5px}
.ed-authors-page .ed-story a.ed-tag {min-height:28px;align-items:center}

/* v0.10.174 — seamless hero fade on public detail routes. */
.ed-authors-page.ed-profile-page .ed-profile-hero{background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(120deg,var(--ed-accent-soft),var(--ed-surface) 55%,var(--ed-bg))}
:root[data-theme="dark"] .ed-authors-page.ed-profile-page .ed-profile-hero{background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(120deg,color-mix(in srgb,var(--ed-accent-soft) 78%,var(--ed-bg)),var(--ed-surface) 55%,var(--ed-bg))}
@media(prefers-color-scheme:dark){:root[data-theme="system"] .ed-authors-page.ed-profile-page .ed-profile-hero{background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(120deg,color-mix(in srgb,var(--ed-accent-soft) 78%,var(--ed-bg)),var(--ed-surface) 55%,var(--ed-bg))}}
