/* Author Page v2: only page-specific composition, shared DS tokens/components remain authoritative. */
.rs-author{max-width:1200px;margin:0 auto;padding:clamp(16px,3vw,36px);color:var(--rs-text-primary,inherit)}
.rs-author__preview{font-size:.8rem;opacity:.8;margin-bottom:1rem}
.rs-author__hero{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start}
.rs-author__portrait{display:block;max-width:240px;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:12px}
.rs-author__intro h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.12;margin:.2em 0 .5em}
.rs-author__eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;opacity:.7}
.rs-author__metrics{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.rs-author__metrics span{display:flex;gap:.4rem;align-items:baseline}
.rs-author__bio{line-height:1.7;max-width:78ch;white-space:normal}.rs-author__legacy-link{display:inline-block;margin-top:1rem}
.rs-author__nav{margin:2rem 0}.rs-author__section{margin:2.5rem 0;scroll-margin-top:5rem}.rs-author__section h2{margin-bottom:1.1rem}
.rs-author__series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}
.rs-author__series-card{display:flex;flex-direction:column;gap:.45rem;padding:1.2rem;border:1px solid var(--rs-border-default);border-radius:12px;text-decoration:none;color:inherit;background:var(--rs-surface-1)}
.rs-author__series-card span,.rs-author__book span,.rs-author__book small{opacity:.75;font-size:.85rem}
.rs-author__section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.rs-author__filters{display:flex;gap:.5rem;flex-wrap:wrap}.rs-author__filters a{padding:.45rem .8rem;border-radius:999px;border:1px solid var(--rs-border-default);color:inherit;text-decoration:none}.rs-author__filters a[aria-current=page]{background:var(--rs-surface-2);font-weight:700}
.rs-author__books-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.rs-author__book{display:flex;flex-direction:column;gap:.35rem;min-width:0;text-decoration:none;color:inherit}.rs-author__book img{display:block;width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:8px;background:var(--rs-surface-2)}.rs-author__book strong{line-height:1.35;overflow-wrap:anywhere}
.rs-author__pagination{display:flex;justify-content:center;align-items:center;gap:1.5rem;margin:2rem 0}
@media(min-width:640px){.rs-author__books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:800px){.rs-author__hero{grid-template-columns:240px minmax(0,1fr)}.rs-author__books-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1100px){.rs-author__books-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

.rs-author__series-card:hover,.rs-author__series-card:focus-visible{border-color:var(--rs-border-strong);background:var(--rs-surface-2)}
.rs-author__book:hover strong,.rs-author__book:focus-visible strong{color:var(--rs-info)}
.rs-author__series-card:focus-visible,.rs-author__book:focus-visible,.rs-author__filters a:focus-visible,.rs-author__pagination a:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:3px}
.rs-author__filters a{min-height:var(--rs-touch-target);display:inline-flex;align-items:center}
@media(prefers-reduced-motion:reduce){.rs-author__book,.rs-author__series-card{scroll-behavior:auto}}

/* A neutral portrait placeholder keeps the hero stable when no local portrait exists. */
.rs-author__portrait-placeholder{width:100%;max-width:240px;aspect-ratio:3/4;display:grid;place-items:center;border-radius:12px;background:var(--rs-surface-2);border:1px solid var(--rs-border-default);font-size:clamp(3rem,7vw,5rem);font-weight:700;color:var(--rs-text-secondary)}

.rs-author__result-count{margin:.4rem 0 1rem;color:var(--rs-text-secondary);font-size:.9rem}

/* Author v2: intentional page-specific composition using shared design tokens. */
.rs-author__hero{position:relative;overflow:hidden;padding:clamp(1rem,3vw,2rem);border:1px solid var(--rs-border-default);border-radius:var(--rs-radius-lg);background:linear-gradient(115deg,var(--rs-surface-1),var(--rs-surface-2));isolation:isolate}
.rs-author__cover-ribbon{position:absolute;right:-1rem;top:0;bottom:0;display:flex;width:45%;overflow:hidden;opacity:.16;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 45%);pointer-events:none}
.rs-author__cover-ribbon img{height:100%;width:30%;object-fit:cover;flex:none}
.rs-author__hero .rs-author__intro{position:relative;z-index:1}
.rs-author__series-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))}
.rs-author__series-card{padding:0;overflow:hidden;gap:0}
.rs-author__series-art{display:flex;overflow:hidden;height:135px;background:var(--rs-surface-2)}
.rs-author__series-art img{width:25%;height:100%;object-fit:cover;flex:1;min-width:0}
.rs-author__series-detail{display:flex;flex-direction:column;gap:.4rem;padding:1rem}
.rs-author__series-detail strong{font-size:1rem}.rs-author__series-detail small{color:var(--rs-text-secondary)}
.rs-author__eyebrow{color:var(--rs-text-muted);font-weight:700}
.rs-author__note{color:var(--rs-text-secondary);font-size:.875rem;line-height:1.5}
.rs-author__years{display:grid;gap:.55rem;max-width:700px;margin-top:1.3rem;max-height:420px;overflow:auto;padding-right:.5rem}
.rs-author__year{display:grid;grid-template-columns:4rem minmax(0,1fr) 2.5rem;gap:.75rem;align-items:center;font-size:.85rem}
.rs-author__year-track{height:9px;background:var(--rs-surface-2);border-radius:var(--rs-radius-pill);overflow:hidden}
.rs-author__year-fill{height:100%;border-radius:inherit;background:var(--rs-info)}
.rs-author__load-wrap{text-align:center;margin:2rem 0}.rs-author__load{cursor:pointer;border:1px solid var(--rs-border-strong);border-radius:var(--rs-radius-md);background:var(--rs-surface-2);color:var(--rs-text-primary);padding:.85rem 1.5rem;min-height:var(--rs-touch-target)}
.rs-author__load:hover{background:var(--rs-surface-3)}.rs-author__load:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:3px}
.rs-author__load:disabled{opacity:.6;cursor:wait}
@media(max-width:639px){.rs-author__cover-ribbon{width:65%;opacity:.09}.rs-author__series-art{height:120px}}

