/* Fiction styles. Generated from main.css by tools/split-discovery-css.php. */

.fiction-rating-review textarea {
    min-height: 140px;
}

.fiction-detail-page,
.chapter-reader-page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 92px;
}

.fiction-detail-hero-shell {
    margin-bottom: 48px;
}

.fiction-detail-hero-shell--has-banner {
    overflow: hidden;
    border-radius: 16px;
    background: var(--reader-panel, #f8f6f0);
    box-shadow: 0 24px 60px rgba(23, 32, 38, 0.14);
}

.fiction-detail-banner {
    overflow: hidden;
    aspect-ratio: 4 / 1;
    background: #1f2a35;
}

.fiction-detail-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fiction-detail-hero-shell--has-banner .fiction-detail-hero {
    padding: 36px;
}

.fiction-detail-hero {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.fiction-detail-cover {
    align-self: start;
    width: 360px;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    background: #1f2a35;
    box-shadow: 0 22px 58px rgba(23, 32, 38, 0.22);
}

.fiction-detail-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.author-book-cover {
    position: relative;
    overflow: hidden;
}

.author-book-cover > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-book-cover__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.16) 42%, rgba(15, 23, 42, 0.62));
}

.author-book-cover__title {
    position: absolute;
    top: 9%;
    left: 50%;
    z-index: 2;
    display: grid;
    gap: 6px;
    width: 84%;
    color: #7a4a18;
    text-align: center;
    text-shadow: 0 1px 14px rgba(255, 249, 232, 0.88);
    transform: translateX(-50%);
}

.author-book-cover__title span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
    font-weight: 900;
    line-height: 0.96;
}

.author-book-cover__title small {
    font-size: 1rem;
    font-weight: 850;
}

.author-book-cover > strong {
    position: absolute;
    right: 18px;
    bottom: 20px;
    left: 18px;
    z-index: 2;
    color: #f8ead1;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.72);
}

.fiction-detail-cover.author-book-cover {
    aspect-ratio: 2 / 3;
}

.fiction-detail-copy h1 {
    max-width: 760px;
    margin: 0;
    color: #172026;
    font-size: 4.2rem;
    line-height: 0.98;
}

.fiction-subtitle,
.fiction-author,
.fiction-synopsis {
    max-width: 760px;
    color: #516169;
}

.fiction-subtitle {
    margin: 14px 0 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.fiction-author {
    margin: 16px 0 0;
    font-weight: 800;
}

.fiction-author a {
    color: #2f6f60;
    text-decoration: none;
}

.fiction-serial-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    max-width: 760px;
    margin: 14px 0 0;
}

.fiction-serial-status__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fiction-serial-status__badge--ongoing {
    background: rgba(46, 125, 90, 0.14);
    color: #1f6b49;
}

.fiction-serial-status__badge--completed {
    background: rgba(47, 84, 128, 0.14);
    color: #2f5480;
}

.fiction-serial-status__badge--hiatus {
    background: rgba(176, 118, 34, 0.16);
    color: #9a6418;
}

.fiction-serial-status__badge--stub {
    background: rgba(107, 88, 132, 0.14);
    color: #6b5884;
}

.fiction-serial-status__schedule {
    color: #516169;
    font-size: 0.92rem;
    font-weight: 700;
}

.fiction-serial-status__note {
    flex: 1 1 100%;
    margin: 0;
    color: #516169;
    font-size: 0.95rem;
    line-height: 1.5;
}

.fiction-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    max-width: 860px;
    margin: 28px 0 0;
    border: 1px solid rgba(23, 32, 38, 0.13);
    border-radius: 8px;
    background: rgba(23, 32, 38, 0.13);
}

.fiction-stat-grid div {
    background: var(--reader-panel);
    padding: 14px;
}

.fiction-stat-grid dt {
    color: #516169;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.fiction-stat-grid dd {
    margin: 6px 0 0;
    color: #172026;
    font-size: 1.45rem;
    font-weight: 900;
}

