/* Damneomeo shared visual language for secondary pages.
   Scoped off the established Home and Posts timelines. No reader/editor internals. */
.platform-shell.cohesive-pages-shell {
 --navigation-width:204px;--platform-header-height:78px;
 --browse-max-width:1440px;--browse-gutter:40px;
 background:#fff;
}
.platform-shell.cohesive-pages-shell.sidebar-collapsed {--navigation-width:80px}
.cohesive-pages-shell .header .header-inner {padding-inline:28px;gap:24px}
.cohesive-pages-shell .header-identity {min-width:154px}
.cohesive-pages-shell .header .header-search {max-width:480px;margin-inline:auto}
.cohesive-pages-shell .header-search input {height:44px;background:#f4f4f7}
.cohesive-pages-shell .desktop-navigation {padding:24px 24px 20px}
.cohesive-pages-shell .desktop-navigation nav {gap:8px}
.cohesive-pages-shell .desktop-navigation nav>a {
 position:relative;min-height:46px;padding:10px 8px;font-size:14px;
 gap:15px;border-radius:8px;
}
.cohesive-pages-shell .desktop-navigation nav>a.active {
 background:transparent;color:#14151b;font-weight:750;
}
.cohesive-pages-shell .desktop-navigation nav>a.active::before {
 content:"";position:absolute;left:-12px;width:6px;height:6px;
 border-radius:50%;background:var(--ui-purple);
}
.cohesive-pages-shell.sidebar-collapsed .desktop-navigation nav>a.active::before {left:0}
.cohesive-pages-shell .desktop-navigation nav>a[href="#/compose"] {
 margin-top:26px;background:#191a1f;color:#fff;border-radius:9px;
 flex-direction:row-reverse;gap:10px;
}
.cohesive-pages-shell .desktop-navigation nav>a[href="#/compose"] svg {color:#a56bff}
.cohesive-pages-shell .desktop-navigation nav>a[href="#/compose"]:hover {background:#323039}
.cohesive-pages-shell.sidebar-collapsed .desktop-navigation nav>a[href="#/compose"] {flex-direction:column}
.cohesive-pages-shell .platform-content>.page.browse-page {padding-top:28px}

/* One headline scale and one search/filter language across browse and account pages. */
.cohesive-pages-shell .browse-page :is(.discovery-heading,.tag-explore-heading,.following-heading,.page-title-row,.messages-title) {
 margin-bottom:20px;
}
.cohesive-pages-shell .browse-page :is(.discovery-heading h1,.tag-explore-heading h1,.page-title-row h1,.messages-title h1) {
 margin:6px 0 8px;font:750 25px/1.35 var(--sans);
 letter-spacing:-.05em;color:var(--ui-ink);
}
.cohesive-pages-shell .browse-page :is(.discovery-heading p,.tag-explore-heading>p,.page-title-row p,.messages-title p) {
 font-size:13px;line-height:1.75;color:#777286;
}
.cohesive-pages-shell .browse-page .discovery-kicker {
 color:#928b9b;font-size:10px;font-weight:650;letter-spacing:1px;
}
.cohesive-pages-shell .browse-page :is(.feed-sort,select[aria-label="정렬"],select[data-action$="-sort"]) {
 min-height:38px;color:#686477;background:#fff;
 border:0;border-radius:0;font-size:12px;padding:6px 4px;max-width:180px;
}

/* Series: same title, horizontal discovery filters and borderless feed as Posts. */
.cohesive-pages-shell .discovery-layout .discovery-heading {
 padding-bottom:15px;border-bottom:1px solid var(--ui-line);margin:0 0 10px;
}
.cohesive-pages-shell .discovery-layout .discovery-filters {
 display:grid;gap:10px;padding:12px 0 16px;margin:0;
 border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent;
}
.cohesive-pages-shell .discovery-layout .discovery-filter-row {
 display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;
 align-items:center;min-width:0;margin:0;
}
.cohesive-pages-shell .discovery-layout .discovery-filter-row>strong {
 width:auto;padding:0;font-size:12px;font-weight:650;color:#777286;
}
.cohesive-pages-shell .discovery-layout .discovery-filter-row .chip-scroller {width:100%;min-width:0}
.cohesive-pages-shell .discovery-layout .discovery-filter-row .chip-scroll-track {flex-wrap:nowrap!important;min-width:0}
.cohesive-pages-shell .discovery-layout .discovery-filter-row .chip-scroll-track>a,
.cohesive-pages-shell .discovery-layout .discovery-status-row nav>a {
 display:inline-flex;align-items:center;flex:none;white-space:nowrap;
 padding:7px 11px;border:0;border-radius:7px;background:transparent;
 color:#746e7c;min-height:36px;font-size:12px;
}
.cohesive-pages-shell .discovery-layout .discovery-filter-row a.selected {
 background:#f0eaff;color:#713bcb;font-weight:700;
}
.cohesive-pages-shell .discovery-layout .discovery-filter-row a:hover {background:#f6f2fd;color:var(--ui-purple)}
.cohesive-pages-shell .discovery-layout .discovery-status-row {
 border:0;padding:0;margin:0;
}
.cohesive-pages-shell .discovery-layout .discovery-status-row nav {
 display:flex;align-items:center;justify-content:flex-start;gap:4px;
 width:100%;min-width:0;margin:0;padding:0;
 background:transparent;border:0;border-radius:0;box-shadow:none;
 flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
}
.cohesive-pages-shell .discovery-layout .discovery-status-row nav>a {
 min-width:0;box-shadow:none;
}
.cohesive-pages-shell .discovery-layout .discovery-status-row nav>a.selected {
 background:#f0eaff;color:#713bcb;border:0;box-shadow:none;
}
.cohesive-pages-shell .discovery-layout .discovery-status-row nav::-webkit-scrollbar {display:none}
.cohesive-pages-shell .discovery-layout .discovery-list-heading {
 margin:19px 0 10px;padding:0 0 8px;gap:16px;
}
.cohesive-pages-shell .discovery-layout .discovery-list-heading h2 {
 font-size:17px;font-weight:750;letter-spacing:-.03em;
}
.cohesive-pages-shell .discovery-layout .discovery-list {
 display:flex;flex-direction:column;gap:0;margin:0;padding:0;
 border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;
}
.cohesive-pages-shell .discovery-layout .discovery-list>.discovery-novel {
 display:block;margin:0;padding:23px 0 20px;
 border:0;border-bottom:1px solid var(--ui-line);border-radius:0;box-shadow:none;background:transparent;
}
.cohesive-pages-shell .discovery-novel .discovery-novel-main {
 display:grid;grid-template-columns:minmax(0,1fr) 116px;
 column-gap:24px;align-items:start;min-width:0;
}
.cohesive-pages-shell .discovery-novel .discovery-novel-main>.discovery-novel-copy {
 display:block;grid-row:1;grid-column:1;min-width:0;
}
.cohesive-pages-shell .discovery-novel .discovery-novel-main>.discovery-novel-cover {
 display:block;grid-row:1;grid-column:2;justify-self:end;
 width:116px;height:auto;aspect-ratio:2/3;border-radius:8px;
 overflow:hidden;box-shadow:none;
}
.cohesive-pages-shell .discovery-novel .discovery-novel-copy>h2 {
 margin:0 0 9px;font-size:21px;line-height:1.5;
}
.cohesive-pages-shell .discovery-novel-description {
 margin:8px 0 10px;color:#565365;font-size:14px;line-height:1.85;-webkit-line-clamp:3;
}
.cohesive-pages-shell .discovery-novel-flags {margin:0 0 8px}
.cohesive-pages-shell .discovery-novel-meta {margin:0 0 14px}
.cohesive-pages-shell .discovery-novel-stats {gap:12px}
.cohesive-pages-shell .discovery-novel .feed-reading-links {margin-top:12px}
/* Reading CTA styling is shared with Home via .series-read-primary in social-home.css. */
.cohesive-pages-shell .discovery-novel .discovery-novel-bottom {margin-top:9px}

/* Tags: typographic hierarchy, horizontal chips, and one uninterrupted post/series feed. */
.cohesive-pages-shell .browse-page>.tag-explore {max-width:none}
.cohesive-pages-shell .tag-explore-heading {padding:0 0 15px;border-bottom:1px solid var(--ui-line)}
.cohesive-pages-shell .tag-explore-heading form {
 max-width:100%;margin:19px 0 0;
 padding:7px 12px;border:1px solid #e9e7f0;
 border-radius:9px;background:#faf9fc;box-shadow:none;
}
.cohesive-pages-shell .tag-explore-tags {padding:10px 0 17px;border-bottom:1px solid var(--ui-line)}
.cohesive-pages-shell .tag-explore-tags h2 {color:var(--ui-ink);font-size:14px}
.cohesive-pages-shell .tag-explore-tags .chip-scroll-track>a {
 border:0;border-radius:7px;background:transparent;
 color:#777286;font-size:12px;min-height:36px;
 padding:7px 11px;
}
.cohesive-pages-shell .tag-explore-tags .chip-scroll-track>a.selected {
 background:#f0eaff;color:#713bcb;font-weight:700;
}
.cohesive-pages-shell .tag-explore-layout {margin-top:20px}
.cohesive-pages-shell .tag-result-heading {
 padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid var(--ui-line);
}
.cohesive-pages-shell .tag-result-heading h2 {font-size:17px;font-weight:750}
.cohesive-pages-shell .tag-result-filters {margin-bottom:10px}
.cohesive-pages-shell .tag-result-filters>nav {gap:4px;flex-wrap:wrap}
.cohesive-pages-shell .tag-result-filters>nav a {border-radius:7px;min-height:36px}
.cohesive-pages-shell .tag-result-filters>nav a.selected {
 background:#f0eaff;color:#713bcb;
}
.cohesive-pages-shell .tag-results-feed {
 display:flex;flex-direction:column;gap:0;min-width:0;
}
.cohesive-pages-shell .tag-results-feed>.feed-card {
 margin:0;padding:22px 0 18px;border:0;
 border-bottom:1px solid var(--ui-line);
 border-radius:0;box-shadow:none;background:transparent;
}
.cohesive-pages-shell .tag-explore-sidebar section {border-color:var(--ui-line);border-radius:11px}
.cohesive-pages-shell .tag-results-feed .feed-actions {border:0;padding:0;margin-top:14px;gap:18px}
.cohesive-pages-shell .tag-results-feed .post-card-main>:is(.feed-kind,h2,.feed-excerpt,.feed-tag-row,.post-image) {margin-left:0}

/* Following, personal collections and author publications are timeline lists. */
.cohesive-pages-shell .following-heading {padding-bottom:13px;border-bottom:1px solid var(--ui-line)}
.cohesive-pages-shell .following-authors {border-bottom:1px solid var(--ui-line);padding:9px 0 16px;margin-bottom:13px}
.cohesive-pages-shell .following-toolbar {border-bottom:1px solid var(--ui-line);padding-bottom:9px}
.cohesive-pages-shell .profile-content-tabs>a,
.cohesive-pages-shell .collection-tabs>a,
.cohesive-pages-shell .tag-result-filters>nav a {
 min-height:36px;padding:7px 12px;border-radius:7px;
 color:#746e7c;font-size:12px;
}
.cohesive-pages-shell .profile-content-tabs>a[aria-current=page],
.cohesive-pages-shell .collection-tabs>a[aria-current=page] {
 background:#f0eaff;color:#713bcb;font-weight:700;
}
.cohesive-pages-shell :is(.following-feed,.profile-content-feed,.collection-feed) {
 display:flex;flex-direction:column;gap:0;max-width:none;margin:0;min-width:0;
}
.cohesive-pages-shell :is(.following-feed,.profile-content-feed,.collection-feed) .feed-card {
 margin:0;padding:22px 0 18px;
 border:0;border-bottom:1px solid var(--ui-line);
 border-radius:0;background:transparent;box-shadow:none;
}
.cohesive-pages-shell :is(.following-feed,.profile-content-feed,.collection-feed) .feed-actions {
 border:0;padding:0;margin-top:15px;gap:18px;
}
.cohesive-pages-shell .profile-content-entry {margin:0;padding:0;border:0;border-radius:0;overflow:visible}
.cohesive-pages-shell .profile-content-entry>.feed-card {padding:22px 0 18px}
.cohesive-pages-shell .collection-tabs {border-bottom:1px solid var(--ui-line);padding-bottom:15px;margin-bottom:0}
.cohesive-pages-shell .collection-resume {
 margin:0;padding:11px 0 17px;gap:12px;
 border-bottom:1px solid var(--ui-line);
 background:transparent;border-radius:0;
}
.cohesive-pages-shell .collection-resume .btn {min-height:36px}
.cohesive-pages-shell .profile-hero {
 border:0;border-radius:0;background:transparent;overflow:visible;
 border-bottom:1px solid var(--ui-line);
}
.cohesive-pages-shell .profile-cover {border-radius:10px;overflow:hidden}
.cohesive-pages-shell .profile-content-toolbar {
 padding:18px 0 13px;border-bottom:1px solid var(--ui-line);
}
.cohesive-pages-shell .profile-recent {margin-bottom:24px}
.cohesive-pages-shell .profile-recent-card {background:#fff;border-color:var(--ui-line)}
.cohesive-pages-shell .profile-work-management {border-top:0}
.cohesive-pages-shell .profile-management-page .creator-work-row {
 border:0;border-bottom:1px solid var(--ui-line);
 background:transparent;border-radius:0;padding:18px 0;
}

/* Utility/account pages: headings align with discovery; functional controls stay. */
.cohesive-pages-shell .browse-page :is(.page-title-row,.messages-title) {
 padding:0 0 15px;border-bottom:1px solid var(--ui-line);
}
.cohesive-pages-shell .platform-status,
.cohesive-pages-shell .platform-notices {max-width:none}
.cohesive-pages-shell .platform-notices button {border-bottom:1px solid var(--ui-line)}
.cohesive-pages-shell .points-page {max-width:960px}
.cohesive-pages-shell .point-wallet-card {
 padding:26px;border-color:var(--ui-line);border-radius:12px;
 background:#faf9fd;
}
.cohesive-pages-shell .settings-container>.form-panel {
 padding:20px 0;margin-bottom:0;
 background:transparent;border:0;border-bottom:1px solid var(--ui-line);
 border-radius:0;box-shadow:none;
}
.cohesive-pages-shell .settings-container>.form-panel h2 {font-size:17px}
.cohesive-pages-shell .creator-stats-section {
 border-color:var(--ui-line);border-radius:11px;
}
.cohesive-pages-shell .creator-stats-page .creator-tabs,
.cohesive-pages-shell .profile-page .creator-tabs {border-bottom-color:var(--ui-line)}
.cohesive-pages-shell .novel-detail-page .novel-detail-main {color:var(--ui-ink)}
.cohesive-pages-shell .novel-detail-page .detail-top {background:transparent}

/* Mobile: no stack of miniature bordered cards or narrow overflowed filters. */
@media(max-width:760px) {
 .platform-shell.cohesive-pages-shell {
  --platform-header-height:60px;--browse-gutter:18px;
 }
 .cohesive-pages-shell .header .header-inner {padding-inline:10px;gap:8px}
 .cohesive-pages-shell .header-identity {min-width:0}
 .cohesive-pages-shell .platform-content>.page.browse-page {padding-top:20px}
 .cohesive-pages-shell .browse-page :is(.discovery-heading h1,.tag-explore-heading h1,.page-title-row h1,.messages-title h1) {font-size:23px}
 .cohesive-pages-shell .browse-page :is(.discovery-heading p,.tag-explore-heading>p,.page-title-row p,.messages-title p) {font-size:12px}
 .cohesive-pages-shell .discovery-layout .discovery-filter-row {display:block}
 .cohesive-pages-shell .discovery-layout .discovery-filter-row>strong {display:block;margin-bottom:6px;font-size:11px}
 .cohesive-pages-shell .discovery-layout .discovery-filter-row+.discovery-filter-row {margin-top:5px}
 .cohesive-pages-shell .discovery-layout .discovery-filter-row .chip-scroller>button {display:none}
 .cohesive-pages-shell .discovery-layout .discovery-filter-row .chip-scroll-track>a,
 .cohesive-pages-shell .discovery-layout .discovery-status-row nav>a,
 .cohesive-pages-shell .tag-explore-tags .chip-scroll-track>a {
  min-height:44px;
 }
 .cohesive-pages-shell .discovery-layout .discovery-list>.discovery-novel {padding:20px 0}
 .cohesive-pages-shell .discovery-novel .discovery-novel-main {
  grid-template-columns:minmax(0,1fr) 86px;column-gap:14px;
 }
 .cohesive-pages-shell .discovery-novel .discovery-novel-main>.discovery-novel-cover {width:86px}
 .cohesive-pages-shell .discovery-novel .discovery-novel-copy>h2 {font-size:19px}
 .cohesive-pages-shell .discovery-novel-description {font-size:13px;line-height:1.75}
 .cohesive-pages-shell .tag-explore-heading form {margin-top:14px}
 .cohesive-pages-shell .tag-explore-tags .chip-scroller>button {display:none}
 .cohesive-pages-shell .tag-results-feed>.feed-card,
 .cohesive-pages-shell :is(.following-feed,.profile-content-feed,.collection-feed) .feed-card {padding:20px 0}
 .cohesive-pages-shell .profile-cover {border-radius:8px}
 .cohesive-pages-shell .collection-resume {flex-wrap:wrap}
 .cohesive-pages-shell .point-wallet-card {padding:20px;border-radius:9px}
 .cohesive-pages-shell .settings-container>.form-panel {padding:18px 0}
}
@media(max-width:380px) {
 .cohesive-pages-shell .discovery-novel .discovery-novel-main {
  grid-template-columns:minmax(0,1fr) 76px;column-gap:12px;
 }
 .cohesive-pages-shell .discovery-novel .discovery-novel-main>.discovery-novel-cover {width:76px}
}