/* 1.2: compact biography and genuinely chronological career navigation. */
.rs-author__bio-excerpt{max-width:68ch;line-height:1.65;margin:.75rem 0;color:var(--rs-text-primary)}
.rs-author__biography{max-width:75ch;margin-top:.65rem}
.rs-author__biography summary{cursor:pointer;color:var(--rs-info);font-weight:650;list-style-position:inside;padding:.4rem 0}
.rs-author__biography summary:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:3px}
.rs-author__biography[open] .rs-author__bio{margin-top:.7rem;padding-top:.7rem;border-top:1px solid var(--rs-border-default)}
.rs-author__cover-ribbon{opacity:.10}
.rs-author__career-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:.8rem;margin:1.2rem 0;color:var(--rs-text-secondary)}
.rs-author__career-summary strong{font-size:1.4rem;color:var(--rs-text-primary)}
.rs-author__timeline-scroll{overflow-x:auto;overflow-y:visible;padding:1.5rem .4rem 1rem;scrollbar-width:thin}
.rs-author__timeline-scroll:focus-visible{outline:2px solid var(--rs-border-focus)}
.rs-author__timeline{position:relative;min-width:var(--career-min-width);height:120px;margin:0 22px}
.rs-author__timeline-line{position:absolute;top:46px;left:0;right:0;height:3px;background:var(--rs-border-strong);border-radius:3px}
.rs-author__timeline-event{position:absolute;top:0;transform:translateX(-50%);border:0;background:transparent;color:var(--rs-text-primary);display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:5px;min-width:44px;min-height:105px;padding:0 4px;cursor:pointer;font:inherit}
.rs-author__timeline-dot{order:2;width:14px;height:14px;border:3px solid var(--rs-surface-1);background:var(--rs-info);border-radius:50%;margin-top:13px;box-shadow:0 0 0 1px var(--rs-border-strong)}
.rs-author__timeline-year{order:1;font-size:.8rem;font-weight:700}
.rs-author__timeline-count{order:3;font-size:.76rem;color:var(--rs-text-secondary)}
.rs-author__timeline-event[aria-pressed=true] .rs-author__timeline-dot{background:var(--rs-text-primary);box-shadow:0 0 0 3px var(--rs-info)}
.rs-author__timeline-event:hover .rs-author__timeline-year{text-decoration:underline}
.rs-author__timeline-event:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:2px;border-radius:6px}
.rs-author__career-detail{border:1px solid var(--rs-border-default);border-radius:var(--rs-radius-lg);background:var(--rs-surface-1);padding:clamp(1rem,2vw,1.5rem);margin-top:1.2rem}
.rs-author__career-detail[hidden]{display:none}
.rs-author__career-detail h3{margin:0}
.rs-author__close{border:1px solid var(--rs-border-default);background:var(--rs-surface-2);color:var(--rs-text-primary);border-radius:var(--rs-radius-md);padding:.5rem 1rem;cursor:pointer}
.rs-author__close:focus-visible{outline:2px solid var(--rs-border-focus)}
@media(max-width:639px){.rs-author__hero{gap:1rem}.rs-author__portrait{max-width:150px}.rs-author__portrait-placeholder{max-width:150px}.rs-author__timeline{margin:0 15px}}