.fiction-stat-grid small {
    margin-left: 2px;
    color: #516169;
    font-size: 0.78rem;
}

.fiction-synopsis {
    margin: 28px 0 0;
    font-size: 1.08rem;
}

.fiction-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.fiction-actions form {
    margin: 0;
}

.fiction-actions .button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.fiction-chapter-panel {
    margin-top: 54px;
    border: 1px solid rgba(23, 32, 38, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    padding: 26px;
}

.fiction-chapter-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.fiction-chapter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(23, 32, 38, 0.1);
    border-radius: 7px;
    background: #ffffff;
    padding: 13px 15px;
    color: #172026;
    text-decoration: none;
}

.fiction-chapter-list span {
    font-weight: 850;
}

.fiction-chapter-list small,
.fiction-empty-chapter {
    color: #516169;
    font-weight: 750;
}

.chapter-reader-page {
    width: min(880px, calc(100% - 48px));
}

.chapter-reader-header {
    text-align: center;
}

.chapter-reader-header h1 {
    margin: 8px 0 0;
    color: #172026;
    font-size: 3.3rem;
    line-height: 1.05;
}

.chapter-reader-header > p {
    color: #516169;
    font-weight: 800;
}

.chapter-reader-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 16px 0 0;
}

.chapter-reader-actions .content-suppress-form {
    display: inline-flex;
    margin: 0;
}

.chapter-reader-action {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
    color: var(--muted);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.chapter-reader-action:hover,
.chapter-reader-action:focus-visible {
    border-color: color-mix(in srgb, var(--wine) 28%, transparent);
    background: color-mix(in srgb, var(--wine) 8%, transparent);
    color: var(--wine);
}

.chapter-reader-action--danger {
    border-color: color-mix(in srgb, #8b2942 28%, transparent);
    color: #8b2942;
}

.chapter-reader-action--danger:hover,
.chapter-reader-action--danger:focus-visible {
    border-color: #8b2942;
    background: color-mix(in srgb, #8b2942 10%, transparent);
    color: #8b2942;
}

.chapter-reader-listen-anchor {
    height: 0;
}

.chapter-reader-listen {
    position: sticky;
    top: var(--listen-sticky-top, 58px);
    z-index: 19;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.chapter-reader-listen[hidden] {
    display: none;
}

.chapter-reader-listen:not(.is-active) {
    position: relative;
    top: auto;
}

.chapter-reader-listen__tab {
    display: none;
}

.chapter-reader-listen__panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--gold) 8%, var(--surface-card));
}

.chapter-reader-listen.is-active .chapter-reader-listen__panel {
    box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 10%, transparent);
}

.chapter-reader-listen__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.chapter-reader-listen__toggle,
.chapter-reader-listen__stop {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #ffffff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;
    cursor: pointer;
}

.chapter-reader-listen__toggle[aria-pressed="true"] {
    background: var(--wine);
}

.chapter-reader-listen__stop {
    background: color-mix(in srgb, var(--ink) 12%, transparent);
    color: var(--ink);
}

.chapter-reader-listen__toggle:hover,
.chapter-reader-listen__toggle:focus-visible,
.chapter-reader-listen__stop:hover,
.chapter-reader-listen__stop:focus-visible {
    filter: brightness(1.05);
}

.chapter-reader-listen__voice {
    display: grid;
    gap: 4px;
    min-width: 0;
    width: min(100%, 240px);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.chapter-reader-listen__voice select {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    border-radius: 8px;
    background: var(--surface-card);
    color: var(--ink);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .chapter-reader-listen {
        transition: none;
    }
}

.chapter-reader-body [data-listening="true"] {
    border-radius: 4px;
    background: color-mix(in srgb, var(--gold) 16%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent);
}

.chapter-position-notice {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 0;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--gold) 10%, var(--surface-card));
}

