/* Solid page canvas; artwork belongs only to the two featured sections. */
.reader-memberships{max-width:1120px;margin:0 auto;padding:12px 0 32px}
.reader-library-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 32px}.reader-library-tabs a{padding:10px 14px;border-radius:12px;background:var(--paper);border:1px solid var(--line);font-weight:600}.reader-library-tabs a[aria-current]{background:var(--ink);color:var(--bg)}
.membership-section{margin-bottom:30px}.reader-memberships h1,.reader-memberships h2{font-size:20px;margin:0 0 12px}.membership-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.membership-section-heading h2{margin:0}
.membership-empty,.membership-list{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}.membership-empty{text-align:center;padding:32px 20px}.membership-empty>svg{width:46px;height:46px;color:var(--muted);margin-bottom:14px}.membership-empty h2{margin-bottom:6px}.membership-empty p{color:var(--muted);margin-bottom:22px}.membership-empty .secondary{display:inline-flex}
.member-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line)}.member-row:last-child{border-bottom:0}.member-row[hidden]{display:none}.member-identity{display:flex;align-items:center;gap:14px;min-width:0}.member-identity>span:last-child{min-width:0}.member-row strong{display:block;overflow-wrap:anywhere}.member-row small{display:block;font-size:14px;color:var(--muted)}.member-avatar{width:52px;height:52px;border-radius:50%;background:var(--bg);display:grid;place-items:center;flex-shrink:0;overflow:hidden}.member-avatar img{width:100%;height:100%;object-fit:cover}.member-avatar svg{width:26px;height:26px;color:var(--purple)}
.member-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0;max-width:48%}.member-actions button,.member-discovery-list button{font-size:14px;padding:9px 15px;white-space:normal}.member-follow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;padding:7px!important}.member-follow svg{width:18px;height:18px}.member-active{color:var(--purple);font-size:14px}.following-empty{text-align:center;padding:28px}.following-empty p{color:var(--muted)}.membership-help{font-size:14px;color:var(--muted)}.membership-help a{color:var(--purple)}.membership-expired{margin:24px 0}.membership-expired summary{cursor:pointer;color:var(--muted)}.member-discovery-list{max-height:50vh;overflow:auto}.member-discovery-list .member-row{padding:16px 0}
@media(max-width:600px){.reader-library-tabs{gap:6px;margin-bottom:24px}.reader-library-tabs a{font-size:14px;padding:9px 10px}.member-row{padding:16px 12px;gap:12px;flex-wrap:wrap}.member-identity{flex:1 1 150px}.member-actions{max-width:100%;margin-left:auto}.member-avatar{width:44px;height:44px}.membership-section-heading{align-items:flex-start}.membership-section-heading button{font-size:14px}.reader-memberships{padding-top:0}}
.detail-copy .description-block .description{max-height:280px;overflow:hidden;margin-bottom:8px}
.detail-copy .description-block .description.description-expanded{max-height:none;overflow:visible}
.description-toggle{padding:5px 0;background:none;border:0;color:#d0aaff;font-size:14px;margin:0 0 5px;cursor:pointer}
.description-toggle[hidden]{display:none}
.description-toggle:hover{text-decoration:underline}
@media(max-width:760px){.detail-copy .description-block .description{max-height:250px}}
.catalog-site,.catalog-site.light,.catalog-site.dark{background:var(--bg)}
.catalog-site .catalog-section:not(.spotlight),.catalog-site .site-footer{background:transparent}
.catalog-site .spotlight:before{background:linear-gradient(90deg,#080f0ed4,#080f0e4d),url('assets/interesting-fantasy.webp') center/cover!important}
.catalog-site .theme-toggle{flex:0 0 36px;width:36px;height:36px;padding:8px;color:var(--ink);border-color:var(--line);transition:background .18s,transform .18s}
.catalog-site .theme-toggle:hover{background:var(--soft);transform:translateY(-2px)}
.catalog-site.light .site-header{background:#fffffff5;border-color:var(--line)}
.catalog-site.light .site-header .brand,.catalog-site.light .site-header .topnav,.catalog-site.light .menu-button,.catalog-site.light .mobile-search{color:var(--ink)}
.catalog-site.light .topnav a.active,.catalog-site.light .topnav a:hover{color:#7038be}
.catalog-site.light #search-form{background:#edf0ec;border-color:#bdc9c1}
.catalog-site.light #search-form input,.catalog-site.light #search-form button,.catalog-site.light #search-form .icon{color:#35483e}
.catalog-site.light .site-header .account{color:#51316d;border-color:#bca9cd}
.catalog-site.light .site-header .icon-button{background:#edf0ec;color:#35483e;border-color:#c3cfc6}
.catalog-site.light .rank-tabs button.selected{color:#7038be}
.catalog-site.light .categories button.selected{background:#7038be;color:white}
.catalog-site.light .section-title>a,.catalog-site.light .rank-item>strong,.catalog-site.light .writer-stat strong{color:#7038be}
.catalog-site.light .card-stats{color:#50695b}
.catalog-site.light .bottomnav{background:#fffffff5;border-color:#c2cfc6;box-shadow:0 6px 24px #23332824}
.catalog-site.light .bottomnav a{color:#4b6155}
.catalog-site.light .bottomnav a.active{color:white}
.catalog-site.light .secondary{background:#eee8f7;color:#51316d;border-color:#c0a6db}
.catalog-site.light .notice{background:#eee8f7;border-color:#d7c6e7;color:#38254b}
.catalog-site.light .writer-sidebar nav a.selected,.catalog-site.light .writer-profile-form summary,.catalog-site.light .notification-entry-meta>span,.catalog-site.light .notification-dropdown-footer>button{color:#7038be}
.catalog-site.light .notification-entry.unread{background:#f1ebfa}
.catalog-site.light .notification-event-icon{color:#52695b}
.catalog-site.light input,.catalog-site.light textarea,.catalog-site.light select{border-color:#c3cfc6}
/* Keep readable light type over the illustrated feature panels in both modes. */
.catalog-site.light .spotlight>.section-title{color:#fff}
.catalog-site.light .spotlight>.section-title>a{color:#dfc3ff}
.catalog-site.light .hero-copy .secondary{background:#171121cc;color:#fff;border-color:#b58bdd}
.catalog-site.light .hero-copy .novel-meta,.catalog-site.light .spotlight .novel-meta{color:#d1dad5}
.catalog-site.light .hero-copy .chip{background:#211b30;color:#e9d9fc}
@media(min-width:761px) and (max-width:1400px){.catalog-site .topnav{display:none}.catalog-site .menu-button{display:flex}}
@media(max-width:760px){.catalog-site .theme-toggle{flex-basis:30px;width:30px;height:30px;padding:6px}.catalog-site .header-inner{gap:7px}.catalog-site .spotlight:before{background-position:65% center!important}}
@media(max-width:420px){.catalog-site .mobile-search{display:none}.catalog-site .header-inner{gap:5px}.catalog-site .header-inner>.brand{font-size:22px}}
@media(prefers-reduced-motion:reduce){.catalog-site .theme-toggle:hover{transform:none}}

.catalog-site .spotlight .feature-label{background:linear-gradient(110deg,#fff0bb,#edbd55);color:#4a3105}.follow-author{margin-top:12px}.follow-author[aria-pressed="true"]{background:#52248c;border-color:#b78bef;color:#fff}

.translator-mini{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:16px;margin-top:18px}.translator-mini .translator-card{padding:0;border:0;background:none;margin:0}.translator-actions{display:grid;gap:8px;margin-top:12px}.translator-actions button{width:100%;margin:0}.translator-bio{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.membership-modal{width:min(460px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:24px}.membership-modal::backdrop{background:#0009;backdrop-filter:blur(4px)}.membership-modal .renewal-choice{display:flex;align-items:flex-start;gap:12px;padding:14px 0}.membership-modal input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:#8734ee}.membership-modal .actions{display:flex;gap:10px;flex-wrap:wrap}

.writer-analytics{margin-bottom:24px;min-width:0}.analytics-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.analytics-heading h2,.analytics-heading h3{margin:0}.analytics-heading label{min-width:180px}.analytics-highlights,.analytics-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.analytics-highlights strong,.analytics-sources strong{display:block;margin-top:6px}.analytics-highlights p,.analytics-sources>div{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}.analytics-sources{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}.source-0{background:#a56af5}.source-1{background:#e3b952}.source-2{background:#49bdaa}.analytics-chart-scroll{max-width:100%;overflow:auto;margin-top:16px;border-bottom:1px solid var(--line)}.analytics-chart{display:grid;grid-template-columns:repeat(var(--days),minmax(34px,1fr));min-width:100%;gap:3px;padding:8px}.analytics-day{padding:0 2px;border:0;border-radius:4px;background:transparent!important;min-width:0}.analytics-day:hover,.analytics-day:focus-visible{outline:1px solid var(--purple)}.analytics-stack{height:164px;display:flex;flex-direction:column-reverse;justify-content:flex-start;width:100%;gap:0}.analytics-stack>span{display:block;flex-shrink:0;border-radius:2px}.analytics-day small{display:block;font-size:11px;white-space:nowrap;color:var(--muted)}.writer-analytics td:first-child{min-width:180px;max-width:320px;white-space:normal}.writer-analytics td small{display:block;color:var(--muted)}.writer-analytics .row{gap:16px}.writer-analytics .row>span{min-width:0;overflow-wrap:anywhere}.writer-analytics .row>strong{flex-shrink:0}.writer-content{min-width:0}@media(max-width:760px){.analytics-sources,.analytics-highlights{grid-template-columns:1fr}.writer-analytics{padding:16px}.analytics-heading label{width:100%}}

.catalog-site .translator-mini{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.catalog-site .translator-actions{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}.catalog-site .translator-actions button{box-sizing:border-box;min-width:0;max-width:100%;width:100%;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;text-align:center;justify-content:center;font-size:15px;line-height:1.5}.catalog-site .translator-actions .icon{flex-shrink:0}

/* Shared glass header and matching featured badges. */
.catalog-site .site-header{background:rgba(8,15,14,.68);border-bottom-color:#ffffff12;-webkit-backdrop-filter:blur(12px) saturate(125%);backdrop-filter:blur(12px) saturate(125%)}
.catalog-site.light .site-header{background:rgba(255,255,255,.72);border-color:#23332818}
.catalog-site #catalog-hero .feature-label,.catalog-site .spotlight .feature-label{background:linear-gradient(120deg,#fff0bb,#edbd55);color:#4a3105;border:1px solid #ffdf87}