/* 1.3: accessible cover/list display using the same book records and AJAX batches. */
.rs-author__view-toolbar{display:flex;justify-content:flex-end;margin:.4rem 0 .7rem}
.rs-author__view-switch{display:inline-flex;gap:.25rem;padding:.2rem;border:1px solid var(--rs-border-default);border-radius:var(--rs-radius-md);background:var(--rs-surface-1)}
.rs-author__view-button{border:0;border-radius:var(--rs-radius-md);background:transparent;color:var(--rs-text-primary);font:inherit;font-size:.875rem;padding:.55rem .75rem;min-height:var(--rs-touch-target);cursor:pointer}
.rs-author__view-button[aria-pressed=true]{background:var(--rs-surface-3);font-weight:700}
.rs-author__view-button:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:2px}
.rs-author__list-head{display:none}
.rs-author__books-grid:not([data-view=list]) .rs-author__book-series{order:4}
.rs-author__books-grid:not([data-view=list]) .rs-author__book-date{order:3}
.rs-author__books-grid:not([data-view=list]) .rs-author__book-title{order:2}
.rs-author__books-grid:not([data-view=list]) .rs-author__book-cover{order:1}
.rs-author__books-grid[data-view=list]{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--rs-border-default)}
.rs-author__books-grid[data-view=list] .rs-author__book{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1.2fr) minmax(4.5rem,.45fr);gap:.8rem;align-items:center;min-height:52px;padding:.7rem .5rem;border-bottom:1px solid var(--rs-border-default)}
.rs-author__books-grid[data-view=list] .rs-author__book:hover{background:var(--rs-surface-1)}
.rs-author__books-grid[data-view=list] .rs-author__book-cover{display:none}
.rs-author__books-grid[data-view=list] .rs-author__book-title{grid-column:1;grid-row:1;font-size:.9rem}
.rs-author__books-grid[data-view=list] .rs-author__book-series{grid-column:2;grid-row:1;font-size:.83rem;overflow-wrap:anywhere}
.rs-author__books-grid[data-view=list] .rs-author__book-date{grid-column:3;grid-row:1;font-size:.83rem}
.rs-author__books-grid[data-view=list] .rs-author__list-head{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1.2fr) minmax(4.5rem,.45fr);gap:.8rem;padding:.7rem .5rem;border-bottom:1px solid var(--rs-border-default);color:var(--rs-text-secondary);font-size:.7rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700}
@media(max-width:639px){
  .rs-author__books-grid[data-view=list] .rs-author__book{grid-template-columns:minmax(0,1fr) 5rem;gap:.2rem .75rem}
  .rs-author__books-grid[data-view=list] .rs-author__book-title{grid-column:1;grid-row:1}
  .rs-author__books-grid[data-view=list] .rs-author__book-series{grid-column:1;grid-row:2}
  .rs-author__books-grid[data-view=list] .rs-author__book-date{grid-column:2;grid-row:1 / span 2;text-align:right}
  .rs-author__books-grid[data-view=list] .rs-author__list-head{grid-template-columns:minmax(0,1fr) 5rem}
  .rs-author__books-grid[data-view=list] .rs-author__list-head span:nth-child(2){display:none}
}

/* v1.4: compact forthcoming release, catalog writing profile, and reader ratings. */
.rs-author__next-release{border:1px solid var(--rs-border-subtle);border-radius:12px;padding:1rem 1.15rem;margin:1.5rem 0;background:var(--rs-surface-1)}
.rs-author__next-release .rs-author__eyebrow{margin:0 0 .75rem}
.rs-author__next-items{display:flex;flex-wrap:wrap;gap:1rem}
.rs-author__next-item{display:flex;align-items:center;gap:.8rem;min-width:220px;flex:1 1 220px;max-width:420px;color:var(--rs-text-primary);text-decoration:none}
.rs-author__next-item img{width:45px;height:67px;object-fit:cover;border-radius:4px;flex:none}
.rs-author__next-item span:nth-child(2){display:grid;gap:.3rem;flex:1;min-width:0}
.rs-author__next-item strong{font-size:.9rem;line-height:1.35}
.rs-author__next-item small{color:var(--rs-text-secondary)}
.rs-author__next-item:hover strong{text-decoration:underline}
.rs-author__genre-list{display:grid;gap:1rem;max-width:760px;margin-top:1.5rem}
.rs-author__genre-row{display:grid;grid-template-columns:minmax(110px,1fr) auto;gap:.4rem 1rem;align-items:center}
.rs-author__genre-name{font-weight:650}
.rs-author__genre-count{font-size:.8rem;color:var(--rs-text-secondary);font-variant-numeric:tabular-nums}
.rs-author__genre-track{grid-column:1/-1;height:7px;border-radius:99px;background:var(--rs-surface-3);overflow:hidden}
.rs-author__genre-track span{display:block;height:100%;background:var(--rs-info);border-radius:99px}
.rs-author__book-rating{display:flex;align-items:center;gap:.25rem;font-size:.8rem;font-weight:700;white-space:nowrap}
.rs-author__book-rating>span{color:var(--rs-rating-accent)}
.rs-author__book-rating small{font-weight:400;color:var(--rs-text-secondary);margin-left:.2rem}
.rs-author__books-grid:not([data-view=list]) .rs-author__book-series{display:none}
.rs-author__timeline-months{position:absolute;top:69px;left:-20px;width:calc(100% + 40px);height:14px;pointer-events:none}
.rs-author__timeline-months i{position:absolute;width:5px;height:8px;border-radius:3px;background:var(--rs-info);opacity:.85;transform:translateX(-50%)}
@media(max-width:639px){.rs-author__next-item{min-width:0}.rs-author__genre-row{grid-template-columns:minmax(0,1fr) auto}}