.chapter-position-notice--saved {
    border-color: color-mix(in srgb, var(--green) 28%, transparent);
    background: color-mix(in srgb, var(--green) 10%, var(--surface-card));
}

.chapter-position-notice__copy {
    display: grid;
    gap: 4px;
    min-width: min(100%, 280px);
    text-align: left;
}

.chapter-position-notice__copy .eyebrow {
    margin: 0;
    color: var(--gold);
}

.chapter-position-notice__copy p:last-child,
.chapter-position-notice--saved {
    margin: 0;
    color: var(--ink);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.45;
}

.chapter-position-notice__action {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #ffffff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.chapter-position-notice__action:hover,
.chapter-position-notice__action:focus-visible {
    filter: brightness(1.05);
}

.chapter-reader-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 30px 0;
}

.chapter-reader-nav a,
.chapter-reader-nav-disabled {
    border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
    border-radius: 7px;
    background: var(--surface-strong);
    padding: 10px 14px;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    font-weight: 850;
}

.chapter-reader-nav-disabled {
    display: block;
    cursor: not-allowed;
    color: var(--muted);
    background: color-mix(in srgb, var(--surface-strong) 45%, transparent);
}

.chapter-reader-nav a:first-child,
.chapter-reader-nav-disabled:first-child {
    justify-self: start;
}

.chapter-reader-nav a:last-child,
.chapter-reader-nav-disabled:last-child {
    justify-self: end;
}

.chapter-author-note {
    margin: 24px 0;
    border: 1px solid color-mix(in srgb, var(--wine) 13%, transparent);
    border-radius: 8px;
    background: var(--surface-note);
    padding: 22px 26px;
    color: var(--ink);
}

.chapter-author-note .eyebrow {
    margin-bottom: 10px;
    color: var(--wine);
}

.chapter-author-note > div {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04rem;
    line-height: 1.65;
}

.chapter-author-note p:last-child {
    margin-bottom: 0;
}

.chapter-comments {
    display: grid;
    gap: 18px;
    margin: 42px 0 8px;
}

.chapter-comments-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.55rem;
}

.chapter-comments-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.chapter-comments-compose,
.chapter-comment-form {
    display: grid;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.chapter-comment-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 140px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    border-radius: 10px;
    background: var(--surface-strong);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
    resize: vertical;
}

.chapter-comment-form textarea::placeholder {
    color: var(--muted);
    font: inherit;
    font-weight: 600;
}

.chapter-comment-form textarea:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--green) 55%, transparent);
    outline-offset: 2px;
    border-color: color-mix(in srgb, var(--green) 40%, transparent);
}

.chapter-comment-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chapter-comment-form-actions .button {
    min-height: 42px;
}

.chapter-comments-signin,
.chapter-comments-empty,
.chapter-comments-closed,
.chapter-comments-notice {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.5;
}

.chapter-comments-list {
    display: grid;
    gap: 16px;
}

.chapter-comment {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    border-radius: 10px;
    background: var(--surface-card);
}

.chapter-comment--reply {
    margin-left: 18px;
}

.chapter-comment-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: baseline;
    justify-content: space-between;
}

.chapter-comment-name {
    color: inherit;
    font-weight: 850;
    text-decoration: none;
}

