.work-page{min-height:calc(100vh - 190px);padding-top:25px;padding-bottom:78px}.work-crumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin-bottom:22px}.work-crumb strong{color:var(--green2)}
.work-hero{display:grid;grid-template-columns:300px minmax(0,1fr);gap:42px;align-items:center;padding:8px 0 48px}.work-cover-frame{width:300px;aspect-ratio:300/430;border-radius:14px;border:1px solid var(--line);box-shadow:0 20px 42px rgba(31,41,55,.16)}.work-overview{max-width:760px}.work-status-row{display:flex;align-items:center;gap:9px;margin-bottom:15px}.work-status,.work-rating{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:6px;font-size:11px;font-weight:850}.work-status{background:var(--mint2);color:var(--green2)}.work-rating{background:#2d2526;color:#ffe45f}.work-overview h1{font-size:clamp(38px,5vw,66px);letter-spacing:-3.8px;line-height:1.1;margin:0 0 10px}.work-author{color:var(--muted);font-size:14px;margin:0 0 22px}.work-description{max-width:610px;color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 24px}.work-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}.work-meta span{display:flex;flex-direction:column;gap:5px;border-left:2px solid var(--line);padding-left:12px;color:var(--muted);font-size:12px}.work-meta b{color:var(--ink);font-size:11px}.work-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.work-actions .primary-button{min-width:150px}.outline-button,.ghost-button{min-height:44px;padding:0 17px;border-radius:8px;font-size:13px;font-weight:850;cursor:pointer}.outline-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--green);color:var(--green2);background:#fff}.outline-button.is-bookmarked{background:var(--mint2);border-color:var(--green);color:var(--green2)}.ghost-button{border:1px solid var(--line);background:transparent;color:var(--muted)}.work-note{font-size:11px;color:var(--muted);margin:17px 0 0}.chapter-section{border-top:1px solid var(--line);padding-top:35px}.chapter-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}.chapter-head h2{font-size:27px;letter-spacing:-1.4px;margin:0 0 5px}.chapter-head p{font-size:12px;color:var(--muted);margin:0}.chapter-head label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.chapter-head select{border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fff;color:var(--ink)}.chapter-list{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.chapter-row{min-height:72px;display:grid;grid-template-columns:58px minmax(0,1fr) auto 22px;align-items:center;gap:14px;padding:10px 20px;border-bottom:1px solid var(--line);transition:background .2s}.chapter-row:last-child{border-bottom:0}.chapter-row:hover{background:#f6f7f8}.chapter-number{font-size:17px;color:var(--green);font-weight:900}.chapter-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.chapter-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chapter-copy small,.chapter-views{font-size:11px;color:var(--muted)}.chapter-row>b{font-size:18px;color:#9ca3af}.work-recommend{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:14px;background:#f7f8fa;padding:24px 28px;margin-top:28px}.work-recommend>div>span{font-size:10px;letter-spacing:1.7px;font-weight:900;color:var(--green2)}.work-recommend h2{font-size:22px;margin:8px 0 5px}.work-recommend p{color:var(--muted);font-size:12px;margin:0}.work-recommend .outline-button{flex:0 0 auto}
@media(max-width:760px){.work-page{padding-top:18px;padding-bottom:54px}.work-hero{grid-template-columns:170px minmax(0,1fr);gap:20px;align-items:start;padding-bottom:34px}.work-cover-frame{width:170px}.work-overview h1{font-size:34px;letter-spacing:-2.2px}.work-author{font-size:12px;margin-bottom:13px}.work-description{font-size:12px;line-height:1.65;margin-bottom:16px}.work-meta{gap:8px;margin-bottom:18px}.work-meta span{font-size:10px}.work-actions{gap:7px}.work-actions .primary-button{min-width:0}.outline-button,.ghost-button{min-height:40px;padding-inline:12px;font-size:11px}.work-note{font-size:10px}.chapter-head{align-items:flex-start;flex-direction:column;gap:12px}.chapter-row{grid-template-columns:42px minmax(0,1fr) 20px;gap:9px;padding-inline:13px}.chapter-views{display:none}.chapter-copy strong{font-size:12px}.work-recommend{align-items:flex-start;flex-direction:column;padding:21px}.work-recommend .outline-button{align-self:flex-start}}
@media(max-width:520px){.work-hero{grid-template-columns:1fr;gap:22px}.work-cover-frame{width:min(72vw,280px);justify-self:center}.work-overview h1{font-size:38px}.work-actions .primary-button{width:100%}.work-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.work-actions .primary-button{grid-column:1/-1}.work-actions .outline-button,.work-actions .ghost-button{width:100%}}

/* Compact title and labeled details keep the work information easy to scan. */
.work-overview h1{font-size:32px;letter-spacing:-1px;line-height:1.35;margin:0 0 20px;overflow-wrap:anywhere}
.work-details{margin:0 0 24px;display:grid;gap:12px}
.work-details>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:baseline}
.work-details dt{color:var(--ink);font-size:14px;font-weight:750;line-height:1.7}
.work-details dd{margin:0;color:var(--muted);font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.work-details .work-description{max-width:none;white-space:pre-line}
@media(max-width:760px){.work-overview h1{font-size:28px}.work-details>div{grid-template-columns:48px minmax(0,1fr);gap:12px}}
@media(max-width:520px){.work-overview h1{font-size:24px;letter-spacing:-.6px;margin-bottom:18px}.work-details{gap:10px;margin-bottom:20px}}

.work-info-card{border:1px solid #e8eaee;border-radius:16px;background:#fafbfc;padding:24px;margin-bottom:24px}
.work-info-card .work-details{grid-template-columns:1fr 1fr;gap:20px 28px;margin:0}
.work-info-card .work-details>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.work-info-card .work-details>div:first-child{grid-column:1/-1}
.work-info-card .work-details dt{color:#777e89;font-size:12px;line-height:1.5;font-weight:600}
.work-info-card .work-details dd{color:#252a34;font-size:14px;font-weight:650;line-height:1.6}
.work-genre-tag{display:inline-block;padding:4px 10px;border:1px solid #f6dce1;background:#fff4f6;border-radius:6px;color:#c32041;font-size:13px;font-weight:650}
.work-synopsis{border-top:1px solid #e6e8ec;margin-top:21px;padding-top:18px}
.work-synopsis h2{font-size:13px;margin:0 0 9px;font-weight:750;color:#343b48;letter-spacing:0}
.work-synopsis .work-description{margin:0;max-width:none;font-size:14px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere;color:#596170}
.work-synopsis .is-empty{color:#9298a2;font-size:13px}
.work-info-card .work-meta{margin:20px -24px -24px;padding:15px 24px;background:#f2f4f7;border-radius:0 0 16px 16px;gap:28px}
.work-info-card .work-meta span{border:0;padding:0;flex-direction:row;align-items:center;gap:10px}
.work-info-card .work-meta b{color:#7b818c;font-weight:500}
.work-info-card .work-meta strong{color:#363d49;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:760px){.work-info-card{padding:18px}.work-info-card .work-details{gap:16px}.work-info-card .work-meta{margin:18px -18px -18px;padding:14px 18px;gap:12px 22px}.work-info-card .work-meta span{gap:8px}}

/* Make the primary reading action unmistakable and easy to scan. */
.continue-reading-button{min-width:220px!important;min-height:58px!important;display:inline-flex!important;align-items:center;justify-content:flex-start!important;gap:11px;padding:7px 12px!important;border:1px solid #e50020!important;border-radius:10px!important;background:#e50020!important;color:#fff!important;box-shadow:0 10px 22px rgba(229,0,32,.22)!important;transition:transform .2s,box-shadow .2s,background .2s}
.continue-reading-button:hover{transform:translateY(-2px);background:#c9001c!important;box-shadow:0 14px 28px rgba(229,0,32,.28)!important}
.continue-button-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:rgba(255,255,255,.18)}
.continue-button-icon svg{width:21px;height:21px;fill:#fff;stroke:none}
.continue-button-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:1px;line-height:1.25}
.continue-button-copy small{color:rgba(255,255,255,.82);font-size:13px;font-weight:650}
.continue-button-copy strong{color:#fff;font-size:15px;font-weight:900}
.continue-button-arrow{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:520px){.continue-reading-button{min-width:0!important}}

/* Readability floor for work metadata, status chips, chapter controls, and notes. */
body :where(.work-crumb,.work-crumb span,.work-status,.work-rating,.work-meta span,.work-meta b,.work-note,.chapter-head p,.chapter-head label,.chapter-copy small,.chapter-views,.work-recommend>div>span,.work-recommend p){font-size:max(13px,1em)!important}
.api-cover{background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;background-color:#f1f2f4}
#workRoot[aria-busy="true"]{opacity:.7;transition:opacity .2s}
.first-chapter-button{min-height:58px;white-space:nowrap;background:#17191c;border-color:#17191c;color:#fff}
.first-chapter-button:hover{background:#30343a;border-color:#30343a;color:#fff}
.first-chapter-button:focus-visible{outline:2px solid #17191c;outline-offset:3px}
@media(max-width:520px){
  .work-actions.has-continue{grid-template-columns:minmax(0,1fr) auto}
  .work-actions.has-continue .continue-reading-button{grid-column:auto}
  .work-actions.has-continue .first-chapter-button{min-height:58px;padding-inline:16px}
}

/* Chapter previews use the actual first reader page, before the title. */
.chapter-row{grid-template-columns:84px minmax(0,1fr) auto 22px;min-height:88px}
.chapter-preview{display:flex;align-items:center;justify-content:center;width:84px;height:64px;overflow:hidden;border-radius:6px;background:#f1f3f5;border:1px solid #e6e8eb;color:#8b929c;font-size:10px;text-align:center}
.chapter-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.chapter-preview.is-unavailable{color:#9ca3af}
@media(max-width:760px){.chapter-row{grid-template-columns:28px 64px minmax(0,1fr) 14px;gap:10px;padding:12px}.chapter-preview{width:64px;height:56px}.chapter-copy strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45}.chapter-number{font-size:15px}}

/* A shared top/bottom line pairs the cover with the title and reading actions. */
.work-hero{grid-template-columns:280px minmax(0,1fr);gap:32px 40px;align-items:stretch;padding:8px 0 36px}
.work-cover-frame{width:280px;align-self:start;border-radius:10px;box-shadow:0 8px 24px rgba(31,41,55,.12)}
.work-overview{display:flex;flex-direction:column;min-width:0;min-height:401.33px;max-width:none}
.work-overview h1{margin:0 0 12px;line-height:1.25}
.work-status-row{margin-bottom:24px}
.work-info-card{background:none;border:0;border-radius:0;padding:0;margin:0 0 24px}
.work-info-card .work-details{grid-template-columns:1.1fr .7fr 1fr;gap:20px;padding:20px 0;border-top:1px solid var(--line)}
.work-info-card .work-details>div:first-child{grid-column:auto}
.work-info-card .work-meta{margin:0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:none;gap:16px 30px}
.work-actions{margin-top:auto}
.work-actions .outline-button,.work-actions .ghost-button{min-height:58px}
.work-hero>.work-synopsis{grid-column:1/-1;margin:0;padding:24px 28px;background:#f7f8fa;border:1px solid #eceef1;border-radius:10px}
.work-synopsis h2{font-size:15px;margin-bottom:10px}
.work-synopsis .work-description{max-width:100%;font-size:14px;line-height:1.85}
@media(min-width:761px) and (max-width:1000px){.work-hero{grid-template-columns:240px minmax(0,1fr);column-gap:28px}.work-cover-frame{width:240px}.work-overview{min-height:344px}.work-info-card .work-details{gap:12px}.work-status-row{margin-bottom:16px}}
@media(max-width:760px){.work-hero{grid-template-columns:170px minmax(0,1fr);gap:24px}.work-cover-frame{width:170px}.work-overview{min-height:243.67px}.work-info-card{padding:0;margin-bottom:16px}.work-info-card .work-details{grid-template-columns:1fr 1fr;gap:14px;padding:14px 0}.work-info-card .work-details>div:first-child{grid-column:1/-1}.work-info-card .work-meta{margin:0;padding:14px 0;gap:12px 20px}.work-hero>.work-synopsis{padding:20px}.work-status-row{margin-bottom:8px}.work-note{margin-top:auto}}
@media(max-width:520px){.work-hero{grid-template-columns:116px minmax(0,1fr);gap:20px 18px}.work-cover-frame{width:116px;grid-column:1;grid-row:1;justify-self:start}.work-overview{display:contents}.work-heading{grid-column:2;grid-row:1;min-width:0;align-self:start}.work-overview h1{margin-bottom:12px;font-size:24px}.work-status-row{flex-wrap:wrap}.work-info-card,.work-note,.work-actions{grid-column:1/-1}.work-info-card{margin:0}.work-note{margin:0}.work-hero>.work-synopsis{padding:18px}.work-info-card .work-details{grid-template-columns:1fr 1fr}.work-actions .outline-button,.work-actions .ghost-button{min-height:44px}}
.work-synopsis .work-description.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.work-description-toggle{display:inline-flex;align-items:center;gap:7px;min-height:36px;margin:8px 0 0;padding:0;border:0;background:transparent;color:var(--green2);font-size:13px;font-weight:750;cursor:pointer}
.work-description-toggle[hidden]{display:none!important}
.work-description-toggle span{font-size:17px;line-height:1}
.work-description-toggle:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:3px}
.chapter-stats{display:flex;align-items:center;justify-content:flex-end;gap:14px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.chapter-stats strong{font-weight:700}
.chapter-view-count{color:#2563eb}
.chapter-comment-count{color:#e50020}
@media(max-width:760px){.chapter-row:has(.chapter-stats){grid-template-columns:64px minmax(0,1fr) auto 14px}.chapter-stats{flex-direction:column;align-items:flex-end;gap:5px;font-size:12px}}
@media(max-width:420px){.chapter-row:has(.chapter-stats){grid-template-columns:48px minmax(0,1fr) auto 12px;gap:8px;padding:10px}.chapter-row:has(.chapter-stats) .chapter-preview{width:48px;height:48px}}
.chapter-jump{position:fixed;right:max(16px,calc((100vw - 1440px)/2));bottom:80px;z-index:35;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 4px 20px #17203312}
.chapter-jump[hidden]{display:none}
.chapter-jump button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:56px;height:58px;padding:6px;border:0;background:transparent;color:#6b7280;font:inherit;font-size:10px;font-weight:600;cursor:pointer}
.chapter-jump svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.chapter-jump button:hover{background:#fff3f5;color:#e50020}
.chapter-jump button:focus-visible{outline:2px solid #e50020;outline-offset:-3px}
@media(max-width:760px){.chapter-jump{right:10px;bottom:calc(20px + env(safe-area-inset-bottom));border-radius:12px}.chapter-jump button{width:46px;height:48px;font-size:9px}.chapter-jump svg{width:18px;height:18px}}