/* 1.5: exactly two modes, shared rating.css, compact bookshelf-inspired cards. */
.rs-author__release-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;margin:1.5rem 0}
.rs-author__release{display:flex;align-items:center;gap:14px;min-width:0;padding:14px;border:1px solid var(--rs-border-default);border-radius:12px;background:var(--rs-surface-1);text-decoration:none;color:var(--rs-text-primary)}
.rs-author__release:hover,.rs-author__release:focus-visible{border-color:var(--rs-border-strong);background:var(--rs-surface-2)}
.rs-author__release img{flex:none;width:66px;height:99px;object-fit:cover;border-radius:5px}
.rs-author__release-copy{display:grid;gap:6px;min-width:0}.rs-author__release-copy strong{line-height:1.35}.rs-author__release-copy>span{color:var(--rs-text-secondary);font-size:.8rem}
.rs-author__books-grid[data-view=covers]{display:grid;grid-template-columns:1fr;gap:12px}
.rs-author__books-grid[data-view=covers] .rs-author__book{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:start;gap:12px;min-width:0;min-height:142px;padding:12px;border:1px solid var(--rs-border-default);border-radius:12px;background:var(--rs-surface-1);color:var(--rs-text-primary)}
.rs-author__books-grid[data-view=covers] .rs-author__book:hover{border-color:var(--rs-border-strong);background:var(--rs-surface-2)}
.rs-author__books-grid[data-view=covers] .rs-author__book-cover{width:78px;height:117px;aspect-ratio:2/3;object-fit:cover;grid-column:1;grid-row:1}
.rs-author__books-grid[data-view=covers] .rs-author__book-info{display:flex;flex-direction:column;gap:7px;grid-column:2;grid-row:1;min-width:0;opacity:1;font-size:inherit}
.rs-author__book-info .rs-author__book-title{font-size:.95rem;line-height:1.35;opacity:1}
.rs-author__book-info .rs-author__book-date{color:var(--rs-text-secondary);font-size:.8rem;opacity:1}
.rs-author__books-grid[data-view=covers] .rs-author__book-series{display:none}
.rs-author__book-info .rs-author__book-rating{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem;opacity:1;font-size:.8rem;font-weight:normal}
.rs-author__book-info .rs-rating__stars{color:var(--rs-rating-accent);opacity:1;font-size:1.05rem}
.rs-author__book-info .rs-rating__value{color:var(--rs-text-primary);opacity:1}
.rs-author__book-info .rs-author__book-rating small{color:var(--rs-text-secondary);opacity:1;font-weight:400;margin-left:0}
.rs-author__books-grid[data-view=list]{display:flex;flex-direction:column;gap:0}
.rs-author__books-grid[data-view=list] .rs-author__book{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 5rem minmax(7rem,.65fr);gap:10px;align-items:center;min-height:46px;padding:9px 8px;border-bottom:1px solid var(--rs-border-default);border-radius:0;background:transparent}
.rs-author__books-grid[data-view=list] .rs-author__book-cover{display:none}
.rs-author__books-grid[data-view=list] .rs-author__book-info{display:contents}
.rs-author__books-grid[data-view=list] .rs-author__book-title{grid-column:1;grid-row:1;font-size:.85rem}
.rs-author__books-grid[data-view=list] .rs-author__book-series{grid-column:2;grid-row:1;font-size:.78rem;opacity:.75}
.rs-author__books-grid[data-view=list] .rs-author__book-date{grid-column:3;grid-row:1;font-size:.78rem;opacity:.75}
.rs-author__books-grid[data-view=list] .rs-author__book-rating{grid-column:4;grid-row:1;font-size:.75rem}
.rs-author__books-grid[data-view=list] .rs-author__list-head{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 5rem minmax(7rem,.65fr);gap:10px}
.rs-author__books-grid[data-view=list] .rs-author__book-rating small{display:none}
.rs-author__timeline-months{display:none}
.rs-author__timeline-count{white-space:nowrap}
@media(min-width:680px){.rs-author__books-grid[data-view=covers]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1120px){.rs-author__books-grid[data-view=covers]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:679px){
.rs-author__books-grid[data-view=list] .rs-author__book{grid-template-columns:minmax(0,1fr) 4.3rem 5.5rem;gap:6px}
.rs-author__books-grid[data-view=list] .rs-author__book-title{grid-column:1;grid-row:1}
.rs-author__books-grid[data-view=list] .rs-author__book-series{display:none}
.rs-author__books-grid[data-view=list] .rs-author__book-date{grid-column:2;grid-row:1;text-align:right}
.rs-author__books-grid[data-view=list] .rs-author__book-rating{grid-column:3;grid-row:1;justify-content:flex-end}
.rs-author__books-grid[data-view=list] .rs-author__list-head{grid-template-columns:minmax(0,1fr) 4.3rem 5.5rem}
.rs-author__books-grid[data-view=list] .rs-author__list-head span:nth-child(2){display:none}
.rs-author__books-grid[data-view=list] .rs-author__book-rating .rs-rating__stars{display:none}
}