.chapter-comment-head time {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.chapter-comment-body {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

.chapter-comment-reply summary {
    cursor: pointer;
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 850;
}

.chapter-comment-reply[open] summary {
    margin-bottom: 10px;
}

.chapter-comment-replies {
    display: grid;
    gap: 12px;
}

.chapter-reader-body {
    border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    border-radius: 8px;
    background: var(--reader-panel);
    padding: clamp(24px, 5vw, 58px);
    color: var(--reader-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    line-height: 1.78;
}

.chapter-reader-body p:first-child {
    margin-top: 0;
}

.chapter-reader-body p:last-child {
    margin-bottom: 0;
}

.chapter-reader-body hr {
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    margin: 2.2rem auto;
    width: min(240px, 60%);
    height: 0;
}

.chapter-reader-body h1,
.chapter-reader-body h2,
.chapter-reader-body h3 {
    margin: 1.4em 0 0.7em;
    line-height: 1.25;
    font-family: Georgia, "Times New Roman", serif;
}

.chapter-reader-body h1 {
    font-size: 1.8rem;
}

.chapter-reader-body h2 {
    font-size: 1.45rem;
}

.chapter-reader-body h3 {
    font-size: 1.2rem;
}

.chapter-reader-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.6rem auto;
    border-radius: 8px;
}

.chapter-reader-body a {
    color: var(--blue);
    text-decoration: underline;
}

.chapter-reader-body blockquote {
    margin: 1.2rem 0;
    padding-left: 1rem;
    border-left: 3px solid color-mix(in srgb, var(--ink) 18%, transparent);
    color: var(--muted);
}

@media (max-width: 1040px) {
.landing-hero,
    .author-platform-section,
    .chaptertrail-columns,
    .fiction-detail-hero {
        grid-template-columns: 1fr;
    }

.fiction-detail-hero-shell--has-banner .fiction-detail-hero {
        padding: 32px 24px 28px;
    }
}

@media (max-width: 900px) {
.fiction-detail-hero {
        grid-template-columns: 1fr;
    }

.fiction-detail-hero-shell--has-banner .fiction-detail-hero {
        padding: 32px 24px 28px;
    }
}

@media (max-width: 760px) {
.fiction-detail-page {
        width: 100%;
        padding: 0 0 48px;
    }

.chapter-reader-page {
        width: 100%;
        max-width: 100%;
        padding: 24px 16px 48px;
        overflow-x: hidden;
    }

.fiction-detail-hero-shell {
        margin-bottom: 24px;
        border-radius: 0;
        box-shadow: none;
    }

.fiction-detail-hero-shell:not(.fiction-detail-hero-shell--has-banner) {
        padding-top: 24px;
    }

.fiction-detail-hero-shell--has-banner {
        border-radius: 0;
        box-shadow: none;
    }

.fiction-detail-hero-shell--has-banner .fiction-detail-hero {
        padding: 0 0 20px;
    }

.fiction-detail-cover {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 0;
        aspect-ratio: auto;
    }

.fiction-detail-cover img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center top;
    }

.fiction-detail-cover.author-book-cover {
        aspect-ratio: 2 / 3;
    }

.fiction-detail-cover.author-book-cover > img {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: cover;
    }

.fiction-detail-copy,
    .fiction-detail-cover-column > :not(.fiction-detail-cover) {
        padding-right: 16px;
        padding-left: 16px;
    }

.fiction-chapter-panel,
    .fiction-reviews-panel,
    .fiction-rating-panel {
        margin-right: 16px;
        margin-left: 16px;
    }

.landing-hero,
    .split-section,
    .author-platform-section,
    .story-grid,
    .author-grid,
    .principle-grid,
    .metric-band,
    .random-grid,
    .chaptertrail-columns,
    .fiction-detail-hero,
    .profile-fiction-row,
    .author-work-card {
        grid-template-columns: 1fr;
    }

.fiction-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.fiction-detail-copy h1,
    .chapter-reader-header h1 {
        font-size: 2.75rem;
    }

.chapter-reader-nav {
        grid-template-columns: 1fr;
    }

.chapter-position-notice {
        align-items: stretch;
        flex-direction: column;
    }

.chapter-position-notice__action {
        justify-content: center;
        width: 100%;
        white-space: normal;
    }

.chapter-reader-nav a:first-child,
    .chapter-reader-nav a:last-child,
    .chapter-reader-nav-disabled:first-child,
    .chapter-reader-nav-disabled:last-child {
        justify-self: stretch;
    }

    body.chaptertrail-site .chapter-reader-listen:not([hidden]) {
        position: fixed;
        top: 36%;
        right: 0;
        left: auto;
        z-index: 40;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 36px;
        max-width: 36px;
        margin: 0;
        gap: 0;
        overflow: hidden;
        transform: none;
    }

    body.chaptertrail-site .chapter-reader-listen.is-open:not(.is-active) {
        width: min(280px, calc(100vw - 16px));
        max-width: min(280px, calc(100vw - 16px));
    }

    body.chaptertrail-site .chapter-reader-listen.is-away:not(.is-active):not(.is-open) {
        transform: translateX(100%);
    }

    body.chaptertrail-site .chapter-reader-listen.is-active {
        top: var(--listen-sticky-top, 58px);
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        transform: none;
    }

    body.chaptertrail-site .chapter-reader-listen__tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        padding: 18px 0;
        border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
        border-right: 0;
        border-radius: 12px 0 0 12px;
        background: color-mix(in srgb, var(--gold) 16%, var(--surface-card));
        color: var(--ink);
        font: inherit;
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        cursor: pointer;
    }

    body.chaptertrail-site .chapter-reader-listen.is-active .chapter-reader-listen__tab {
        display: none;
    }

    body.chaptertrail-site .chapter-reader-listen__panel {
        display: none;
        width: calc(100% - 36px);
        min-width: 0;
        overflow: hidden;
        border-radius: 0;
    }

    body.chaptertrail-site .chapter-reader-listen.is-open .chapter-reader-listen__panel,
    body.chaptertrail-site .chapter-reader-listen.is-active .chapter-reader-listen__panel {
        display: flex;
    }

    body.chaptertrail-site .chapter-reader-listen.is-active .chapter-reader-listen__panel {
        width: 100%;
        border-radius: 0;
        box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 12%, transparent);
    }

    body.chaptertrail-site .chapter-reader-listen__toggle,
    body.chaptertrail-site .chapter-reader-listen__stop,
    body.chaptertrail-site .chapter-reader-listen__voice {
        width: 100%;
        min-width: 0;
    }
}

