/* Approved mixed creative/SNS home. Keep reader, editor and account layouts scoped. */
.platform-shell .content-type-badge,
.platform-shell .discovery-novel-flags>.content-type-badge {
 display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;
 min-height:28px;padding:4px 8px;border:0;border-radius:7px;background:#f3f3f6;
 color:#626273;font:500 12px/20px var(--sans);white-space:nowrap;vertical-align:middle;
}
.platform-shell .content-type-badge .content-age-badge {
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;
 width:18px;height:18px;border:1.5px solid #df3446;border-radius:50%;padding:0;
 background:transparent;color:#cc293c;font:700 10px/1 var(--sans);letter-spacing:-.04em;
}
.platform-shell .feed-kind {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.platform-shell .feed-card .post-card-main>.feed-kind {margin-left:0;margin-bottom:10px}
.platform-shell .series-update-badge {
 display:inline-flex;align-items:center;vertical-align:middle;white-space:nowrap;
 margin:0 0 2px 12px;padding:4px 8px;border:1px solid #d9c9fa;border-radius:7px;
 background:#fbf9ff;color:#7436df;font:550 12px/18px var(--sans);letter-spacing:-.02em;
}
/* Keep each series update beside its title, including wrapped titles. */
.platform-shell .feed-card.novel-card .feed-card-copy>h2,
.platform-shell .discovery-novel-copy>h2 {
 display:flex;flex-wrap:nowrap;align-items:baseline;gap:8px;min-width:0;
}
.platform-shell .feed-card.novel-card .feed-card-copy>h2>a,
.platform-shell .discovery-novel-copy>h2>a {
 flex:0 1 auto;min-width:0;width:auto;white-space:normal;overflow-wrap:anywhere;
}
.platform-shell .feed-card.novel-card .feed-card-copy>h2>.series-update-badge,
.platform-shell .discovery-novel-copy>h2>.series-update-badge {
 flex:none;margin:0;
}
.platform-shell .feed-work-link {font-size:13px;color:var(--ui-text);white-space:nowrap}
.platform-shell .feed-work-link:hover {color:var(--ui-purple)}
.platform-shell .discovery-post>.discovery-post-kind {margin-left:0}

.platform-shell.social-home-shell {
 --navigation-width:204px;--platform-header-height:78px;
 --browse-max-width:1440px;--browse-gutter:40px;--browse-column-gap:36px;--browse-aside-width:280px;
 background:#fff;
}
.platform-shell.social-home-shell.sidebar-collapsed {--navigation-width:80px}
.social-home-shell.sidebar-collapsed .desktop-navigation nav>a.active::before {left:0}
.social-home-shell.sidebar-collapsed .desktop-navigation nav>a[href="#/compose"] {flex-direction:column}
.social-home-shell .platform-content>.page.browse-page {padding-top:28px}
.social-home-shell .header .header-inner {padding-inline:28px;gap:24px}
.social-home-shell .header-identity {min-width:154px}
.social-home-shell .header .header-search {max-width:480px;margin-inline:auto}
.social-home-shell .header-search input {height:44px;background:#f4f4f7}
.social-home-shell .header .login-button {border-radius:9px;background:#17181c;border-color:#17181c;color:#fff;padding:10px 20px;font-size:13px}
.social-home-shell .header .profile-trigger:has(.guest-avatar) {display:none}
.social-home-shell .desktop-navigation {padding:24px 24px 20px}
.social-home-shell .desktop-navigation nav {gap:8px}
.social-home-shell .desktop-navigation nav>a {position:relative;min-height:46px;padding:10px 8px;font-size:14px;gap:15px;border-radius:8px}
.social-home-shell .desktop-navigation nav>a.active {background:transparent;color:#14151b;font-weight:750}
.social-home-shell .desktop-navigation nav>a.active::before {content:"";position:absolute;left:-12px;width:6px;height:6px;border-radius:50%;background:var(--ui-purple)}
.social-home-shell .desktop-navigation nav>a[href="#/compose"] {margin-top:26px;background:#191a1f;color:#fff;border-radius:9px;flex-direction:row-reverse;gap:10px}
.social-home-shell .desktop-navigation nav>a[href="#/compose"] svg {color:#a56bff}
.social-home-shell .desktop-navigation nav>a[href="#/compose"]:hover {background:#323039}
.social-home-shell .desktop-navigation .navigation-more {font-size:12px;color:var(--ui-muted)}
.social-home-shell .desktop-navigation .feed-left-bottom {padding-inline:8px}

.platform-shell .social-home .home-feed-toolbar {
 display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;
 padding:0 0 16px;margin:0;border-bottom:1px solid var(--ui-line);
}
.platform-shell .social-home .home-feed-toolbar h1 {font:750 25px/1.3 var(--sans);letter-spacing:-.05em;margin:0}
.social-home .home-feed-controls {display:flex;align-items:center;gap:14px;flex:none}
.social-home .home-feed-order {display:inline-flex;align-items:center;gap:9px;color:#666477;font-size:13px}
.social-home .home-display-settings {position:relative;min-height:36px;min-width:36px}
.social-home .home-display-settings::before {content:"";position:absolute;left:-8px;height:18px;border-left:1px solid var(--ui-line)}
.social-home .home-active-filter {display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 0;font-size:12px;color:var(--ui-muted);border-bottom:1px solid var(--ui-line)}
.social-home .home-active-filter a {display:inline-flex;align-items:center;gap:5px;color:var(--ui-purple)}
.platform-shell .social-home .feed-list {gap:0}
.platform-shell .social-home .feed-card.post-card,.platform-shell .social-home .feed-card.novel-card {
 padding:22px 0 18px;margin:0;background:transparent;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;box-shadow:none;
}
.platform-shell .social-home .post-card .post-card-main>:is(.feed-kind,h2,.feed-excerpt,.feed-tag-row,.post-image) {margin-left:0}
.platform-shell .social-home .feed-card .feed-kind {margin-bottom:10px;font-size:12px;color:var(--ui-muted)}
.platform-shell .social-home .feed-card.post-card .feed-author {margin:0 0 14px;min-height:38px;gap:10px}
.platform-shell .social-home .feed-card.post-card .feed-author strong {font-size:14px}
.platform-shell .social-home .feed-card.post-card .feed-author .avatar {width:38px;height:38px}
.platform-shell .social-home .feed-follow {min-height:32px;padding:5px 12px;border:1px solid #c5a3ff;border-radius:7px;font-size:12px;font-weight:550}
.platform-shell .social-home .feed-follow.following {border-color:var(--ui-line)}
.platform-shell .social-home .feed-card h2 {margin:0 0 9px;font-size:22px;font-weight:750;line-height:1.45;letter-spacing:-.045em;overflow-wrap:anywhere}
.platform-shell .social-home .feed-card .feed-excerpt {font-size:14px;line-height:1.85;white-space:normal;-webkit-line-clamp:3;color:#565365}
.platform-shell .social-home .feed-card .feed-tag-row {margin-top:12px}
.platform-shell .social-home .feed-tags>a {font-size:12px;color:#777286}
.platform-shell .social-home .feed-card .feed-actions {border:0;padding:0;margin-top:15px;gap:20px;color:#656074;flex-wrap:wrap}
.platform-shell .social-home .feed-card .feed-actions>button,.platform-shell .social-home .feed-card .feed-actions>a {min-height:36px}
.platform-shell .social-home .feed-card .feed-reading-count {margin-left:auto}
.platform-shell .social-home .feed-card .novel-card-main {grid-template-columns:144px minmax(0,1fr);gap:26px}
.platform-shell .social-home .feed-card .novel-cover {width:144px;aspect-ratio:2/3;border-radius:8px;overflow:hidden}
.platform-shell .social-home .feed-card .novel-cover img {object-fit:contain}
.platform-shell .social-home .novel-card .feed-author {margin:0 0 10px;gap:8px}
.platform-shell .social-home .novel-card .feed-author strong {font-size:13px;font-weight:600;color:var(--ui-ink)}
.platform-shell .social-home .feed-episode-info {margin-top:12px;gap:12px;font-size:12px}
.platform-shell .social-home .feed-reading-links {margin-top:12px;gap:18px}
.platform-shell .social-home .feed-read-button {padding:4px 0;min-height:32px;border-radius:0;background:transparent;font-size:14px;font-weight:550;color:var(--ui-purple)}
.platform-shell .social-home .feed-read-button:hover {background:transparent;text-decoration:underline;text-underline-offset:4px}
.platform-shell .social-home .feed-work-link {border-left:1px solid var(--ui-line);padding-left:18px}
.platform-shell .social-home .feed-reading-links .feed-latest {flex-basis:100%;padding:0;font-size:12px;min-width:0}
.platform-shell .social-home .feed-published {font-size:11px;margin-top:8px;color:var(--ui-muted)}
.platform-shell .social-home .feed-end {margin:28px 0;font-size:12px;color:var(--ui-muted)}

.platform-shell .social-home .dam-right {border-left:1px solid var(--ui-line);padding:2px 0 0 28px;min-width:0}
.platform-shell .social-home .feed-side-section {padding:10px 0 24px;margin-bottom:24px}
.platform-shell .social-home .feed-side-heading h2 {font-size:14px}
.platform-shell .social-home .feed-side-tags {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-top:14px}
.platform-shell .social-home .feed-side-tags>a {background:transparent;border-radius:0;min-height:34px;padding:5px 0;font-size:13px;font-weight:400;color:#686176}
.platform-shell .social-home .feed-side-tags>a:hover {color:var(--ui-purple)}
.platform-shell .social-home .feed-side-section.reader-shelf {background:#f6f5f8;border:0;border-radius:10px;padding:22px 20px;margin:0 0 24px}
.social-home .reader-shelf-head {gap:8px}
.social-home .reader-shelf-head h2 {font-size:17px}
.social-home .reader-shelf-description {font-size:12px;line-height:1.7;color:var(--ui-muted);margin:10px 0 12px}
.platform-shell .social-home .reader-shelf-login {display:inline-flex;align-items:center;justify-content:flex-start;width:auto;gap:8px;background:transparent;color:var(--ui-purple);border:0;border-radius:5px;min-height:36px;padding:0;font-size:13px;font-weight:600}
.platform-shell .social-home .reader-shortcuts {margin-top:8px}
.social-home .feed-side-utilities {display:flex;flex-direction:column;border-top:1px solid var(--ui-line);padding:16px 0;margin-bottom:20px}
.social-home .feed-side-utilities button {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 0;color:#686176;font-size:13px;text-align:left;background:transparent}
.social-home .feed-side-utilities button:hover {color:var(--ui-purple)}

@media(min-width:1241px) {
 .platform-shell.social-home-shell .browse-page>.social-home {display:grid;grid-template-columns:minmax(0,1fr) var(--browse-aside-width);gap:var(--browse-column-gap)}
}
@media(min-width:761px) and (max-width:1240px) {
 .platform-shell.social-home-shell {--browse-gutter:28px}
 .platform-shell .social-home {max-width:900px;margin-inline:auto}
}
@media(max-width:760px) {
 .platform-shell.social-home-shell {--platform-header-height:60px;--browse-gutter:18px}
 .social-home-shell .header .header-inner {padding-inline:10px;gap:8px}
 .social-home-shell .header-identity {min-width:0}
 .social-home-shell .header .login-button {padding:8px 12px;min-height:36px;font-size:12px}
 .social-home-shell .platform-content>.page.browse-page {padding-top:20px}
 .platform-shell .social-home .home-feed-toolbar {padding-bottom:12px;min-height:44px}
 .platform-shell .social-home .home-feed-toolbar h1 {font-size:23px}
 .social-home .home-display-settings {min-width:44px;min-height:44px}
 .platform-shell .social-home .feed-card.post-card,.platform-shell .social-home .feed-card.novel-card {padding:20px 0}
 .platform-shell .social-home .feed-card h2 {font-size:19px;line-height:1.5}
 .platform-shell .social-home .feed-card .feed-author {flex-wrap:wrap}
 .platform-shell .social-home .feed-card.post-card .feed-author .avatar {width:34px;height:34px}
 .platform-shell .social-home .feed-card.post-card .feed-author strong {max-width:130px;font-size:13px}
 .platform-shell .social-home .feed-card .novel-card-main {grid-template-columns:92px minmax(0,1fr);gap:16px}
 .platform-shell .social-home .feed-card .novel-cover {width:92px}
 .platform-shell .series-update-badge {font-size:10px;line-height:16px;margin-left:7px;padding:3px 6px}
 .platform-shell .social-home .feed-card .feed-actions {gap:14px}
 .platform-shell .social-home .feed-card .feed-actions>button,.platform-shell .social-home .feed-card .feed-actions>a,.platform-shell .social-home .feed-read-button,.platform-shell .social-home .feed-follow {min-height:44px}
 .platform-shell .social-home .feed-reading-links {gap:8px 14px}
 .platform-shell .social-home .feed-work-link {padding-left:14px;font-size:12px}
 .platform-shell .social-home .feed-card .feed-reading-count {font-size:10px}
}
@media(max-width:380px) {
 .platform-shell .social-home .feed-card .novel-card-main {grid-template-columns:76px minmax(0,1fr);gap:12px}
 .platform-shell .social-home .feed-card .novel-cover {width:76px}
 .platform-shell .social-home .feed-card .feed-actions {gap:10px}
 .platform-shell .social-home .feed-card .feed-reading-count {width:100%;order:2;margin-left:0}
}

/* Shared post/series metadata and reading actions across all catalog pages. */
.platform-shell .content-meta {
 display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;
}
.platform-shell .content-meta .ai-badge,
.platform-shell .content-meta .ai-badge.used {
 display:inline-flex;align-items:center;flex:none;margin:0;padding:0;border:0;border-radius:0;
 background:transparent;color:#817b8c;font:400 12px/20px var(--sans);white-space:nowrap;
}
.platform-shell .content-meta .feed-series-status {font-size:12px;color:#817b8c}
.platform-shell .content-taxonomy {
 display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;min-width:0;
 margin:12px 0 0;font-size:12px;line-height:1.8;color:#777286;
}
.platform-shell .feed-tag-row>.content-taxonomy,
.platform-shell .discovery-post-tags>.content-taxonomy {margin-top:0}
.platform-shell .content-taxonomy a {
 display:inline;padding:0;border:0;border-radius:0;background:transparent;color:inherit;
 max-width:100%;overflow-wrap:anywhere;
}
.platform-shell .content-taxonomy .content-category {font-weight:600;color:#62596f}
.platform-shell .content-taxonomy a:hover {color:var(--ui-purple);text-decoration:underline;text-underline-offset:3px}
.platform-shell .taxonomy-separator {color:#c8c4ce}
.platform-shell .content-tags {display:flex;flex-wrap:wrap;gap:4px 10px;min-width:0}
.platform-shell .feed-follow {
 display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;
 min-height:32px;padding:5px 12px;border:1px solid #c5a3ff;border-radius:7px;
 background:transparent;color:var(--ui-purple);font-size:12px;font-weight:550;
}
.platform-shell .feed-follow.following {border-color:var(--ui-line);color:#777286}
.platform-shell .feed-author>.feed-follow,
.platform-shell .discovery-post-meta>.feed-follow,
.platform-shell .discovery-novel-meta>.feed-follow,
.platform-shell .discovery-novel-meta>.feed-edit {margin-left:auto}
.platform-shell .discovery-novel-copy {min-width:0}
.platform-shell .discovery-list>.discovery-novel {display:block}
.platform-shell .discovery-novel-main {display:grid;grid-template-columns:96px minmax(0,1fr);gap:20px;align-items:start;min-width:0}
.platform-shell .discovery-novel-meta {display:flex;align-items:center;gap:12px;margin:8px 0 12px}
.platform-shell .discovery-novel-meta .discovery-author {display:flex;align-items:center;min-width:0}
.platform-shell .discovery-novel-access {display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:12px;color:var(--ui-muted)}
.platform-shell .series-reading-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-top:16px}
.platform-shell .series-reading-actions>.series-read-primary {
 display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;
 min-height:40px;padding:9px 16px;border:0;border-radius:8px;
 background:#873bee;color:#fff;font-size:13px;font-weight:650;line-height:20px;white-space:nowrap;
}
.platform-shell .series-reading-actions>.series-read-primary:hover {background:#7327d4;color:#fff;text-decoration:none}
.platform-shell .series-reading-actions>:is(.series-read-first,.series-read-resume) {
 display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0;
 font-size:12px;font-weight:400;color:#777286;white-space:nowrap;
}
.platform-shell .series-reading-actions>:is(.series-read-first,.series-read-resume):hover {color:var(--ui-purple);text-decoration:underline;text-underline-offset:3px}
.platform-shell .series-reading-actions>.feed-latest {display:flex;align-items:center;flex-basis:100%;min-width:0;gap:8px;padding:0;font-size:12px;color:#817b8c}
.platform-shell .series-reading-actions>.feed-latest>strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.platform-shell .series-reading-actions>.feed-latest>span {flex:none}
.platform-shell .discovery-filter-row>strong {min-width:70px;flex:none}
@media(max-width:760px) {
 .platform-shell .content-meta .ai-badge,
 .platform-shell .content-meta .ai-badge.used {font-size:11px}
 .platform-shell .content-taxonomy {font-size:11px;gap:4px 7px}
 .platform-shell .series-reading-actions>:is(.series-read-first,.series-read-resume),
 .platform-shell .feed-follow {min-height:44px}

 /* The author is above the cover/title row; body and actions use the full card. */
 .platform-shell .feed-card.novel-card .novel-card-main,
 .platform-shell .discovery-novel-main {
  grid-template-columns:72px minmax(0,1fr);gap:0 14px;align-items:start;
 }
 .platform-shell .feed-card.novel-card .feed-card-copy,
 .platform-shell .discovery-novel-main>.discovery-novel-copy {display:contents}
 .platform-shell .feed-card.novel-card .feed-card-copy>*,
 .platform-shell .discovery-novel-copy>* {grid-column:1/-1;min-width:0}
 .platform-shell .feed-card.novel-card .novel-cover,
 .platform-shell .discovery-novel-main>.discovery-novel-cover {
  grid-column:1;grid-row:1;width:72px;height:108px;align-self:start;
 }
 .platform-shell .feed-card.novel-card .feed-card-copy>h2,
 .platform-shell .discovery-novel-copy>h2 {
  grid-column:2;grid-row:1;display:block;align-self:center;margin:0;font-size:19px;line-height:1.5;
 }
 .platform-shell .feed-card.novel-card .feed-card-copy>h2>a,
 .platform-shell .discovery-novel-copy>h2>a {display:inline;overflow-wrap:anywhere}
 .platform-shell .feed-card.novel-card .feed-card-copy>h2>.series-update-badge,
 .platform-shell .discovery-novel-copy>h2>.series-update-badge {margin:0 0 2px 7px;vertical-align:baseline}
 .platform-shell .discovery-novel-flags>.discovery-bookmark {display:grid;place-items:center;min-width:44px;min-height:44px;padding:0}
 .platform-shell .feed-card.novel-card .feed-card-copy>.feed-excerpt,
 .platform-shell .discovery-novel-copy>.discovery-novel-description {margin:14px 0 0;font-size:14px;line-height:1.8;-webkit-line-clamp:3}
 .platform-shell .feed-card.novel-card .feed-card-copy>.feed-tag-row,
 .platform-shell .discovery-novel-copy>.content-taxonomy {margin:10px 0 0}
 .platform-shell .feed-card.novel-card .feed-card-copy>.feed-episode-info,
 .platform-shell .discovery-novel-copy>.discovery-novel-access {margin-top:10px;gap:6px 12px;font-size:11px}
 .platform-shell .feed-card .series-reading-actions,
 .platform-shell .discovery-novel .series-reading-actions {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:14px;
 }
 .platform-shell .series-reading-actions>.series-read-primary {grid-column:1/-1;min-height:46px;padding:10px 13px}
 .platform-shell .series-reading-actions>:is(.series-read-first,.series-read-resume) {justify-content:center}
 .platform-shell .series-reading-actions:not(:has(.series-read-resume))>.series-read-first {grid-column:1/-1}
 .platform-shell .series-reading-actions>.feed-latest {grid-column:1/-1;width:100%;min-height:32px;margin:0;padding:0}
 .platform-shell .series-reading-actions>.feed-latest>strong {min-width:0}
 .platform-shell .discovery-novel-copy>.discovery-novel-bottom {gap:4px 12px;margin-top:8px;font-size:11px}

 /* Long names yield space to the follow control instead of moving it to another row. */
 .platform-shell .feed-card.post-card .feed-author,
 .platform-shell .discovery-post .discovery-post-meta {flex-wrap:nowrap;min-width:0;gap:8px}
 .platform-shell .feed-card.post-card .feed-author>a:first-child,
 .platform-shell .discovery-post-meta>.discovery-author {flex:1;min-width:0}
 .platform-shell .feed-card.post-card .feed-author>a:first-child {gap:8px}
 .platform-shell .feed-card.post-card .feed-author strong {min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .platform-shell .feed-card.post-card .feed-author>span {display:none}
 .platform-shell .feed-card.post-card .feed-author>time {flex:none;white-space:nowrap}
 .platform-shell .discovery-post .discovery-author>a {max-width:100%}
 .platform-shell .discovery-post .discovery-author>span {white-space:nowrap}
 .platform-shell .feed-card.post-card .feed-follow,
 .platform-shell .discovery-post-meta>.feed-follow {padding-inline:9px;font-size:11px;white-space:nowrap}

 /* Leave the filter track full width for touch scrolling. */
 .platform-shell .discovery-filter-row {display:block;min-width:0}
 .platform-shell .discovery-filter-row+.discovery-filter-row {margin-top:12px}
 .platform-shell .discovery-filter-row>strong {display:block;width:auto;min-width:0;padding:0;margin-bottom:4px;font-size:11px}
 .platform-shell .discovery-filter-row>.chip-scroller {width:100%;max-width:100%;min-width:0}
 .platform-shell .discovery-filter-row>.chip-scroller>button {display:none}
 .platform-shell .discovery-filter-row .chip-scroll-track {gap:6px;padding:0}
 .platform-shell .discovery-filter-row nav>a {min-height:44px;display:inline-flex;align-items:center}
 .platform-shell .discovery-status-row>nav {width:fit-content;max-width:100%;flex-wrap:wrap}
}

/* One author row for posts and series on every listing surface. */
.platform-shell :is(.feed-card.post-card,.feed-card.novel-card,.discovery-post,.discovery-novel) .feed-author.content-author {
 display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-width:0;min-height:38px;margin:0 0 14px;
}
.platform-shell .content-author>.content-author-identity {display:flex;align-items:center;gap:10px;flex:1;min-width:0;color:var(--ui-ink)}
.platform-shell :is(.feed-card.post-card,.feed-card.novel-card,.discovery-post,.discovery-novel) .content-author strong {
 min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;
}
.platform-shell :is(.feed-card.post-card,.feed-card.novel-card,.discovery-post,.discovery-novel) .content-author .avatar {width:38px;height:38px;flex:none;font-size:14px}
.platform-shell .content-author>time {flex:none;margin:0;white-space:nowrap;color:var(--ui-muted);font-size:12px}
.platform-shell .content-author>:is(.feed-follow,.feed-edit) {flex:none;margin-left:0;white-space:nowrap}
.platform-shell .content-author>.feed-edit {display:inline-flex;align-items:center;min-height:38px;color:var(--ui-muted);font-size:12px}

/* Public photos follow the text, retain their aspect ratio and never upscale. */
.platform-shell .post-card .post-card-main>:is(h2,.feed-excerpt,.feed-tag-row,.post-image),
.platform-shell .discovery-post>:is(.discovery-post-body,.discovery-post-tags,.discovery-post-image) {margin-left:0}
.platform-shell .feed-card.post-card .post-image,
.platform-shell .discovery-list>.discovery-post>.discovery-post-image {
 display:block;float:none;grid-area:auto;width:var(--post-preview-width,fit-content);max-width:100%;
 height:auto;min-height:0;max-height:none;aspect-ratio:auto;margin:14px 0 0;padding:0;
 border-radius:9px;background:transparent;overflow:hidden;
}
.platform-shell .feed-card.post-card .post-image img,
.platform-shell .discovery-post .discovery-post-image img {
 display:block;width:auto;max-width:100%;height:auto;max-height:453px;aspect-ratio:auto;
 object-fit:contain;background:transparent;margin:0;border-radius:9px;
}
.platform-shell .feed-card.post-card .post-image[hidden],
.platform-shell .discovery-list>.discovery-post>.discovery-post-image[hidden] {display:none}
@media(max-width:760px) {
 .platform-shell :is(.feed-card.post-card,.feed-card.novel-card,.discovery-post,.discovery-novel) .feed-author.content-author {gap:8px;min-height:44px;margin-bottom:14px}
 .platform-shell .content-author>.content-author-identity {gap:8px}
 .platform-shell :is(.feed-card.post-card,.feed-card.novel-card,.discovery-post,.discovery-novel) .content-author strong {font-size:13px}
 .platform-shell :is(.feed-card.post-card,.feed-card.novel-card,.discovery-post,.discovery-novel) .content-author .avatar {width:34px;height:34px;font-size:13px}
 .platform-shell .content-author>time {font-size:11px}
 .platform-shell .content-author>:is(.feed-follow,.feed-edit) {min-height:44px}
 .platform-shell .content-author>.feed-follow {padding-inline:9px;font-size:11px}
 .platform-shell .feed-card.post-card .post-image,
 .platform-shell .discovery-list>.discovery-post>.discovery-post-image {width:var(--post-preview-mobile-width,var(--post-preview-width,fit-content))}
 .platform-shell .feed-card.post-card .post-image img,
 .platform-shell .discovery-post .discovery-post-image img {max-height:360px}
}


/* Series feeds: keep author information across the full row, while the title
   and story summary start at the same left edge as ordinary posts. */
.platform-shell .feed-card.novel-card .novel-card-main,
.platform-shell .discovery-novel .discovery-novel-main {
 display:grid;grid-template-columns:minmax(0,1fr) 116px;column-gap:24px;
 align-items:start;min-width:0;
}
.platform-shell .feed-card.novel-card .novel-card-main>.novel-cover,
.platform-shell .discovery-novel .discovery-novel-main>.discovery-novel-cover {
 grid-column:2;grid-row:1;display:block;width:116px;height:auto;
 aspect-ratio:2/3;justify-self:end;border-radius:8px;overflow:hidden;
}
.platform-shell .feed-card.novel-card .novel-card-main>.feed-card-copy,
.platform-shell .discovery-novel .discovery-novel-main>.discovery-novel-copy {
 grid-column:1;grid-row:1;display:block;min-width:0;
}
.platform-shell .feed-card.novel-card .feed-card-copy>h2,
.platform-shell .discovery-novel-copy>h2 {
 display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px;
 min-width:0;overflow-wrap:anywhere;
}
@media(max-width:760px) {
 .platform-shell .feed-card.novel-card .novel-card-main,
 .platform-shell .discovery-novel .discovery-novel-main {
  grid-template-columns:minmax(0,1fr) 86px;column-gap:14px;
 }
 .platform-shell .feed-card.novel-card .novel-card-main>.novel-cover,
 .platform-shell .discovery-novel .discovery-novel-main>.discovery-novel-cover {
  grid-column:2;grid-row:1;width:86px;height:auto;aspect-ratio:2/3;
 }
 .platform-shell .feed-card.novel-card .novel-card-main>.feed-card-copy,
 .platform-shell .discovery-novel .discovery-novel-main>.discovery-novel-copy {
  grid-column:1;grid-row:1;display:block;
 }
 .platform-shell .feed-card.novel-card .feed-card-copy>h2,
 .platform-shell .discovery-novel-copy>h2 {
  display:flex;align-self:auto;margin:0 0 9px;line-height:1.5;
 }
 .platform-shell .feed-card.novel-card .feed-card-copy>.feed-excerpt,
 .platform-shell .discovery-novel-copy>.discovery-novel-description {margin-top:10px;}
 .platform-shell .feed-card.novel-card .feed-card-copy>.feed-tag-row,
 .platform-shell .discovery-novel-copy>.content-taxonomy {margin-top:10px;}
}
@media(max-width:380px) {
 .platform-shell .feed-card.novel-card .novel-card-main,
 .platform-shell .discovery-novel .discovery-novel-main {
  grid-template-columns:minmax(0,1fr) 76px;column-gap:12px;
 }
 .platform-shell .feed-card.novel-card .novel-card-main>.novel-cover,
 .platform-shell .discovery-novel .discovery-novel-main>.discovery-novel-cover {
  width:76px;
 }
}


/* Posts discovery: same white, borderless reading feed as the home timeline.
   Only #/posts is scoped; the series discovery and profile pages are unchanged. */
.platform-shell.posts-home-shell {background:#fff}
.platform-shell.posts-home-shell .browse-page>.posts-discovery {
 display:block;width:100%;max-width:900px;margin-inline:auto;
}
.platform-shell .posts-discovery .posts-page-header {margin:0 0 14px}
.platform-shell .posts-discovery .posts-page-header>.discovery-kicker {
 display:block;margin-bottom:5px;color:#928b9b;font-size:10px;font-weight:650;letter-spacing:1px;
}
.platform-shell .posts-discovery .posts-feed-toolbar {
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 min-height:48px;margin:0;padding:0 0 14px;border-bottom:1px solid var(--ui-line);
}
.platform-shell .posts-discovery .posts-feed-toolbar h1 {
 margin:0;font:750 25px/1.3 var(--sans);letter-spacing:-.05em;color:var(--ui-ink);
}
.platform-shell .posts-discovery .posts-feed-toolbar .home-feed-controls {display:flex;align-items:center;gap:14px;flex:none}
.platform-shell .posts-discovery .posts-sort-control select {
 min-width:78px;min-height:38px;max-width:none;border:0;border-radius:0;
 padding:6px 4px;background:#fff;color:#666477;font:500 13px/1.5 var(--sans);
 cursor:pointer;
}
.platform-shell .posts-discovery .posts-feed-toolbar .home-display-settings {min-width:36px;min-height:38px}
.platform-shell .posts-discovery .posts-page-description {
 margin:12px 0 0;color:#777286;font-size:13px;line-height:1.7;
}
.platform-shell .posts-discovery .posts-filter-bar {
 display:block;padding:12px 0 18px;margin:0 0 4px;
 border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent;
}
.platform-shell .posts-discovery .posts-filter-bar .discovery-filter-row {
 display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;min-width:0;
}
.platform-shell .posts-discovery .posts-filter-bar .discovery-filter-row+.discovery-filter-row {margin-top:7px}
.platform-shell .posts-discovery .posts-filter-bar .discovery-filter-row>strong {
 display:block;width:auto;min-width:0;padding:0;color:#777286;font-size:12px;font-weight:650;
}
.platform-shell .posts-discovery .posts-filter-bar .chip-scroller {width:100%;min-width:0}
.platform-shell .posts-discovery .posts-filter-bar .chip-scroll-track {flex-wrap:nowrap;min-width:0}
.platform-shell .posts-discovery .posts-filter-bar .chip-scroll-track>a {
 display:inline-flex;align-items:center;min-height:34px;flex:none;
 padding:6px 10px;border:0;border-radius:7px;background:transparent;
 color:#746e7c;font-size:12px;line-height:1.5;
}
.platform-shell .posts-discovery .posts-filter-bar .chip-scroll-track>a:hover {background:#f6f2fd;color:var(--ui-purple)}
.platform-shell .posts-discovery .posts-filter-bar .chip-scroll-track>a.selected {
 background:#f0eaff;color:#713bcb;font-weight:700;
}
.platform-shell .posts-discovery .discovery-list {
 display:flex;flex-direction:column;gap:0;width:100%;
 padding:0;margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible;background:transparent;
}
.platform-shell .posts-discovery .discovery-list>.discovery-post {
 display:block;min-width:0;padding:22px 0 18px;margin:0;
 border:0;border-bottom:1px solid var(--ui-line);border-radius:0;
 background:transparent;box-shadow:none;
}
.platform-shell .posts-discovery .discovery-post-kind {display:flex;gap:8px;align-items:center;margin:0 0 10px}
.platform-shell .posts-discovery .discovery-post .discovery-post-meta {margin:0 0 14px;min-height:38px;gap:10px}
.platform-shell .posts-discovery .discovery-post-body {display:block;min-width:0}
.platform-shell .posts-discovery .discovery-post-body h2 {
 margin:0 0 9px;color:var(--ui-ink);font:750 22px/1.45 var(--sans);letter-spacing:-.045em;
}
.platform-shell .posts-discovery .discovery-post-body p {
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
 margin:0;overflow:hidden;color:#565365;font-size:14px;line-height:1.85;white-space:normal;
}
.platform-shell .posts-discovery .discovery-post-tags {margin:12px 0 0}
.platform-shell .posts-discovery .discovery-post .content-taxonomy {margin:0}
.platform-shell .posts-discovery .discovery-post-bottom {display:block;margin:15px 0 0}
.platform-shell .posts-discovery .discovery-reactions {display:flex;align-items:center;width:100%;gap:20px;min-width:0;color:#656074;font-size:12px}
.platform-shell .posts-discovery .discovery-reactions>:is(a,button) {min-height:36px}
.platform-shell .posts-discovery .discovery-metrics {margin:0 0 0 auto;align-items:center;gap:9px}
.platform-shell .posts-discovery .discovery-metrics .reading-metric {font-size:12px}
.platform-shell .posts-discovery .discovery-bookmark {margin-left:0;min-width:36px}
.platform-shell .posts-discovery .feed-empty {border:0;border-radius:0}
.platform-shell .posts-discovery .feed-more {width:100%;margin-top:18px}
@media(min-width:1241px) {
 .platform-shell.posts-home-shell .browse-page>.posts-discovery {
  max-width:calc(100% - var(--browse-aside-width) - var(--browse-column-gap));
  margin-left:0;margin-right:auto;
 }
}
@media(max-width:760px) {
 .platform-shell.posts-home-shell {--platform-header-height:60px}
 .platform-shell.posts-home-shell .platform-content>.page.browse-page {padding-top:20px}
 .platform-shell.posts-home-shell .browse-page>.posts-discovery {width:100%;max-width:none}
 .platform-shell .posts-discovery .posts-page-header {margin-bottom:8px}
 .platform-shell .posts-discovery .posts-feed-toolbar {min-height:44px;padding-bottom:12px}
 .platform-shell .posts-discovery .posts-feed-toolbar h1 {font-size:23px}
 .platform-shell .posts-discovery .posts-sort-control select {min-height:44px;font-size:12px}
 .platform-shell .posts-discovery .posts-feed-toolbar .home-display-settings {min-width:44px;min-height:44px}
 .platform-shell .posts-discovery .posts-page-description {font-size:12px}
 .platform-shell .posts-discovery .posts-filter-bar {padding:11px 0 14px}
 .platform-shell .posts-discovery .posts-filter-bar .discovery-filter-row {
  display:block;min-width:0;
 }
 .platform-shell .posts-discovery .posts-filter-bar .discovery-filter-row+.discovery-filter-row {margin-top:11px}
 .platform-shell .posts-discovery .posts-filter-bar .discovery-filter-row>strong {margin-bottom:4px;font-size:11px}
 .platform-shell .posts-discovery .posts-filter-bar .chip-scroller>button {display:none}
 .platform-shell .posts-discovery .posts-filter-bar .chip-scroll-track>a {min-height:44px;font-size:12px}
 .platform-shell .posts-discovery .discovery-list>.discovery-post {padding:20px 0}
 .platform-shell .posts-discovery .discovery-post-body h2 {font-size:19px;line-height:1.5}
 .platform-shell .posts-discovery .discovery-post-body p {font-size:14px;line-height:1.8}
 .platform-shell .posts-discovery .discovery-post .discovery-post-meta {min-height:44px;margin-bottom:14px}
 .platform-shell .posts-discovery .discovery-reactions {flex-wrap:wrap;gap:10px 14px}
 .platform-shell .posts-discovery .discovery-reactions>:is(a,button) {min-height:44px}
 .platform-shell .posts-discovery .discovery-metrics {margin-left:auto}
}
@media(max-width:380px) {
 .platform-shell .posts-discovery .discovery-metrics {font-size:10px}
 .platform-shell .posts-discovery .discovery-reactions {gap:8px}
}
/* Keep each count readable; mobile metrics get a shared row below reactions. */
.platform-shell :is(.feed-reading-count,.discovery-metrics) {flex-wrap:wrap;min-width:0;gap:6px 12px}
.platform-shell .reading-metric {white-space:nowrap}
@media(max-width:600px) {
 .platform-shell .feed-card .feed-actions,.platform-shell .discovery-reactions {flex-wrap:wrap}
 .platform-shell .discovery-post .discovery-reactions {width:100%;min-width:0;flex-shrink:1}
 .platform-shell .feed-card .feed-actions .feed-reading-count,
 .platform-shell .discovery-post .discovery-reactions .discovery-metrics {
  flex-basis:100%;width:100%;max-width:100%;order:2;margin:2px 0 0;gap:6px 12px;
 }
 .platform-shell .feed-card .feed-actions>.feed-bookmark,
 .platform-shell .discovery-reactions>.discovery-bookmark {margin-left:auto}
}


/* The reactions belong to their post. Keep separators between posts only. */
.platform-shell .posts-discovery .discovery-post .discovery-post-bottom {
 border-top:0;
 padding-top:0;
}


/* Home editorial introduction: hierarchy without duplicating left navigation. */
.platform-shell .social-home .home-editorial-intro {margin:0 0 22px;min-width:0}
.platform-shell .social-home .home-intro-kicker {
 display:block;margin:0 0 9px;color:#777286;font:600 11px/1.5 var(--sans);letter-spacing:.07em;
}
.platform-shell .social-home .home-editorial-intro h1 {
 margin:0 0 8px;color:var(--ui-ink);font:800 32px/1.3 var(--sans);letter-spacing:-.055em;
}
.platform-shell .social-home .home-editorial-intro p {margin:0;color:#777286;font-size:14px;line-height:1.7}
.platform-shell .social-home .home-feed-toolbar h2 {margin:0;color:var(--ui-ink);font:750 17px/1.4 var(--sans);letter-spacing:-.03em}
.platform-shell .social-home .home-feed-toolbar {min-height:45px;padding-bottom:13px}
.platform-shell .social-home .dam-right {
 display:flex;flex-direction:column;gap:16px;padding:0;border-left:0;align-self:start;
}
.platform-shell .social-home .feed-side-section.home-side-card,
.platform-shell .social-home .feed-side-section.reader-shelf {
 margin:0;padding:20px;border:1px solid #efedf3;border-radius:12px;
 background:#fff;box-shadow:0 4px 24px rgba(30,23,50,.035);
}
.platform-shell .social-home .feed-side-heading {
 display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;
}
.platform-shell .social-home .feed-side-heading h2 {font-size:15px;font-weight:750;letter-spacing:-.03em;color:var(--ui-ink)}
.platform-shell .social-home .feed-side-heading>a {display:grid;place-items:center;min-width:32px;min-height:32px;color:#817d8b}
.platform-shell .social-home .home-top-tags {margin:0;padding:0;list-style:none;display:grid;gap:3px}
.platform-shell .social-home .home-top-tags li>a {display:flex;align-items:center;gap:10px;min-height:38px;color:var(--ui-ink)}
.platform-shell .social-home .home-top-tags .tag-rank {
 display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;
 background:#e6e2ef;color:#655d75;font-size:12px;font-weight:750;
}
.platform-shell .social-home .home-top-tags li:first-child .tag-rank {background:#8664ec;color:white}
.platform-shell .social-home .home-top-tags li:nth-child(2) .tag-rank {background:#ce7194;color:white}
.platform-shell .social-home .home-top-tags li:nth-child(3) .tag-rank {background:#6a6577;color:white}
.platform-shell .social-home .home-top-tags strong {flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-shell .social-home .home-top-tags small {color:#9792a2;font-size:11px;white-space:nowrap}
.platform-shell .social-home .home-side-series-list,.platform-shell .social-home .home-follow-list {display:grid;gap:12px}
.platform-shell .social-home .home-side-series {display:flex;align-items:center;gap:10px;min-width:0;color:var(--ui-ink)}
.platform-shell .social-home .home-side-series img {display:block;flex:none;width:45px;height:68px;object-fit:cover;border-radius:5px;background:#f6f4f8}
.platform-shell .social-home .home-side-series-info {display:grid;flex:1;gap:5px;min-width:0}
.platform-shell .social-home .home-side-series-info strong,
.platform-shell .social-home .home-follow-item strong {font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-shell .social-home .home-side-series-info small,
.platform-shell .social-home .home-follow-item small {font-size:11px;color:#8c8798;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-shell .social-home .home-side-series-episodes {flex:none;font-size:11px;font-weight:650;color:#7954e7;background:#f4efff;border-radius:7px;padding:4px 6px}
.platform-shell .social-home .home-follow-item {display:flex;align-items:center;gap:9px;min-width:0;color:var(--ui-ink)}
.platform-shell .social-home .home-follow-item .avatar {width:33px;height:33px;flex:none}
.platform-shell .social-home .home-follow-item>span:nth-child(2) {display:grid;flex:1;gap:4px;min-width:0}
.platform-shell .social-home .home-follow-item time {align-self:flex-start;flex:none;color:#9792a2;font-size:10px;white-space:nowrap}
.platform-shell .social-home .home-side-empty {margin:8px 0;color:#8d8798;font-size:12px;line-height:1.7}
.platform-shell .social-home .reader-shelf-head {min-width:0}
.platform-shell .social-home .feed-side-utilities {margin:0;padding:0 8px;border-top:0}
.platform-shell .social-home .feed-side-utilities button {min-height:42px}
@media(min-width:1241px) {
 .platform-shell.social-home-shell {--browse-aside-width:300px;--browse-column-gap:32px}
}
@media(max-width:760px) {
 .platform-shell .social-home .home-editorial-intro {margin-bottom:18px}
 .platform-shell .social-home .home-intro-kicker {font-size:10px;margin-bottom:6px}
 .platform-shell .social-home .home-editorial-intro h1 {font-size:27px}
 .platform-shell .social-home .home-editorial-intro p {font-size:12px;line-height:1.7}
 .platform-shell .social-home .home-feed-toolbar h2 {font-size:16px}
 .platform-shell .social-home .dam-right {
  display:block;margin-top:26px;padding:0;border-top:1px solid var(--ui-line);
 }
 /* Mobile discovery stays part of the page, not a tower of inset cards. */
 .platform-shell .social-home .feed-side-section.home-side-card,
 .platform-shell .social-home .feed-side-section.reader-shelf {
  display:block;margin:0;padding:19px 0;border:0;border-bottom:1px solid var(--ui-line);
  border-radius:0;background:transparent;box-shadow:none;
 }
 .platform-shell .social-home .feed-side-heading {margin-bottom:8px}
 .platform-shell .social-home .feed-side-heading h2 {font-size:15px}
 .platform-shell .social-home .home-top-tags {
  display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;
  padding:2px 0 5px;scrollbar-width:none;overscroll-behavior-inline:contain;
 }
 .platform-shell .social-home .home-top-tags::-webkit-scrollbar,
 .platform-shell .social-home .home-side-series-list::-webkit-scrollbar {display:none}
 .platform-shell .social-home .home-top-tags li {flex:none}
 .platform-shell .social-home .home-top-tags li>a {
  gap:7px;min-height:38px;padding:6px 10px;border:1px solid #e9e5ef;
  border-radius:20px;white-space:nowrap;
 }
 .platform-shell .social-home .home-top-tags .tag-rank {width:20px;height:20px;font-size:10px}
 .platform-shell .social-home .home-top-tags strong {font-size:12px}
 .platform-shell .social-home .home-top-tags small {font-size:10px}
 .platform-shell .social-home .home-side-series-list {
  display:flex;gap:18px;min-width:0;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-inline:contain;
  padding:2px 0 5px;
 }
 .platform-shell .social-home .home-side-series {
  flex:0 0 220px;max-width:80%;scroll-snap-align:start;
 }
 .platform-shell .social-home .home-side-series img {width:40px;height:60px}
 .platform-shell .social-home .home-side-series-episodes {font-size:10px}
 .platform-shell .social-home .home-follow-list {gap:10px}
 .platform-shell .social-home .feed-side-section.reader-shelf .reader-shelf-head h2 {font-size:15px}
 /* Settings already live in the home feed toolbar; avoid duplicated mobile actions. */
 .platform-shell .social-home .feed-side-utilities {display:none}
}