/* 1.6: publication volume encoded by marker area, bounded for legibility. */
.rs-author__timeline-dot{width:var(--career-dot-size,18px);height:var(--career-dot-size,18px);flex:none;margin-top:calc(22px - var(--career-dot-size,18px)/2)}

/* 1.7 release: coherent links, compact cards, accessible genre breakdown and timeline details. */
.rs-author a:hover,.rs-author a:focus-visible,.rs-author a:hover *,.rs-author a:focus-visible *{text-decoration:none}
.rs-author__book-info .rs-author__book-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;opacity:1;font-size:inherit}
.rs-author__books-grid[data-view=covers] .rs-author__book{min-height:0;align-self:stretch;grid-template-columns:78px minmax(0,1fr)}
.rs-author__books-grid[data-view=covers] .rs-author__book-info{justify-content:flex-start}
.rs-author__books-grid[data-view=covers] .rs-author__book-meta{margin-top:.15rem}
.rs-author__books-grid[data-view=covers] .rs-author__book-rating{white-space:nowrap;flex-wrap:nowrap}
.rs-author__books-grid[data-view=list] .rs-author__book-meta{display:contents}
.rs-author__books-grid[data-view=list] .rs-author__book-rating small{display:inline;font-size:.72rem;opacity:.8}
.rs-author__books-grid[data-view=list] .rs-author__book-rating{white-space:nowrap;display:flex;gap:.2rem;align-items:center}
.rs-author__books-grid[data-view=list] .rs-author__book-rating .rs-rating__stars{display:inline}
.rs-author__section-head:has(.rs-author__filters){margin-bottom:.5rem}
.rs-author__view-toolbar{margin-top:-.2rem;margin-bottom:.5rem}
.rs-author__writing-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:clamp(1.25rem,4vw,3rem);margin-top:1.3rem}
.rs-author__writing-layout h3{font-size:1rem;margin:0 0 1rem}
.rs-author__classification{min-width:0}
.rs-author__donut{width:min(210px,75%);aspect-ratio:1;border-radius:50%;background:var(--author-donut);display:grid;place-items:center;margin:1rem auto;position:relative}
.rs-author__donut:before{content:'';position:absolute;inset:22%;border-radius:50%;background:var(--rs-surface-1)}
.rs-author__donut>span{position:relative;display:flex;flex-direction:column;align-items:center;gap:.15rem}
.rs-author__donut strong{font-size:1.65rem}.rs-author__donut small{color:var(--rs-text-secondary)}
.rs-author__classification-legend{display:grid;gap:.6rem;margin:1rem 0}
.rs-author__classification-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:.55rem;font-size:.85rem}
.rs-author__classification-item i{width:10px;height:10px;border-radius:50%}
.rs-author__classification-item strong{font-variant-numeric:tabular-nums}
.rs-author__writing-layout .rs-author__genre-list{margin:0;align-content:start}
.rs-author__career-detail{margin-top:.75rem}
.rs-author__year-books{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:0 1.25rem!important}
.rs-author__year-books .rs-author__book{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;min-height:0!important;padding:.7rem 0!important;gap:.65rem!important;border:0!important;border-bottom:1px solid var(--rs-border-default)!important;border-radius:0!important;background:transparent!important}
.rs-author__year-books .rs-author__book-cover{display:block!important;width:36px!important;height:54px!important;grid-column:1!important;grid-row:1!important;object-fit:cover!important}
.rs-author__year-books .rs-author__book-info{display:flex!important;flex-direction:column!important;gap:.25rem!important;grid-column:2!important;grid-row:1!important}
.rs-author__year-books .rs-author__book-title{font-size:.85rem!important}
.rs-author__year-books .rs-author__book-meta{display:flex!important;justify-content:flex-start!important;gap:.6rem!important}
.rs-author__year-books .rs-author__book-series{display:none!important}
.rs-author__year-books .rs-author__book-rating small{display:none!important}
.rs-author__timeline-event:hover .rs-author__timeline-year{text-decoration:none;color:var(--rs-info)}
@media(max-width:700px){.rs-author__writing-layout{grid-template-columns:1fr}.rs-author__donut{width:170px}.rs-author__books-grid[data-view=list] .rs-author__book-rating small{display:none}}