/* Fiction star ratings */
.fiction-actions .button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.fiction-rating-panel {
    margin-top: 42px;
    border: 1px solid rgba(23, 32, 38, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    padding: 26px;
}

.fiction-rating-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fiction-rating-panel-head h2 {
    margin: 4px 0 0;
    color: #172026;
    font-size: 1.45rem;
}

.fiction-rating-panel-summary {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #516169;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.fiction-rating-panel-summary__value {
    color: #172026;
}

@media (max-width: 640px) {
    .fiction-rating-panel {
        padding: 20px;
    }

    .fiction-rating-panel-head {
        display: grid;
        gap: 12px;
    }

    .fiction-rating-panel-summary {
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        white-space: normal;
        line-height: 1.4;
    }
}

.fiction-rating-notice {
    margin: 0 0 16px;
    border: 1px solid rgba(31, 54, 93, 0.14);
    border-radius: 8px;
    background: rgba(239, 227, 198, 0.55);
    padding: 12px 14px;
    color: #1f365d;
    font-weight: 750;
}

.fiction-rating-muted {
    margin: 0;
    color: #516169;
    font-weight: 750;
}

.fiction-rating-muted a {
    color: #1f365d;
    font-weight: 850;
}

.fiction-rating-form {
    display: grid;
    gap: 16px;
}

.fiction-star-display {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.fiction-star-display__star {
    font-size: 1.05rem;
    line-height: 1;
}

.fiction-star-display__star--full {
    color: #c9a227;
}

.fiction-star-display__star--empty {
    color: rgba(23, 32, 38, 0.18);
}

.fiction-star-display__star--split {
    display: inline-block;
    position: relative;
    width: 1.05rem;
    height: 1.05rem;
    font-size: 1.05rem;
    line-height: 1.05rem;
    vertical-align: middle;
}

.fiction-star-display__side {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.fiction-star-display__side--left {
    left: 0;
    color: #c9a227;
}

.fiction-star-display__side--left span {
    display: block;
    width: 1.05rem;
}

.fiction-star-display__side--right {
    right: 0;
    color: #4f7cff;
}

.fiction-star-display__side--right span {
    display: block;
    width: 1.05rem;
    margin-left: calc(-1.05rem / 2);
}

.fiction-star-rating {
    display: inline-flex;
    align-items: center;
}

.fiction-star-rating--input {
    gap: 2px;
}

.fiction-star-rating__unit {
    position: relative;
    display: inline-block;
    width: 1.85rem;
    height: 1.85rem;
    font-size: 1.85rem;
    line-height: 1.85rem;
}

.fiction-star-rating__glyph {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fiction-star-rating__side {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    color: rgba(23, 32, 38, 0.18);
    transition: color 0.12s ease;
}

.fiction-star-rating__side--left {
    left: 0;
}

.fiction-star-rating__side--left span {
    display: block;
    width: 1.85rem;
}

.fiction-star-rating__side--right {
    right: 0;
}

.fiction-star-rating__side--right span {
    display: block;
    width: 1.85rem;
    margin-left: calc(-1.85rem / 2);
}

.fiction-star-rating__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fiction-star-rating__hit {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 50%;
    height: 100%;
    cursor: pointer;
}

.fiction-star-rating__hit--left {
    left: 0;
}

.fiction-star-rating__hit--right {
    right: 0;
}

.fiction-star-rating__unit.is-full .fiction-star-rating__side {
    color: #c9a227;
}

.fiction-star-rating__unit.is-partial .fiction-star-rating__side--left {
    color: #c9a227;
}

.fiction-star-rating__unit.is-partial .fiction-star-rating__side--right {
    color: #4f7cff;
}

.fiction-star-rating__unit.is-empty .fiction-star-rating__side {
    color: rgba(23, 32, 38, 0.18);
}

.fiction-star-rating__input:focus-visible + .fiction-star-rating__hit {
    outline: 2px solid rgba(31, 54, 93, 0.35);
    outline-offset: 1px;
}

.fiction-rating-review summary {
    color: #1f365d;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 850;
    list-style: none;
}

.fiction-rating-review summary::-webkit-details-marker {
    display: none;
}

.fiction-rating-review[open] summary {
    margin-bottom: 12px;
}

.fiction-rating-review label {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 850;
}

.fiction-rating-review input,
.fiction-rating-review textarea {
    width: 100%;
    border: 1px solid rgba(23, 32, 38, 0.13);
    border-radius: 8px;
    background: #ffffff;
    padding: 12px 14px;
    color: #172026;
    font: inherit;
}

.fiction-rating-review textarea {
    resize: vertical;
}

.fiction-rating-form-actions {
    display: flex;
    justify-content: flex-start;
}

.fiction-rating-current {
    margin: 12px 0 0;
    color: #516169;
    font-size: 0.88rem;
    font-weight: 750;
}

.fiction-rating-review-intro {
    margin: 0 0 16px;
    color: #516169;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.5;
}

.fiction-rating-required {
    color: #8b2942;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fiction-detail-cover-column {
    display: grid;
    align-items: start;
    gap: 22px;
}

.fiction-star-display--lg .fiction-star-display__star {
    font-size: 1.85rem;
}

.fiction-star-display--lg .fiction-star-display__star--split {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 1.85rem;
    line-height: 1.85rem;
}

.fiction-star-display--lg .fiction-star-display__side {
    height: 1.85rem;
}

.fiction-star-display--lg .fiction-star-display__side--left span,
.fiction-star-display--lg .fiction-star-display__side--right span {
    width: 1.85rem;
}

.fiction-star-display--lg .fiction-star-display__side--right {
    margin-left: calc(-1.85rem / 2);
}

.fiction-star-display--lg .fiction-star-display__side--right span {
    margin-left: calc(-1.85rem / 2);
}

.fiction-star-display--sm .fiction-star-display__star {
    font-size: 0.92rem;
}

.fiction-star-display--sm .fiction-star-display__star--split {
    width: 0.92rem;
    height: 0.92rem;
    font-size: 0.92rem;
    line-height: 0.92rem;
}

.fiction-star-display--sm .fiction-star-display__side {
    height: 0.92rem;
}

.fiction-star-display--sm .fiction-star-display__side--left span,
.fiction-star-display--sm .fiction-star-display__side--right span {
    width: 0.92rem;
}

.fiction-star-display--sm .fiction-star-display__side--right {
    margin-left: calc(-0.92rem / 2);
}

.fiction-star-display--sm .fiction-star-display__side--right span {
    margin-left: calc(-0.92rem / 2);
}

.fiction-author {
    margin: 16px 0 0;
    font-weight: 800;
}

.fiction-review-item {
    border: 1px solid rgba(23, 32, 38, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    padding: 22px 24px;
}

.fiction-review-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.fiction-review-item__head h3 {
    margin: 0;
    color: #172026;
    font-size: 1.15rem;
}

.fiction-review-item__meta {
    margin: 6px 0 0;
    color: #516169;
    font-size: 0.84rem;
    font-weight: 750;
}

.fiction-review-item__scores {
    margin: 0;
    color: #1f365d;
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
}

.fiction-review-item__body {
    color: #172026;
    font-size: 0.96rem;
    line-height: 1.65;
}

.fiction-rating-notice {
    margin: 0 0 16px;
    border: 1px solid rgba(31, 54, 93, 0.14);
    border-radius: 8px;
    background: rgba(239, 227, 198, 0.55);
    padding: 12px 14px;
    color: #1f365d;
    font-weight: 750;
}

.fiction-rating-notice--inline {
    margin: 14px 0 0;
    max-width: 760px;
}

.fiction-review-item__body {
    color: #172026;
    font-size: 0.96rem;
    line-height: 1.65;
}

.fiction-review-item__body-wrap.is-collapsible:not(.is-expanded) .fiction-review-item__body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
    overflow: hidden;
}

.fiction-review-item__toggle {
    display: none;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: #1f365d;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;
}

.fiction-review-item__toggle:hover {
    text-decoration: underline;
}

.fiction-review-item__body-wrap.is-collapsible .fiction-review-item__toggle {
    display: inline-block;
}

.fiction-review-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.fiction-review-item__intro {
    min-width: 0;
}

.fiction-review-item__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.fiction-review-item__avatar-link {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}

.fiction-review-item__avatar {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--green);
    color: #ffffff;
}

.fiction-review-item__avatar--initial {
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 900;
}

.fiction-review-item__name {
    min-width: 0;
}

.fiction-review-item__name,
.fiction-review-item__name:hover {
    color: inherit;
    text-decoration: none;
}

.fiction-review-item__name:hover strong {
    color: var(--wine);
}

.fiction-review-item__head h3 {
    margin: 0;
    color: #172026;
    font-size: 1.15rem;
}

.fiction-review-item__meta {
    margin: 6px 0 0;
    color: #516169;
    font-size: 0.84rem;
    font-weight: 750;
}

.fiction-review-item__author {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fiction-review-item__author-copy {
    min-width: 0;
}

.fiction-review-item__author-copy h3 {
    margin: 8px 0 0;
    color: #172026;
    font-size: 1.15rem;
}

.fiction-review-item__head h3 {
    margin: 0;
    color: #172026;
    font-size: 1.15rem;
}

.fiction-review-item__author-copy h3 {
    margin: 8px 0 0;
}

@media (max-width: 640px) {
.fiction-review-item {
        padding: 18px;
    }

.fiction-review-item__head {
        display: grid;
        gap: 12px;
    }

.fiction-review-item__scores {
        max-width: 100%;
        white-space: normal;
        line-height: 1.45;
    }

.fiction-review-item__author {
        margin-bottom: 6px;
    }
}
