:root{--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--content-max:1160px;--theme-page:#080809;--theme-surface:#151517;--theme-surface-raised:#202023;--theme-text:#f3f3f5;--theme-text-muted:#a5a5ad;--theme-text-subtle:#85858e;--theme-border:#2b2b30;--theme-border-strong:#3b3b42;--theme-action:#ededf1;--theme-action-text:#171719;--theme-focus:#9b88ff}:root[data-theme=light]{--theme-page:#f5f5f6;--theme-surface-low:#fff;--theme-surface-raised:#ededf0;--theme-text:#202024;--theme-text-muted:#66666f;--theme-text-subtle:#777780;--theme-border:#dedee2;--theme-border-strong:#c9c9d0;--theme-action:#242428;--theme-focus:#5e48a5}body,html{background:var(--theme-page);color:var(--theme-text)}body{font-family:var(--font-sans)}.skip-to-content{position:fixed;z-index:100;top:8px;left:12px;padding:12px 16px;border:1px solid var(--theme-action);border-radius:var(--radius-sm);background:var(--theme-action);color:var(--theme-action-text);font-weight:700;text-decoration:none;transform:translateY(calc(-100% - 12px))}.skip-to-content:focus{transform:translateY(0)}.community-page,.creator-guide,.events-page,.home-shell,.library-page,.profile-page,.search-page,.settings-page,.story-detail,.workspace,main{color:var(--theme-text)}.screen-heading{gap:14px;margin-bottom:20px}.search-page .screen-heading{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}.search-page .page-search-field{width:100%;min-width:0}.wide-page-layout:not(:has(.sponsor-rail)){grid-template-columns:minmax(0,1fr)}.panel-heading>.status-pill,.status-pill{color:var(--theme-text);background:var(--theme-surface-low);border:1px solid var(--theme-border-strong);border-radius:var(--radius-sm)}.community-heading h1,.events-heading h1,.profile-heading h1,.screen-heading h1,.workspace-heading h1{color:var(--theme-text);letter-spacing:-.035em;line-height:1.2}.community-heading p,.events-heading p,.profile-heading p,.screen-heading p,.workspace-heading p{color:var(--theme-text-muted);line-height:1.55}.chapter-editor,.composer,.empty-panel,.event-card,.event-panel,.library-card,.new-chapter-form,.notice,.panel,.post-card,.post-story,.profile-metrics,.profile-promo-card,.profile-utility-list,.search-hit,.stat-card,.workspace-card{border-radius:var(--radius-md);border-color:var(--theme-border);box-shadow:none}.composer,.empty-panel,.event-card,.event-panel,.library-card,.panel,.post-card,.stat-card,.workspace-card{background-color:var(--theme-surface)}.panel{padding:16px}.panel h2,.panel h3{color:var(--theme-text);line-height:1.35}.muted-copy,.panel p,.panel-heading>span{color:var(--theme-text-muted)}:where(.primary-button,.outline-button,.subtle-button,.light-button,.join-button,.events-primary,.events-secondary,.icon-button,.workspace button,.profile-page button,.community-page button){border-radius:var(--radius-sm)}:where(.primary-button,.outline-button,.subtle-button,.light-button,.join-button,.events-primary,.events-secondary){min-height:40px;padding:9px 14px;font-weight:650;line-height:1.25}.events-primary,.join-button,.primary-button{background:var(--theme-action);color:var(--theme-action-text);border:1px solid var(--theme-action)}.events-secondary,.outline-button{background:transparent;color:var(--theme-text);border:1px solid var(--theme-border-strong)}.subtle-button{background:var(--theme-surface-low);color:var(--theme-text);border:1px solid var(--theme-border)}.events-primary:hover,.join-button:hover,:where(button,a).primary-button:hover{filter:brightness(.92)}.events-secondary:hover,:where(button,a).outline-button:hover,:where(button,a).subtle-button:hover{background-color:var(--theme-surface-raised)}:where(input,textarea,select,.workspace input,.workspace textarea,.workspace select,.auth-panel input,.modal-card input,.modal-card textarea,.modal-card select){border-radius:var(--radius-sm);border-color:var(--theme-border-strong)}:where(input,textarea,select):focus-visible{border-color:var(--theme-focus)}.community-page,.events-page,.home-shell,.library-page,.profile-page,.search-page,.story-detail,.workspace{width:min(100%,var(--content-max));margin-inline:auto}.loading-shelf,.shelf{margin-bottom:clamp(22px,3vw,34px)}.shelf-heading{margin-bottom:12px}.detail-actions{align-items:center;gap:8px}.chapter-list{margin-top:18px}.site-footer{margin-top:28px}.mobile-tabs{background:var(--theme-surface);border-color:var(--theme-border)}@media (min-width:761px){.community-page,.events-page,.home-shell,.library-page,.profile-page,.search-page,.story-detail,.workspace{padding-inline:32px}}@media (max-width:760px){.community-page,.events-page,.home-shell,.library-page,.profile-page,.search-page,.story-detail,.workspace{padding-inline:12px}.screen-heading{align-items:flex-start;margin-bottom:16px}.community-heading h1,.events-heading h1,.profile-heading h1,.screen-heading h1,.workspace-heading h1{font-size:clamp(21px,6vw,28px)}.panel{padding:13px}.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-actions>:first-child{grid-column:1/-1}.detail-actions>*{width:100%;justify-content:center}.detail-stats{gap:14px}.chapter-row{gap:10px;padding-inline:3px}.mobile-tabs{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:max(env(safe-area-inset-bottom),4px)}.site-footer{padding-bottom:calc(78px + env(safe-area-inset-bottom))}}@media (max-width:380px){.community-page,.events-page,.home-shell,.library-page,.profile-page,.search-page,.story-detail,.workspace{padding-inline:8px}.detail-actions{gap:6px}.detail-actions>*{padding-inline:8px;font-size:10px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--content-max:1248px;--theme-page:#09090b;--theme-surface:#141416;--theme-surface-low:#101012;--theme-surface-raised:#1c1c20;--theme-text:#f6f5f3;--theme-text-muted:#b8b8c1;--theme-text-subtle:#9696a2;--theme-border:#303036;--theme-border-strong:#494951;--theme-action:#ff5c75;--theme-action-text:#181014;--theme-focus:#f6c6d0;--theme-nav-bg:#09090b}:root[data-theme=light]{--theme-page:#faf9f7;--theme-surface:#fff;--theme-surface-low:#f1f0ef;--theme-surface-raised:#e8e6e5;--theme-border:#dedde0;--theme-border-strong:#a9a7af;--theme-text:#16161a;--theme-text-muted:#555561;--theme-text-subtle:#62626e;--theme-action:#b92548;--theme-action-text:#fff;--theme-focus:#8b2f4b;--theme-nav-bg:#fff}.topbar{position:sticky;top:0;z-index:20;height:64px;padding-inline:max(24px,calc((100vw - var(--content-max)) / 2));background:color-mix(in srgb,var(--theme-nav-bg) 98%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-write{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding-inline:16px;border:1px solid var(--theme-action);border-radius:var(--radius-md);background:var(--theme-action);color:var(--theme-action-text);font-size:13px;font-weight:700}.header-write:hover{filter:brightness(.94)}.discover-feature{min-height:292px;max-height:320px;grid-template-columns:minmax(168px,184px) minmax(0,1fr);gap:clamp(20px,2.4vw,34px);border-radius:var(--radius-md)}.discover-feature-cover{border-radius:8px}.discover-feature-copy h2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.discover-feature-description{max-width:68ch}.discover-feature-action{min-height:44px;padding-inline:16px;border-radius:var(--radius-md);background:var(--theme-action);color:var(--theme-action-text);font-size:13px}.discovery-layout .story-rail{gap:16px}.discovery-layout .story-card{flex-basis:156px;width:156px}.discovery-layout .card-art{aspect-ratio:2/3;border-radius:8px}.discovery-layout .card-copy{padding-top:10px}.discovery-layout .card-copy h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:14px;line-height:1.35}.discovery-layout .card-copy>p{overflow:hidden;margin:4px 0 0;color:var(--theme-text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.discovery-layout .card-meta-row{justify-content:flex-start;margin-top:8px}.discovery-layout .card-genre{padding:3px 8px;border-radius:var(--radius-pill);font-size:11px}.discovery-layout .card-read-count{margin-left:auto}.discovery-layout .save-button{top:8px;right:8px;width:40px;height:40px;border:1px solid #ffffff3d;border-radius:10px;background:#09090bd9;color:#fff;font-size:19px}.discovery-layout .story-card:focus-within .save-button{opacity:1;pointer-events:auto;transform:scale(1)}.discover-heading{margin-top:12px}.discover-heading h1{margin-top:6px;font-size:clamp(30px,2.2vw,34px)}.discover-heading p{max-width:62ch}.discovery-layout .ranking-board{padding:18px;border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-surface)}.discovery-layout .ranking-table-wrap{border-color:var(--theme-border);border-radius:var(--radius-sm)}.discovery-layout .ranking-table td,.discovery-layout .ranking-table th{padding-block:8px}.discovery-layout .ranking-cover-link{width:56px}.discovery-layout .ranking-number{font-size:20px}.story-detail{max-width:var(--content-max);padding-top:24px}.story-detail .back-link{display:inline-flex;min-height:40px;align-items:center;margin-bottom:4px;font-size:13px}.detail-layout{grid-template-columns:minmax(0,232px) minmax(0,1fr);gap:clamp(24px,4vw,48px);margin-top:16px}.detail-cover{width:100%;max-width:232px;aspect-ratio:2/3;height:auto;border:1px solid var(--theme-border);border-radius:8px}.detail-copy h1{max-width:26ch;margin-block:8px 10px;font-size:clamp(30px,3vw,38px);line-height:1.16;overflow-wrap:anywhere}.detail-copy .byline{font-size:14px}.story-tag-row{gap:8px;margin-block:14px}.story-tag-row span{min-height:28px;padding:5px 10px;border:1px solid var(--theme-border);background:var(--theme-surface-low);font-size:12px}.story-detail .detail-actions{display:flex;flex-wrap:wrap;margin-block:18px}.story-detail .detail-actions>.primary-button{min-height:44px;justify-content:center;padding-inline:18px;border-radius:var(--radius-md);background:var(--theme-action);color:var(--theme-action-text);font-size:14px}.story-detail .detail-actions>[aria-disabled=true]{cursor:not-allowed;opacity:.7}.story-detail .story-more-toggle,.story-detail .story-save-action{min-width:44px;min-height:44px;border-radius:var(--radius-md)}.story-description{max-width:68ch;margin-block:18px;font-size:15px;line-height:1.7;white-space:pre-line}.detail-stats{display:flex;flex-wrap:wrap;gap:20px;padding-block:14px;border-block:1px solid var(--theme-border);font-size:13px}.detail-stats b{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chapter-list{max-width:760px;margin-top:24px}.chapter-list .list-heading{min-height:48px}.chapter-list .list-heading h2{font-size:22px}.chapter-row{min-height:56px;border-bottom-color:var(--theme-border);text-decoration:none}.chapter-row>span:nth-child(2){min-width:0}.chapter-row b{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.story-recommendations{margin-top:40px;padding:20px}.story-recommendations .panel-heading h2{font-size:22px}.library-intro{margin:0 0 18px}.library-intro p{font-size:15px}.library-tabs{gap:4px;padding:4px;border-radius:var(--radius-md)}.library-tabs button{min-height:40px;padding-inline:14px;font-size:13px}.library-tabs button.selected{background:var(--theme-action);color:var(--theme-action-text)}.library-toolbar{gap:14px}.library-page-layout .library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:20px}.library-page-layout .library-card{border-radius:var(--radius-md)}.library-card-content{gap:8px;padding:14px}.library-card-content h2{font-size:15px}.library-author{font-size:13px}.library-date{font-size:12px}.library-page-layout .library-card .continue-link{min-height:44px;border-radius:var(--radius-md);font-size:13px}.library-page-layout .library-card .subtle-button{font-size:12px}.library-empty h2,.library-error h2,.library-no-results h2{font-size:22px}.library-empty p,.library-error p,.library-no-results p{font-size:15px}.workroom-dashboard{width:min(100%,1080px);margin-inline:auto}.workroom-welcome{min-height:184px;align-items:center;margin-bottom:20px;padding:clamp(20px,3vw,32px);border-radius:var(--radius-md);background:radial-gradient(ellipse at 82% 10%,color-mix(in srgb,var(--theme-action) 12%,transparent),transparent 42%),var(--theme-surface)}.workroom-welcome-copy{min-width:0}.workroom-earnings-panel .eyebrow,.workroom-stories-panel .eyebrow,.workroom-welcome .eyebrow{color:var(--theme-text-muted)}.workroom-welcome h1{margin:8px 0;color:var(--theme-text);font-size:clamp(28px,3vw,36px);letter-spacing:-.04em;line-height:1.15}.workroom-welcome p{max-width:54ch;margin:0;color:var(--theme-text-muted);font-size:15px;line-height:1.55}.workroom-welcome-actions{display:grid;justify-items:start;gap:10px;flex:0 0 auto}.workroom-welcome-actions .primary-button{min-height:44px;gap:12px;padding-inline:18px;border-radius:var(--radius-md);font-size:14px}.workroom-analytics-link{display:inline-flex;min-height:36px;align-items:center;gap:8px;color:var(--theme-text-muted);font-size:13px;text-decoration:underline;text-underline-offset:3px}.workroom-stat-row{margin-bottom:20px}.workroom-stat-row .stat-card{min-height:88px;align-content:center;gap:7px;border-radius:var(--radius-md)}.workroom-stat-row .stat-card small{font-size:13px}.workroom-stat-row .stat-card b{font-size:24px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.workroom-earnings-panel,.workroom-stories-panel{margin-block:20px;padding:clamp(16px,2.4vw,24px);border-radius:var(--radius-md)}.workroom-earnings-panel .panel-heading,.workroom-stories-panel .panel-heading{align-items:flex-start}.workroom-earnings-panel .panel-heading h2,.workroom-stories-panel .panel-heading h2{margin-top:5px;font-size:22px}.workroom-earnings-panel .panel-heading p,.workroom-stories-panel .panel-heading p{max-width:70ch;font-size:14px}.workroom-story-tools{align-items:center;margin-bottom:16px}.workroom-story-tools>input{width:min(360px,100%);min-height:44px;padding-inline:12px;border-radius:var(--radius-md);font-size:14px}.workroom-status-tabs{gap:3px;padding:3px;border-radius:var(--radius-md)}.workroom-status-tabs button{min-height:38px;padding-inline:12px;border-radius:7px;font-size:13px}.workroom-status-tabs button.selected{background:var(--theme-action);color:var(--theme-action-text)}.workroom-status-tabs button.selected span{color:inherit;opacity:.76}.managed-story-list{gap:0}.managed-story{min-height:92px;gap:16px;padding:12px 8px;border-color:var(--theme-border);border-radius:var(--radius-sm);transition:background-color .15s ease}.managed-story:hover{background:var(--theme-surface-low)}.managed-story>.cover-fallback,.managed-story>img{width:48px;height:72px;flex:0 0 48px;aspect-ratio:2/3;border:1px solid var(--theme-border);border-radius:5px;object-fit:cover}.managed-story>span{gap:7px}.managed-story b{font-size:15px;line-height:1.35}.managed-story small{flex-wrap:wrap;gap:7px;color:var(--theme-text-muted);font-size:12px}.managed-story i{font-size:18px}.workroom-stories-panel .empty-panel{margin:12px 0 0;padding:24px 16px;border-radius:var(--radius-sm)}.workroom-stories-panel .empty-panel h3{font-size:17px}.workroom-stories-panel .empty-panel p{font-size:14px}.workroom-earnings-panel .status-pill{white-space:nowrap}.workroom-earnings-panel .cash-stat-row{margin-block:16px}.workroom-earnings-panel .payout-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.workroom-earnings-panel .payout-form label{font-size:13px}.workroom-earnings-panel .payout-form input,.workroom-earnings-panel .payout-form select{min-height:44px;font-size:14px}.workroom-earnings-panel .payout-form .primary-button{min-height:44px;font-size:13px}.workroom-earnings-panel .subsection-title{font-size:17px}.manage-story-panel{border-radius:var(--radius-md)}.manage-story-heading{display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr);align-items:start;gap:24px;margin-bottom:24px}.manage-story-aside{display:grid;justify-items:start;gap:14px;min-width:0}.story-cover-summary-art{width:100%;max-width:190px;aspect-ratio:2/3;overflow:hidden;border:1px solid var(--theme-border);border-radius:var(--radius-sm);background:var(--theme-surface-low)}.story-cover-summary-art>.cover-fallback,.story-cover-summary-art>img{display:block;width:100%;height:100%;object-fit:cover}.story-cover-summary-art>.cover-fallback{box-sizing:border-box;display:grid;align-content:center;gap:10px;padding:14px;text-align:center}.story-cover-summary-art>.cover-fallback b{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.story-summary-details{display:grid;gap:10px;width:100%;margin:0;padding:0;list-style:none}.story-summary-details li{display:grid;gap:3px;min-width:0}.story-summary-details span{color:var(--theme-text-muted);font-size:11px}.story-summary-details strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.manage-story-intro{display:grid;min-width:0;gap:20px}.manage-story-intro h2{margin-top:8px;font-size:26px}.manage-story-intro p{max-width:68ch;font-size:14px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.manage-story-panel form{max-width:720px;gap:16px}.manage-story-panel form>label,.new-chapter-form>label{font-size:14px}.manage-story-panel form input:not([type=checkbox]):not([type=file]),.manage-story-panel form select,.manage-story-panel form textarea,.new-chapter-form input{min-height:44px;font-size:16px}.manage-story-panel form textarea{min-height:120px}.story-cover-preview{width:120px;aspect-ratio:2/3;overflow:hidden;border:1px solid var(--theme-border);border-radius:var(--radius-sm);background:var(--theme-surface-low)}.story-cover-preview-image{display:block;width:100%;height:100%;object-fit:cover}.story-cover-preview .cover-fallback{display:grid;align-content:center;gap:8px;box-sizing:border-box;padding:12px;text-align:center}.manage-story-panel .story-disclosure-fields .check-label{align-items:flex-start;gap:10px!important;font-size:14px!important;line-height:1.45}.manage-story-panel .story-disclosure-fields input[type=checkbox]{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:var(--theme-action)}.modal-card .story-disclosure-fields .check-label{display:flex;align-items:flex-start;gap:10px;line-height:1.45}.modal-card .story-disclosure-fields input[type=checkbox]{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:var(--theme-action)}.story-manage-actions .danger-button,.story-manage-actions .outline-button{min-height:44px;font-size:13px}.managed-chapter-row{min-height:72px}.managed-chapter-row>div b{font-size:14px}.managed-chapter-row>div small{font-size:12px}.chapter-writing{border-radius:var(--radius-md)}.chapter-writing-meta{font-size:12px}.chapter-title-input{font-size:30px}.chapter-content-editor{max-width:76ch;margin-inline:auto;font-size:17px;line-height:1.7}:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}@media (max-width:760px){.topbar{height:56px;padding-inline:16px}.header-write{display:none}.topbar .header-actions{gap:4px;flex-shrink:0}.topbar .header-actions .account-chip,.topbar .header-actions .icon-button{box-sizing:border-box;min-width:44px;width:44px;min-height:44px;height:44px}.discover-heading h1{font-size:clamp(24px,6vw,28px)}.detail-layout{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:8px}.detail-cover{width:min(44vw,166px);max-width:166px}.detail-copy h1{max-width:none;font-size:clamp(25px,7vw,32px)}.story-detail .detail-actions{display:flex;flex-wrap:nowrap;gap:8px}.story-detail .detail-actions>.primary-button{flex:1 1;min-width:0}.story-detail .detail-actions>.story-more-actions,.story-detail .detail-actions>.story-save-action{flex:0 0 44px}.story-recommendations{padding:14px}.library-tabs{width:100%;overflow-x:auto}.library-tabs button{flex:0 0 auto;padding-inline:12px}.library-page-layout .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-card-content{gap:7px;padding:10px}.library-card-content h2{min-height:38px;font-size:14px}.library-page-layout .library-card .continue-link{padding-inline:8px;font-size:12px}.workroom-dashboard{width:100%}.workroom-welcome{min-height:0;align-items:flex-start;gap:18px;padding:20px 16px}.workroom-welcome h1{font-size:clamp(26px,7vw,32px)}.workroom-welcome p{font-size:14px}.workroom-welcome-actions{width:100%;grid-template-columns:1fr auto;align-items:center;justify-items:stretch}.workroom-welcome-actions .primary-button{justify-content:center}.workroom-analytics-link{justify-content:center;padding-inline:8px;font-size:12px}.workroom-stat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workroom-stat-row .stat-card{min-height:76px;padding:12px}.workroom-stat-row .stat-card b{font-size:21px}.workroom-earnings-panel,.workroom-stories-panel{padding:15px}.workroom-story-tools{align-items:stretch}.workroom-status-tabs,.workroom-story-tools>input{width:100%}.workroom-status-tabs button{flex:1 1;justify-content:center;padding-inline:8px}.managed-story{min-height:84px;gap:12px}.managed-story>.cover-fallback,.managed-story>img{width:44px;height:66px;flex-basis:44px}.managed-story b{font-size:14px}.managed-story small{font-size:11px}.workroom-earnings-panel .panel-heading{flex-direction:column}.manage-story-heading,.workroom-earnings-panel .payout-form{grid-template-columns:minmax(0,1fr)}.manage-story-heading{justify-items:center;gap:18px}.manage-story-aside{justify-items:center;width:100%}.story-cover-summary-art{width:132px}.story-summary-details{grid-template-columns:repeat(2,minmax(0,1fr));max-width:380px;text-align:center}.manage-story-intro{width:100%}.manage-story-intro>div:first-child{text-align:center}.story-manage-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.story-manage-actions>*{width:100%;min-width:0;justify-content:center}.story-manage-actions .danger-button{grid-column:1/-1}.managed-chapter-row{grid-template-columns:28px minmax(0,1fr);gap:8px}.managed-chapter-row>.chapter-order-actions{grid-column:1;grid-row:2}.managed-chapter-row>div:not(.chapter-order-actions){grid-column:2}.managed-chapter-row>a,.managed-chapter-row>button{grid-column:2;justify-self:start}.chapter-content-editor{font-size:16px}.discover-feature{min-height:0;max-height:none;grid-template-columns:minmax(104px,124px) minmax(0,1fr);gap:8px;padding:8px}.discovery-layout .discover-feature-meta span{padding:2px 5px;font-size:9px}.discovery-layout .discover-feature-action{min-height:24px;padding:0 6px;font-size:8px}.discovery-layout .story-rail{gap:12px}.discovery-layout .story-card{flex-basis:clamp(132px,38vw,152px);width:clamp(132px,38vw,152px)}.discovery-layout .story-card .save-button{opacity:1;pointer-events:auto;transform:none}.discovery-layout .ranking-board{padding:14px 12px}}@media (max-width:380px){.topbar{padding-inline:12px;gap:8px}.topbar .brand{font-size:14px;gap:6px}.topbar .brand-image{width:26px;height:26px}.discover-feature{grid-template-columns:96px minmax(0,1fr);gap:6px;padding:6px}.discovery-layout .story-card{flex-basis:clamp(124px,40vw,140px);width:clamp(124px,40vw,140px)}}@media (max-width:600px){.library-page-layout .library-grid{grid-template-columns:minmax(0,1fr)}.library-page-layout .library-card{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:0 12px}.library-page-layout .library-card>a.library-cover-link{grid-column:1;grid-row:1;align-self:start;width:76px;height:114px;aspect-ratio:auto}.library-page-layout .library-card>a.library-cover-link>.cover-fallback,.library-page-layout .library-card>a.library-cover-link>img{width:100%;height:100%}.library-page-layout .library-card-content{grid-column:2;grid-row:1;min-width:0;padding:10px 10px 10px 0}.library-page-layout .library-card-content h2{min-height:0}.library-page-layout .library-card-content{height:114px;gap:3px;overflow:hidden;padding:5px 8px 5px 0}.library-page-layout .library-card-content h2{display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:2}.library-page-layout .library-card-content .library-author,.library-page-layout .library-card-content .library-date{overflow:hidden;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.library-page-layout .library-card .continue-link{min-height:26px;padding:3px 6px;font-size:10px}.library-page-layout .library-card .subtle-button{min-height:16px;align-self:flex-start;padding:0;font-size:9px;line-height:1}}.chapter-writing{background:transparent;border:0;border-radius:0;box-shadow:none;padding-top:10px}.chapter-studio-layout{padding-top:10px}.chapter-mobile-select{display:none}.chapter-content-area{position:relative}.chapter-content-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:8px 0}.chapter-content-area.is-empty .chapter-content-actions{position:absolute;inset:0;z-index:1;flex-direction:column;flex-wrap:nowrap;padding:0;pointer-events:none}.chapter-content-action{display:inline-flex;align-items:center;justify-content:center;min-width:132px;min-height:40px;padding:8px 14px;border:1px solid var(--theme-border);border-radius:6px;background:var(--theme-surface);color:var(--theme-text);font:inherit;text-decoration:none;cursor:pointer;pointer-events:auto}.chapter-content-actions>span{color:var(--theme-text-muted);font-size:11px;text-align:center}.chapter-content-message{margin:0;color:var(--theme-text-muted);font-size:11px}.chapter-content-message:empty{display:none}.chapter-content-message.is-error{color:var(--theme-danger)}.chapter-image-input{display:none}.chapter-image-delete{position:absolute;z-index:20;display:grid;place-items:center;width:40px;height:40px;padding:9px;border:1px solid var(--theme-border);border-radius:50%;background:var(--theme-surface);color:var(--theme-danger);box-shadow:0 2px 10px rgb(0 0 0/18%);cursor:pointer;touch-action:manipulation}.chapter-image-delete[hidden]{display:none}.chapter-image-delete svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.chapter-content-editor img{display:block;max-width:100%;height:auto;margin:16px 0}.chapter-content-editor img.is-selected{outline:2px solid var(--theme-action);outline-offset:3px}@media (max-width:700px){.chapter-studio{padding:2px 12px 40px}.chapter-studio-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:0 0 8px}.chapter-studio-top .back-link{grid-column:1;grid-row:1;flex-basis:auto}.chapter-save-status{grid-column:2;grid-row:1;font-size:10px;white-space:nowrap}.chapter-studio-top>div:last-child{grid-column:1/-1;grid-row:2;width:100%;align-items:center}.chapter-mobile-select{display:block;flex:1 1;width:auto;min-width:0;min-height:38px;padding:7px 10px;border:1px solid var(--theme-border);border-radius:6px;background:var(--theme-surface);color:var(--theme-text);font:inherit}.chapter-studio-actions>button{min-height:38px;padding:8px 10px;white-space:nowrap}.chapter-studio-nav{display:none}.chapter-studio-layout{display:block;padding:6px 0}.chapter-writing{padding:4px 0}.chapter-writing-meta{flex-wrap:wrap;gap:8px}.chapter-title-input{margin:8px 0;font-size:22px}}.workspace.workroom-page{padding-top:18px;padding-bottom:32px}.workroom-welcome{min-height:0;margin-bottom:12px;padding:18px 22px}.workroom-welcome h1{margin:5px 0;font-size:clamp(24px,2.5vw,30px)}.workroom-welcome p{font-size:13px}.workroom-welcome-actions{gap:5px}.workroom-welcome-actions .primary-button{min-height:40px;padding-inline:14px;font-size:13px}.workroom-analytics-link{min-height:30px;font-size:12px}.workroom-stat-row{gap:8px;margin-bottom:12px}.workroom-stat-row .stat-card{min-height:68px;gap:4px;padding:9px 12px}.workroom-stat-row .stat-card small{font-size:11px}.workroom-stat-row .stat-card b{font-size:20px}.workroom-stories-panel{margin-block:12px;padding:16px}.workroom-stories-panel .panel-heading{margin-bottom:10px}.workroom-stories-panel .panel-heading h2{font-size:19px}.workroom-stories-panel .panel-heading p{font-size:12px}.workroom-story-tools{margin-bottom:10px}.workroom-story-tools>input{min-height:38px;font-size:13px}.workroom-status-tabs button{min-height:34px;padding-inline:10px;font-size:12px}.managed-story{min-height:72px;gap:12px;padding:8px 6px}.managed-story>.cover-fallback,.managed-story>img{width:40px;height:60px;flex-basis:40px}.managed-story>span{gap:4px}.managed-story b{font-size:13px}.managed-story small{gap:5px;font-size:11px}@media (max-width:760px){.workspace.workroom-page{padding-top:10px;padding-bottom:24px}.workroom-welcome{gap:10px;padding:13px 12px}.workroom-welcome h1{font-size:24px}.workroom-welcome p{font-size:12px}.workroom-welcome-actions{gap:8px}.workroom-stat-row{gap:7px;margin-bottom:10px}.workroom-stat-row .stat-card{min-height:60px;padding:8px 10px}.workroom-stories-panel{padding:12px}.workroom-story-tools{gap:8px;margin-bottom:8px}.workroom-status-tabs{margin-bottom:8px}.managed-story{min-height:68px;gap:9px}.managed-story>.cover-fallback,.managed-story>img{width:36px;height:54px;flex-basis:36px}}.managed-chapter-row{grid-template-columns:30px 78px minmax(0,1fr) auto auto auto;align-items:center;gap:8px}.managed-chapter-row>.chapter-order{grid-column:1;grid-row:1}.managed-chapter-row>.chapter-order-actions{grid-column:2;grid-row:1;display:flex;align-items:center;gap:4px}.managed-chapter-row>.chapter-order-actions button{display:grid;place-items:center;width:36px;min-width:36px;min-height:34px;padding:0;line-height:1}.managed-chapter-row>.chapter-summary{grid-column:3;min-width:0;overflow-wrap:anywhere}.managed-chapter-row>.outline-button{grid-column:4;justify-self:stretch;min-height:36px;padding:7px 10px;white-space:nowrap}.managed-chapter-row>.chapter-status-button{grid-column:5;justify-self:stretch;min-height:36px;padding:7px 10px;white-space:nowrap}.managed-chapter-row>.chapter-delete-button{grid-column:6;justify-self:stretch;min-height:36px;padding:7px 10px}@media (max-width:760px){.managed-chapter-row{grid-template-columns:28px minmax(0,1fr) auto;gap:6px 8px}.managed-chapter-row>.chapter-order{grid-column:1;grid-row:1}.managed-chapter-row>.chapter-order-actions{grid-column:1;grid-row:2;flex-direction:column}.managed-chapter-row>.chapter-order-actions button{width:28px;min-width:28px;min-height:30px}.managed-chapter-row>.chapter-summary{grid-column:2/-1;grid-row:1}.managed-chapter-row>.outline-button{grid-column:2;grid-row:2;justify-self:start}.managed-chapter-row>.chapter-status-button{grid-column:2;grid-row:3;justify-self:start}.managed-chapter-row>.chapter-delete-button{grid-column:3;grid-row:2/4;justify-self:end}}.reader-layout.theme-night{color-scheme:dark;--theme-page:#111112;--theme-text:#e8e6e1;--theme-text-muted:#b1b1b9;--theme-text-subtle:#a0a0aa;--theme-surface:#1c1c1f;--theme-surface-low:#19191c;--theme-surface-raised:#29292e;--theme-border:#48484f;--theme-border-strong:#74747e;--theme-action:#e8e6e1;--theme-action-text:#171719;--theme-field:#19191c;--theme-field-text:#e8e6e1;--theme-focus:#b7a5ff;--theme-danger:#ff9b9b}.reader-layout.theme-paper{color-scheme:light;--theme-page:#ffffff;--theme-text:#222222;--theme-text-muted:#5b5b65;--theme-text-subtle:#62626c;--theme-surface:#ffffff;--theme-surface-low:#f3f3f5;--theme-surface-raised:#e9e9ed;--theme-border:#d0d0d6;--theme-border-strong:#85858f;--theme-action:#242428;--theme-action-text:#ffffff;--theme-field:#ffffff;--theme-field-text:#222222;--theme-focus:#6144a1;--theme-danger:#a12d3a}.reader-layout.theme-warm{color-scheme:light;--theme-page:#f4efe4;--theme-text:#342f28;--theme-text-muted:#655d51;--theme-text-subtle:#6a6256;--theme-surface:#faf6ee;--theme-surface-low:#ece5d8;--theme-surface-raised:#e2d8c7;--theme-border:#c9beaa;--theme-border-strong:#8c7e69;--theme-action:#342f28;--theme-action-text:#faf6ee;--theme-field:#faf6ee;--theme-field-text:#342f28;--theme-focus:#6144a1;--theme-danger:#9d2935}.reader-layout{--reader-bg:var(--theme-page);--reader-ink:var(--theme-text);--theme-primary:var(--theme-action)}.reader-layout .chapter-byline,.reader-layout .chapter-end,.reader-layout .chapter-end a,.reader-layout .chapter-kicker,.reader-layout .chapter-toc span,.reader-layout .reader-aside>span{color:var(--theme-text-muted)}.reader-layout .article-rule{background:var(--theme-border-strong)}.profile-quick-links{margin-bottom:12px}.profile-utility-groups{display:grid;gap:10px;align-items:start}.profile-utility-group{min-width:0;overflow:hidden;border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-surface)}.profile-utility-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 14px;cursor:pointer;list-style:none}.profile-utility-group>summary::-webkit-details-marker{display:none}.profile-utility-group>summary>span{display:grid;gap:3px}.profile-utility-group>summary b{font-size:13px}.profile-utility-group>summary small{color:var(--theme-text-muted);font-size:11px}.profile-utility-group>summary:hover{background:var(--theme-surface-low)}.profile-utility-group>summary .utility-chevron{transition:transform .15s ease}.profile-utility-group[open]>summary{border-bottom:1px solid var(--theme-border)}.profile-utility-group[open]>summary .utility-chevron{transform:rotate(90deg)}.profile-utility-group>.profile-utility-list{border:0;border-radius:0}@media (min-width:900px){.profile-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.profile-quick-links>.profile-utility-row{height:100%;border-bottom:0}.profile-quick-links>.profile-utility-row+.profile-utility-row{border-left:1px solid var(--theme-border)}.profile-utility-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}.community-main .community-post-actions>a,.community-main .community-post-actions>button,.community-post-actions>a,.community-post-actions>button{display:inline-flex;flex:1 1;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px;white-space:nowrap}.community-post-actions .post-action-icon{width:17px;height:17px;flex:none}.community-post-actions [aria-pressed=true]{color:var(--theme-action);font-weight:700}.community-post-actions [data-action=post-like][aria-pressed=true] .post-action-icon{fill:currentColor}@media (max-width:480px){.community-post-actions .post-action-label{display:none}.community-post-actions [data-share-status] .post-action-label{display:inline;font-size:11px}.community-post-actions .post-action-count{font-size:12px}}