/* 1.8: compact responsive timeline, unambiguous card hierarchy. */
.rs-author .rs-author__timeline-scroll{overflow:visible;padding:1rem 0 .35rem}
.rs-author .rs-author__timeline--adaptive{min-width:0!important;margin:0!important;display:grid;grid-template-columns:repeat(var(--career-columns),minmax(0,1fr));height:auto;min-height:105px;align-items:start;position:relative}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-line{top:43px;left:4%;right:4%}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-event{position:relative;left:auto!important;top:auto;transform:none;min-width:0;min-height:102px;width:100%;padding:0 1px;gap:6px;z-index:1}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-dot{order:2;margin:0;height:var(--career-dot-size);width:var(--career-dot-size);min-width:var(--career-dot-size);max-width:100%;align-self:center;position:relative;top:0}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-year{order:1;font-size:clamp(.58rem,1vw,.8rem);white-space:nowrap}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-count{order:3;font-size:clamp(.58rem,.9vw,.76rem);white-space:nowrap}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-event:disabled{cursor:default;opacity:.5}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-event:disabled .rs-author__timeline-dot{background:var(--rs-surface-1);width:8px;height:8px;min-width:8px}
.rs-author__books-grid[data-view=covers] .rs-author__book-info{display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.rs-author__books-grid[data-view=covers] .rs-author__book-title{order:0!important;display:block!important}
.rs-author__books-grid[data-view=covers] .rs-author__book-meta{order:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:.4rem!important}
.rs-author__books-grid[data-view=covers] .rs-author__book-date{order:0!important}
.rs-author__books-grid[data-view=covers] .rs-author__book-rating{order:1!important}
.rs-author__books-grid[data-view=list] .rs-author__book-rating small{display:inline!important}
.rs-author a:hover,.rs-author a:focus-visible{text-decoration:none!important}
.rs-author a:focus-visible,.rs-author button:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:2px}
@media(max-width:700px){.rs-author .rs-author__timeline--adaptive{grid-template-columns:repeat(var(--career-columns),minmax(0,1fr))}.rs-author .rs-author__timeline--adaptive .rs-author__timeline-count{font-size:.55rem}.rs-author .rs-author__timeline--adaptive .rs-author__timeline-year{font-size:.58rem}}

/* Author actions, consistent with the hero composition. */
.rs-author__favorite { margin-top: 1rem; position: relative; z-index: 2; }
.rs-author__hero a:hover { text-decoration: none; }

/* 2.2: Bookshelf-inspired catalog controls, shared design tokens. */
.rs-author__catalog-toolbar{display:flex;align-items:stretch;flex-wrap:wrap;gap:.65rem;padding:14px;margin:1rem 0 1.15rem;border:1px solid var(--rs-border-default);border-radius:16px;background:var(--rs-surface-1)}
.rs-author__catalog-toolbar .rs-author__control{flex:1 1 180px;min-width:0;display:flex}
.rs-author__catalog-toolbar select{width:100%;min-height:43px;padding:.55rem 2rem .55rem .75rem;border:1px solid var(--rs-border-default);border-radius:9px;background:var(--rs-surface-2);color:var(--rs-text-primary);font:inherit;cursor:pointer}
.rs-author__catalog-toolbar select:focus-visible{outline:2px solid var(--rs-border-focus);outline-offset:2px}
.rs-author__catalog-toolbar .rs-author__view-switch{margin:0;align-self:center;white-space:nowrap}
.rs-author__sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rs-author__series-detail{display:flex;flex-wrap:wrap;align-items:center;column-gap:.7rem;row-gap:.3rem}
.rs-author__series-detail>small{flex-basis:100%}
.rs-author__series-complete{display:inline-flex;align-items:center;border:1px solid var(--rs-border-default);border-radius:999px;padding:.2rem .5rem;color:var(--rs-text-secondary);font-size:.72rem;line-height:1.2}
.rs-author__year-books .rs-author__book-title{order:0!important;font-size:.9rem!important;color:var(--rs-text-primary)}
.rs-author__year-books .rs-author__book-meta{order:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.25rem!important}
.rs-author__year-books .rs-author__book-date{order:0!important}
.rs-author__year-books .rs-author__book-rating{order:1!important}
.rs-author__year-books .rs-author__book-rating small{display:inline!important}
.rs-author__year-books .rs-author__book-cover{width:50px!important;height:75px!important}
.rs-author__year-books .rs-author__book{grid-template-columns:50px minmax(0,1fr)!important}
.rs-author__year-books{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.rs-author__catalog-toolbar a:hover,.rs-author__series-card:hover,.rs-author__book:hover{text-decoration:none}
@media(max-width:560px){.rs-author__catalog-toolbar .rs-author__control{flex-basis:100%}.rs-author__catalog-toolbar .rs-author__view-switch{width:100%;justify-content:stretch}.rs-author__catalog-toolbar .rs-author__view-button{flex:1}}

/* 2.3: series metadata is editorial information, never a button or pill. */
.rs-author .rs-author__series-detail{display:flex;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:.35rem;padding:1rem 1.1rem 1.15rem;min-width:0}
.rs-author .rs-author__series-name{display:block;max-width:100%;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.rs-author .rs-author__series-count{display:block;flex-basis:auto;max-width:100%;font-size:.8rem;line-height:1.45;color:var(--rs-text-secondary)}
.rs-author .rs-author__series-complete{display:inline-flex;align-items:center;gap:.32rem;max-width:100%;margin-top:.12rem;padding:0;border:0;border-radius:0;background:transparent;color:var(--rs-success-text,var(--rs-success,var(--rs-color-success,#42b983)));font-size:.78rem;font-weight:600;line-height:1.45;white-space:normal}
.rs-author .rs-author__series-complete [aria-hidden]{font-weight:800}

/* v2.4: chronological series metadata, informational rather than interactive */
.rs-author .rs-author__series-meta{display:flex;flex-wrap:wrap;align-items:center;column-gap:.85rem;row-gap:.2rem;min-height:1.2rem}
.rs-author .rs-author__series-years{color:var(--rs-text-secondary);font-size:.78rem;line-height:1.45;font-variant-numeric:tabular-nums}
.rs-author .rs-author__series-meta .rs-author__series-complete{margin-top:0}


/* Author Page v2.5: actions, mobile career alignment, and controlled spacing. */
.rs-author__hero{position:relative}
.rs-author__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rs-author__hero .rs-author__intro{padding-top:26px}
.rs-author .rs-author__timeline-scroll{overflow-x:auto;overflow-y:hidden;padding:1rem 0 .5rem;scrollbar-width:thin;overscroll-behavior-inline:contain}
.rs-author .rs-author__timeline--adaptive{min-width:max(100%,calc(var(--career-columns) * 114px))!important;grid-template-columns:repeat(var(--career-columns),minmax(114px,1fr));margin:0!important;position:relative}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-event{display:grid;grid-template-rows:24px 56px 25px;justify-items:center;align-items:center;gap:0;min-height:105px;padding:0 5px}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-year{grid-row:1;font-size:.76rem;line-height:1.1;white-space:nowrap}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-dot{grid-row:2;align-self:center;justify-self:center;box-sizing:border-box;margin:0!important;top:auto!important;max-width:none}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-count{grid-row:3;font-size:.74rem;line-height:1.2;white-space:nowrap}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-line{top:52px;left:57px;right:57px}
.rs-author__series-years{color:var(--rs-text-secondary,#a9b1bb);font-weight:600}
.rs-author__series-complete{color:var(--rs-success,#38b879)!important;opacity:1!important;font-weight:650}
.rs-author__result-count{margin:.25rem 0 .85rem}

/* v2.6: unified hero actions, compact bookshelf-style controls, and series metadata. */
.rs-author .rs-author__catalog-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 12px;margin:0 0 .75rem;border-radius:13px;background:var(--rs-surface-1)}
.rs-author .rs-author__catalog-toolbar .rs-author__control{flex:0 1 240px;min-width:175px}
.rs-author .rs-author__catalog-toolbar select{min-height:42px;font-size:.9rem}
.rs-author .rs-author__catalog-toolbar .rs-author__view-switch{margin-left:auto;flex:none}
.rs-author .rs-author__catalog-toolbar .rs-author__view-button{min-height:38px;padding:.45rem .75rem}
.rs-author .rs-author__result-count{margin:.5rem 0 .85rem;font-size:.85rem}
.rs-author .rs-author__series-card{display:flex;flex-direction:column;gap:0;overflow:hidden;background:var(--rs-surface-1);transition:border-color .16s ease,background .16s ease}
.rs-author .rs-author__series-art{flex:none}
.rs-author .rs-author__series-detail{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:.35rem;padding:1rem 1.05rem 1.1rem}
.rs-author .rs-author__series-name{font-size:1.05rem;line-height:1.3;color:var(--rs-text-primary);opacity:1;font-weight:700}
.rs-author .rs-author__series-count{font-size:.8rem;line-height:1.4;opacity:1;color:var(--rs-text-secondary)}
.rs-author .rs-author__series-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .8rem;margin-top:auto;padding-top:.55rem;min-height:1.6rem}
.rs-author .rs-author__series-years{font-size:.8rem;opacity:1;color:var(--rs-text-secondary);font-weight:550}
.rs-author .rs-author__series-complete{font-size:.78rem;opacity:1;color:var(--rs-success-text,var(--rs-success,#43bc80))!important;font-weight:600;white-space:nowrap}
.rs-author .rs-author__timeline-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.rs-author .rs-author__timeline--adaptive{min-width:max(100%,calc(var(--career-columns) * 126px))!important;grid-template-columns:repeat(var(--career-columns),minmax(126px,1fr))!important}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-event{grid-template-rows:26px 58px 28px;min-height:112px}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-year{font-size:.77rem;line-height:1.15;white-space:nowrap}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-dot{grid-row:2;justify-self:center;align-self:center;position:relative;top:auto;transform:none;box-sizing:border-box}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-line{top:54px;left:63px;right:63px;transform:none}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-count{font-size:.75rem;line-height:1.2;white-space:nowrap}
.rs-author .rs-author__timeline-event:hover .rs-author__timeline-year{text-decoration:none}
.rs-author a:hover,.rs-author a:focus-visible{text-decoration:none!important}
@media(max-width:639px){
 .rs-author .rs-author__catalog-toolbar .rs-author__control{flex:1 1 100%;min-width:0}
 .rs-author .rs-author__catalog-toolbar .rs-author__view-switch{margin-left:0;width:100%;display:flex}
 .rs-author .rs-author__catalog-toolbar .rs-author__view-button{flex:1}
 .rs-author .rs-author__timeline--adaptive{min-width:calc(var(--career-columns) * 126px)!important}
 .rs-author .rs-author__timeline--adaptive .rs-author__timeline-year{font-size:.77rem}
 .rs-author .rs-author__timeline--adaptive .rs-author__timeline-count{font-size:.72rem}
}

/* Author Page v2.7: desktop timeline fits its container, mobile scrolls.
   The track ends at the centres of the first and last year markers. */
@media (min-width: 1100px) {
  .rs-author .rs-author__timeline-scroll {
    overflow-x: clip;
  }
  .rs-author .rs-author__timeline--adaptive {
    width: 100%;
    min-width: 0 !important;
    grid-template-columns: repeat(var(--career-columns), minmax(0, 1fr)) !important;
  }
  .rs-author .rs-author__timeline--adaptive .rs-author__timeline-line {
    left: calc(50% / var(--career-columns));
    right: calc(50% / var(--career-columns));
    top: 55px;
  }
}
@media (max-width: 1099px) {
  .rs-author .rs-author__timeline-scroll {
    overflow-x: auto;
  }
  .rs-author .rs-author__timeline--adaptive {
    width: max-content;
    min-width: max(100%, calc(var(--career-columns) * 126px)) !important;
    grid-template-columns: repeat(var(--career-columns), minmax(126px, 1fr)) !important;
  }
  .rs-author .rs-author__timeline--adaptive .rs-author__timeline-line {
    left: calc(50% / var(--career-columns));
    right: calc(50% / var(--career-columns));
    top: 55px;
  }
}

/* v2.8: centered track at every responsive width. Hero Action appearance is owned by Design System. */
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-line{left:calc(50% / var(--career-columns));right:calc(50% / var(--career-columns));top:55px}

/* v3.0: biography without duplicate excerpt; timeline track follows actual marker centers. */
.rs-author .rs-author__bio-excerpt[hidden]{display:none!important}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-line{left:calc(50% / var(--career-columns));right:calc(50% / var(--career-columns));top:55px}
.rs-author__release-rating{display:inline-flex;align-items:center;gap:.3rem;flex-wrap:wrap;font-size:.78rem;color:var(--rs-text-secondary)}
.rs-author__release-rating>span{color:var(--rs-rating-accent,#e5ad48)}
.rs-author__release-rating small{font-size:.75rem}

/* v3.1: focused visual fixes. No change to author data or interaction. */
.rs-author .rs-author__hero .rs-author__intro{padding-top:0}
.rs-author .rs-author__hero{align-items:start}
/* The line sits behind the markers and extends under the first/last marker. */
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-line{left:0;right:0;top:55px;z-index:0}
.rs-author .rs-author__timeline--adaptive .rs-author__timeline-event{z-index:1}
/* v3.2.1: Only the star changes color according to rating type. */
.rs-author .rs-author__book-rating .rs-rating__stars,
.rs-author .rs-author__release-rating > span{color:var(--rs-rating-accent,#e5ad48)}
.rs-author .rs-author__book-rating--anticipation .rs-rating__stars,
.rs-author .rs-author__release-rating--anticipation > span{color:var(--rs-info,#7eb9f0)}
.rs-author .rs-author__book-rating .rs-rating__value,
.rs-author .rs-author__release-rating{color:var(--rs-text-primary,#f2f2f2)}
.rs-author .rs-author__book-rating small,
.rs-author .rs-author__release-rating small{color:var(--rs-text-secondary,#b3bac2)}
/* Large chart segments use calmer tones; legend swatches keep shared genre colors. */
.rs-author{--rs-author-chart-fantasy:#409f69;--rs-author-chart-scifi:#447fb8;--rs-author-chart-horror:#c95763;--rs-author-chart-other:#777f86}
.rs-author .rs-author__series-complete{color:#65d99a!important}

/* Publication timeline: dated upcoming count breakdown. */
.rs-author__timeline-breakdown { display:block; font-size:0.72rem; color:var(--rs-text-muted,#a4abb4); white-space:nowrap; }
