:root {
    --hsne-navy: #0d2340;
    --hsne-navy-2: #17385f;
    --hsne-yellow: #f4c542;
    --hsne-orange: #e36f26;
    --hsne-ink: #172033;
    --hsne-muted: #667085;
    --hsne-line: #e6e8ec;
    --hsne-soft: #f6f3ec;
    --hsne-white: #fff;
    --hsne-radius: 18px;
}

.hsne-hub,
.hsne-novel-page,
.hsne-reader-body {
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hsne-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.hsne-container--narrow {
    width: min(1080px, calc(100% - 40px));
}

.hsne-hub,
.hsne-novel-page {
    color: var(--hsne-ink);
    padding: 32px 0 64px;
}

.hsne-page-heading {
    display: block;
    margin-bottom: 22px;
}

.hsne-heading-line,
.hsne-section-title > span {
    display: none;
}

.hsne-page-heading h1::after,
.hsne-section-title h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    margin-top: 9px;
    border-radius: 999px;
    background: var(--hsne-yellow);
}

.hsne-page-heading h1,
.hsne-page-heading p,
.hsne-section-title h2 {
    margin: 0;
}

.hsne-page-heading h1 {
    color: var(--hsne-navy);
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.hsne-page-heading p {
    margin-top: 7px;
    color: var(--hsne-muted);
    font-size: 1rem;
}

.hsne-featured {
    display: grid;
    grid-template-columns: minmax(190px, 0.56fr) minmax(0, 1.5fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: center;
    background: linear-gradient(135deg, var(--hsne-navy), var(--hsne-navy-2));
    color: var(--hsne-white);
    border-radius: 22px;
    padding: clamp(22px, 3vw, 34px);
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(13, 35, 64, 0.12);
}

.hsne-featured-cover {
    max-width: 230px;
}

.hsne-cover-image,
.hsne-cover-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hsne-cover-placeholder {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 18px;
    background: linear-gradient(155deg, #f5c542 0%, #e36f26 48%, #0d2340 100%);
    color: #fff;
}

.hsne-cover-placeholder span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsne-cover-placeholder strong {
    margin-top: 3px;
    font-size: 1.15rem;
    line-height: 1.05;
}

.hsne-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--hsne-yellow);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsne-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 4px 8px;
    background: #eef2f6;
    color: var(--hsne-navy);
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hsne-featured .hsne-status {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.hsne-status--coming_soon {
    background: #fff4c7;
    color: #745600;
}

.hsne-status--ongoing {
    background: #eaf8ee;
    color: #176b32;
}

.hsne-status--completed {
    background: #eef2f6;
    color: #344054;
}

.hsne-featured h2 {
    margin: 10px 0 9px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.hsne-featured-hook,
.hsne-novel-hook {
    margin: 0;
    max-width: 760px;
    font-size: clamp(1rem, 1.6vw, 1.24rem);
    line-height: 1.5;
    font-weight: 550;
}

.hsne-meta-line {
    color: var(--hsne-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hsne-featured .hsne-meta-line {
    color: rgba(255,255,255,.72);
}

.hsne-featured-copy .hsne-meta-line {
    margin: 14px 0 18px;
}

.hsne-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 10px;
    background: var(--hsne-yellow);
    color: var(--hsne-navy);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.hsne-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.hsne-shelf {
    margin-top: 42px;
}

.hsne-section-title {
    display: block;
    margin-bottom: 18px;
}

.hsne-section-title h2 {
    color: var(--hsne-navy);
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.hsne-card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hsne-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--hsne-line);
    border-radius: var(--hsne-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.035);
}

.hsne-card-cover .hsne-cover-image,
.hsne-card-cover .hsne-cover-placeholder {
    border-radius: 10px;
    box-shadow: none;
}

.hsne-card-cover .hsne-cover-placeholder {
    padding: 12px;
}

.hsne-card-cover .hsne-cover-placeholder strong {
    font-size: 0.85rem;
}

.hsne-card-cover .hsne-cover-placeholder span {
    font-size: 0.58rem;
}

.hsne-card-title {
    margin: 9px 0 6px;
    color: var(--hsne-navy);
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.hsne-card-title a,
.hsne-text-link {
    color: inherit;
    text-decoration: none;
}

.hsne-card-hook {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 0;
    color: #344054;
    font-size: 0.86rem;
    line-height: 1.48;
}

.hsne-card .hsne-meta-line {
    margin: 9px 0 8px;
    font-size: 0.75rem;
}

.hsne-text-link {
    color: var(--hsne-navy);
    font-size: 0.78rem;
    font-weight: 800;
}

.hsne-empty-public {
    border: 1px dashed #cfd4dc;
    border-radius: 14px;
    padding: 22px;
    color: var(--hsne-muted);
    background: #fff;
}

/* Novel landing page */










.hsne-coming-soon-box {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 24px;
    padding: 14px 18px;
    border-left: 5px solid var(--hsne-yellow);
    background: #fff8da;
    color: var(--hsne-navy);
}

.hsne-coming-soon-box strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hsne-warning {
    margin: 0 0 32px;
    padding: 13px 16px;
    border-radius: 10px;
    background: #fff5ee;
    color: #73381d;
    font-size: 0.9rem;
    line-height: 1.55;
}





.hsne-prose > *:first-child {
    margin-top: 0;
}

.hsne-public-chapter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--hsne-line);
}

.hsne-public-chapter-list li {
    margin: 0;
    border-bottom: 1px solid var(--hsne-line);
}



.hsne-public-chapter-list a:hover .hsne-public-chapter-title {
    color: var(--hsne-orange);
}





.hsne-public-chapter-arrow {
    font-size: 1.5rem;
    color: #98a2b3;
}

/* Reader */
body.hsne-reader-body {
    --hsne-reader-bg: #fffdf9;
    --hsne-reader-surface: #fff;
    --hsne-reader-text: #20283a;
    --hsne-reader-muted: #7a8495;
    --hsne-reader-line: #e8e5de;
    margin: 0;
    background: var(--hsne-reader-bg);
    color: var(--hsne-reader-text);
}

body.hsne-reader-body[data-reader-theme="dark"] {
    --hsne-reader-bg: #111820;
    --hsne-reader-surface: #18212b;
    --hsne-reader-text: #e9edf2;
    --hsne-reader-muted: #aab3bf;
    --hsne-reader-line: #2b3642;
}

.hsne-reader-progress {
    position: fixed;
    z-index: 10002;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
}

.hsne-reader-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--hsne-yellow);
    transition: width .08s linear;
}



.hsne-reader-back,
.hsne-reader-novel,
.hsne-reader-footer-links a {
    color: var(--hsne-reader-text);
    text-decoration: none;
}





.hsne-reader-actions {
    display: flex;
    gap: 6px;
}



.hsne-icon-button:hover {
    background: rgba(127,127,127,.09);
}













.hsne-warning--reader {
    margin-bottom: 32px;
}





.hsne-reader-content h2,
.hsne-reader-content h3 {
    margin-top: 2.2em;
    color: var(--hsne-reader-text);
}

.hsne-reader-content a {
    color: var(--hsne-orange);
}







.hsne-reactions {
    display: flex;
    justify-content: center;
    gap: 10px;
}



.hsne-reactions button.is-selected {
    border-color: var(--hsne-yellow);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--hsne-yellow) 35%, transparent);
}





.hsne-reader-nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--hsne-reader-text);
    text-decoration: none;
}

.hsne-reader-nav-link--next {
    grid-column: 2;
    text-align: right;
}

.hsne-reader-nav-link span {
    color: var(--hsne-reader-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}



.hsne-reader-finished {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hsne-reader-text);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .12em;
}



.hsne-reader-sheet[hidden] {
    display: none;
}

.hsne-reader-sheet {
    position: fixed;
    z-index: 11000;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hsne-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.44);
}



.hsne-sheet-handle {
    width: 42px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: var(--hsne-reader-line);
}

.hsne-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--hsne-reader-line);
}

.hsne-sheet-head > button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font-size: 1.4rem;
    cursor: pointer;
}



.hsne-setting-row > span {
    font-size: 0.9rem;
    font-weight: 700;
}

.hsne-setting-row > div {
    display: flex;
    gap: 7px;
}

.hsne-setting-row button {
    min-width: 48px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--hsne-reader-line);
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}

.hsne-sheet-chapter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hsne-sheet-chapter-list li {
    margin: 0;
    border-bottom: 1px solid var(--hsne-reader-line);
}



.hsne-sheet-chapter-list span {
    color: var(--hsne-reader-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hsne-sheet-chapter-list strong {
    font-size: .92rem;
}

.hsne-sheet-chapter-list .is-current a {
    color: var(--hsne-orange);
}

body.hsne-sheet-open {
    overflow: hidden;
}

.hsne-reader-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .hsne-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hsne-container,
    .hsne-container--narrow {
        width: min(100% - 28px, 100%);
    }

    .hsne-hub,
    .hsne-novel-page {
        padding-top: 20px;
    }

    .hsne-page-heading {
        margin-bottom: 18px;
    }

    .hsne-page-heading h1::after,
    .hsne-section-title h2::after {
        width: 42px;
        height: 4px;
        margin-top: 8px;
    }

    .hsne-page-heading h1 {
        font-size: 1.85rem;
    }

    .hsne-page-heading p {
        margin-top: 4px;
        font-size: 0.9rem;
    }

    .hsne-featured-copy .hsne-meta-line {
        margin: 11px 0 15px;
        font-size: 0.82rem;
    }

    .hsne-featured {
        grid-template-columns: 1fr;
        gap: 16px;
        border-radius: 18px;
        padding: 14px;
    }

    .hsne-featured-cover {
        width: min(42vw, 180px);
        margin-inline: auto;
    }

    .hsne-featured h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .hsne-card-row {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 2px 2px 10px;
        margin-inline: -2px;
        scrollbar-width: none;
    }

    .hsne-card-row::-webkit-scrollbar {
        display: none;
    }

    .hsne-card {
        flex: 0 0 82%;
        grid-template-columns: 104px minmax(0, 1fr);
        scroll-snap-align: start;
    }

    .hsne-novel-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 4px;
        padding-bottom: 30px;
    }

    .hsne-novel-cover {
        width: min(42vw, 180px);
        margin-inline: auto;
    }

    .hsne-novel-copy {
        text-align: center;
    }

    .hsne-novel-copy .hsne-status,
    .hsne-novel-copy .hsne-coming-soon-box {
        margin-inline: auto;
    }

    .hsne-novel-copy h1 {
        font-size: clamp(1.9rem, 8.5vw, 2.55rem);
    }

    .hsne-novel-hook {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .hsne-public-chapter-list a {
        grid-template-columns: 64px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 15px 2px;
    }

    .hsne-public-chapter-time {
        grid-column: 2;
        grid-row: 2;
    }

    .hsne-public-chapter-arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .hsne-reader-header {
        padding-inline: 12px;
    }

    .hsne-reader-main {
        padding: 42px 20px 70px;
    }

    .hsne-reader-title {
        margin-bottom: 34px;
    }

    .hsne-reader-content {
        --hsne-reader-font-size: 18px;
        line-height: 1.82;
    }

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

    .hsne-reader-nav-link--next,
    .hsne-reader-finished {
        grid-column: 1;
    }

    .hsne-reader-nav-link--next {
        text-align: left;
    }
}


/* 0.4.0 — Novel page + reader refinement */
.hsne-novel-page .hsne-container--narrow {
    width: min(980px, calc(100% - 40px));
}

.hsne-novel-page {
    padding-top: 26px;
}

.hsne-novel-hero {
display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 48px);
    align-items: center;
    padding: 18px 0 36px;
grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 42px);
    padding: 12px 0 28px;
}

.hsne-novel-copy h1 {
margin: 12px 0 10px;
    color: var(--hsne-navy);
    font-size: clamp(2rem, 4.8vw, 3.8rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -0.055em;
margin: 10px 0 8px;
    max-width: 760px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hsne-novel-copy .hsne-meta-line {
margin: 0 0 18px;
margin: 0 0 12px;
    font-size: 0.84rem;
}

.hsne-novel-hook {
color: #293449;
max-width: 700px;
    font-size: 1rem;
    line-height: 1.55;
}

.hsne-primary-cta {
margin-top: 20px;
    min-width: 180px;
min-width: 158px;
    margin-top: 16px;
}

.hsne-prose-section,
.hsne-chapters-public {
margin-top: 42px;
margin-top: 34px;
}

.hsne-prose {
max-width: 780px;
    color: #293449;
    font-size: 1.04rem;
    line-height: 1.78;
max-width: 720px;
    font-size: 0.98rem;
    line-height: 1.72;
}

.hsne-public-chapter-list a {
display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto 16px;
    gap: 16px;
    align-items: center;
    padding: 17px 4px;
    color: var(--hsne-ink);
    text-decoration: none;
grid-template-columns: 76px minmax(0, 1fr) auto 14px;
    gap: 14px;
    padding: 14px 2px;
}

.hsne-public-chapter-title {
color: var(--hsne-navy);
    font-size: 1rem;
    font-weight: 750;
font-size: 0.96rem;
}

.hsne-public-chapter-number,
.hsne-public-chapter-time {
color: var(--hsne-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
font-size: 0.72rem;
}

/* Reader: quieter, more book-like, less oversized */
.hsne-reader-header {
position: sticky;
    z-index: 10000;
    top: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 max(18px, calc((100vw - 1120px) / 2));
    border-bottom: 1px solid var(--hsne-reader-line);
    background: color-mix(in srgb, var(--hsne-reader-bg) 94%, transparent);
    backdrop-filter: blur(12px);
grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 52px;
    padding-inline: max(16px, calc((100vw - 1060px) / 2));
}

.hsne-reader-back {
font-size: 1.35rem;
    font-weight: 700;
font-size: 1.2rem;
}

.hsne-reader-novel {
overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 750;
font-size: 0.8rem;
}

.hsne-icon-button {
display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--hsne-reader-text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
min-width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.hsne-reader-main {
padding: 60px 20px 88px;
padding: 44px 20px 72px;
}

.hsne-reader-article {
width: min(700px, 100%);
    margin-inline: auto;
width: min(660px, 100%);
}

.hsne-reader-title {
margin-bottom: 44px;
    text-align: center;
margin-bottom: 34px;
}

.hsne-reader-kicker {
display: block;
    margin-bottom: 9px;
    color: var(--hsne-orange);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
margin-bottom: 7px;
    font-size: 0.68rem;
}

.hsne-reader-title h1 {
margin: 0;
    color: var(--hsne-reader-text);
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.045em;
font-size: clamp(1.8rem, 4.8vw, 2.75rem);
    line-height: 1.07;
    letter-spacing: -0.038em;
}

.hsne-reader-title p {
margin: 12px 0 0;
    color: var(--hsne-reader-muted);
    font-size: 0.82rem;
margin-top: 9px;
    font-size: 0.76rem;
}

.hsne-reader-content {
font-size: var(--hsne-reader-font-size, 19px);
    line-height: 1.85;
    letter-spacing: -0.008em;
font-size: var(--hsne-reader-font-size, 18px);
    line-height: 1.8;
    letter-spacing: -0.005em;
}

.hsne-reader-content p {
margin: 0 0 1.42em;
margin-bottom: 1.35em;
}

.hsne-reader-endmark {
margin: 58px 0 34px;
    text-align: center;
    color: var(--hsne-reader-muted);
    letter-spacing: .45em;
margin: 48px 0 28px;
}

.hsne-reaction-box {
padding: 24px 0 30px;
    border-top: 1px solid var(--hsne-reader-line);
    border-bottom: 1px solid var(--hsne-reader-line);
    text-align: center;
padding: 20px 0 24px;
}

.hsne-reaction-box h2 {
margin: 0 0 16px;
    color: var(--hsne-reader-text);
    font-size: 1rem;
    font-weight: 750;
margin-bottom: 13px;
    font-size: 0.92rem;
}

.hsne-reactions button {
width: 48px;
    height: 44px;
    border: 1px solid var(--hsne-reader-line);
    border-radius: 12px;
    background: var(--hsne-reader-surface);
    font-size: 1.28rem;
    cursor: pointer;
width: 44px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.18rem;
}

.hsne-reader-nav {
    gap: 14px;
    margin-top: 28px;
gap: 12px;
    margin-top: 24px;
}

.hsne-reader-nav-link,
.hsne-reader-finished {
min-height: 96px;
    padding: 16px;
    border: 1px solid var(--hsne-reader-line);
    border-radius: 14px;
    background: var(--hsne-reader-surface);
min-height: 82px;
    padding: 14px;
    border-radius: 12px;
}

.hsne-reader-nav-link strong {
margin-top: 5px;
    font-size: .9rem;
font-size: 0.84rem;
}

.hsne-reader-footer-links {
display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 28px;
    font-size: 0.86rem;
    font-weight: 750;
gap: 14px 24px;
    margin-top: 22px;
    font-size: 0.8rem;
}

.hsne-sheet-card {
position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(76vh, 720px);
    overflow: auto;
    border-radius: 20px 20px 0 0;
    background: var(--hsne-reader-surface);
    color: var(--hsne-reader-text);
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -18px 50px rgba(0,0,0,.15);
width: min(560px, 100%);
    max-height: min(72vh, 660px);
    padding-inline: 18px;
}

.hsne-setting-row {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hsne-reader-line);
padding-block: 14px;
}

.hsne-sheet-chapter-list a {
display: grid;
    gap: 3px;
    padding: 14px 2px;
    color: inherit;
    text-decoration: none;
padding-block: 13px;
}

@media (max-width: 720px) {
    .hsne-novel-page .hsne-container--narrow {
        width: min(100% - 28px, 100%);
    }

    .hsne-novel-page {
        padding-top: 16px;
    }

    .hsne-novel-hero {
        gap: 14px;
        padding-top: 0;
        padding-bottom: 24px;
    }

    .hsne-novel-cover {
        width: min(36vw, 150px);
    }

    .hsne-novel-copy h1 {
        margin-top: 8px;
        font-size: clamp(1.72rem, 7.4vw, 2.2rem);
    }

    .hsne-novel-copy .hsne-meta-line {
        margin-bottom: 10px;
        font-size: 0.78rem;
    }

    .hsne-novel-hook {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .hsne-primary-cta {
        margin-top: 14px;
        min-height: 40px;
        min-width: 148px;
        font-size: 0.82rem;
    }

    .hsne-prose-section,
    .hsne-chapters-public {
        margin-top: 28px;
    }

    .hsne-prose {
        font-size: 0.94rem;
        line-height: 1.68;
    }

    .hsne-public-chapter-list a {
        padding-block: 13px;
    }

    .hsne-reader-header {
        min-height: 50px;
        padding-inline: 10px;
    }

    .hsne-reader-main {
        padding: 30px 18px 58px;
    }

    .hsne-reader-title {
        margin-bottom: 26px;
    }

    .hsne-reader-title h1 {
        font-size: clamp(1.7rem, 7vw, 2.15rem);
    }

    .hsne-reader-content {
        --hsne-reader-font-size: 17px;
        line-height: 1.78;
    }

    .hsne-reader-endmark {
        margin-top: 42px;
    }

    .hsne-reaction-box {
        padding-block: 18px 22px;
    }

    .hsne-reader-nav-link,
    .hsne-reader-finished {
        min-height: 76px;
    }

    .hsne-sheet-card {
        border-radius: 18px 18px 0 0;
    }
}


/* 0.4.1 — mobile novel hero overflow fix */
@media (max-width: 720px) {
    .hsne-novel-hero {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hsne-novel-copy {
        width: 100%;
        max-width: 420px;
        min-width: 0;
    }

    .hsne-novel-copy h1,
    .hsne-novel-hook,
    .hsne-novel-copy .hsne-meta-line {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hsne-primary-cta {
        width: min(100%, 220px);
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

/* 0.4.2 — mobile book layout + sharing + recommendations */
.hsne-share-section,
.hsne-recommendations {
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid var(--hsne-line);
}

.hsne-share-heading {
    margin-bottom: 16px;
}

.hsne-eyebrow {
    display: block;
    color: var(--hsne-navy);
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsne-share-heading p {
    margin: 7px 0 0;
    color: var(--hsne-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.hsne-share-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hsne-share-button {
    appearance: none;
    border: 0;
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 11px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.hsne-share-button:hover,
.hsne-share-button:focus-visible {
    transform: translateY(-1px);
    opacity: .94;
}

.hsne-share-button--facebook { background: #0d3159; color: #fff; }
.hsne-share-button--whatsapp { background: #18c5aa; color: #fff; }
.hsne-share-button--instagram { background: #8754ee; color: #fff; }
.hsne-share-button--tiktok { background: #101928; color: #fff; }
.hsne-share-button--threads { background: #050505; color: #fff; }
.hsne-share-button--copy { background: #ffc516; color: #0d2340; }
.hsne-share-button.is-done { opacity: .78; }

.hsne-recommendations > .hsne-eyebrow {
    margin-bottom: 6px;
}

.hsne-recommendations .hsne-section-title {
    margin-bottom: 24px;
}

.hsne-reco-group + .hsne-reco-group {
    margin-top: 30px;
}

.hsne-reco-group h3 {
    margin: 0 0 12px;
    color: var(--hsne-navy);
    font-size: 0.94rem;
    line-height: 1.2;
    font-weight: 850;
}

.hsne-reco-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hsne-reco-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--hsne-line);
    border-radius: 16px;
    background: #fff;
    color: var(--hsne-ink);
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(13, 35, 64, .035);
}

.hsne-reco-thumb {
    min-height: 112px;
    overflow: hidden;
    background: #f4f5f7;
}

.hsne-reco-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hsne-reco-thumb--novel .hsne-cover-image,
.hsne-reco-thumb--novel .hsne-cover-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}

.hsne-reco-thumb--novel .hsne-cover-placeholder {
    min-height: 100%;
    padding: 11px;
}

.hsne-reco-thumb--novel .hsne-cover-placeholder span {
    font-size: .5rem;
}

.hsne-reco-thumb--novel .hsne-cover-placeholder strong {
    font-size: .72rem;
}

.hsne-reco-thumb--article {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hsne-navy);
    font-weight: 900;
}

.hsne-reco-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 13px 13px 13px 0;
}

.hsne-reco-copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 7px 0 8px;
    color: var(--hsne-navy);
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.hsne-reco-copy small {
    color: var(--hsne-muted);
    font-size: 0.7rem;
    line-height: 1.45;
}

.hsne-reco-category {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    background: var(--hsne-yellow);
    color: var(--hsne-navy);
    font-size: 0.62rem;
    line-height: 1;
    font-weight: 850;
}

@media (max-width: 720px) {
    /* Keep the compact two-column book intro on mobile. */
    .hsne-novel-hero {
        grid-template-columns: minmax(118px, .86fr) minmax(0, 1.14fr);
        gap: 16px;
        align-items: start;
        justify-items: stretch;
        padding-bottom: 28px;
    }

    .hsne-novel-cover {
        width: 100%;
        max-width: 148px;
        justify-self: start;
    }

    .hsne-novel-copy {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .hsne-novel-copy h1 {
        margin: 8px 0 9px;
        font-size: clamp(1.45rem, 6.2vw, 1.9rem);
        line-height: .98;
        letter-spacing: -0.045em;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hsne-novel-copy .hsne-meta-line {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .hsne-novel-hook {
        font-size: 0.83rem;
        line-height: 1.5;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hsne-primary-cta {
        width: 100%;
        max-width: 190px;
        min-width: 0;
        min-height: 40px;
        padding-inline: 12px;
        font-size: 0.78rem;
        white-space: normal;
        text-align: center;
    }

    .hsne-coming-soon-box {
        width: 100%;
        box-sizing: border-box;
    }

    .hsne-share-section,
    .hsne-recommendations {
        margin-top: 38px;
        padding-top: 26px;
    }

    .hsne-share-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .hsne-share-button {
        min-height: 48px;
        border-radius: 10px;
        font-size: 0.8rem;
    }

    .hsne-reco-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hsne-reco-card {
        grid-template-columns: 116px minmax(0, 1fr);
        min-height: 118px;
        border-radius: 15px;
    }

    .hsne-reco-copy strong {
        font-size: 0.94rem;
    }
}

@media (max-width: 390px) {
    .hsne-novel-hero {
        grid-template-columns: minmax(108px, .82fr) minmax(0, 1.18fr);
        gap: 13px;
    }

    .hsne-novel-copy h1 {
        font-size: 1.38rem;
    }

    .hsne-novel-hook {
        font-size: .79rem;
    }

    .hsne-primary-cta {
        font-size: .75rem;
    }

    .hsne-reco-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }
}


/* 0.5.0 — reader completion, share, restore and final recommendations */
.hsne-reader-finished--ongoing {
    font-size: .82rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--hsne-reader-muted);
}

.hsne-reader-share {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--hsne-reader-line);
}

.hsne-reader-share-heading {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
}

.hsne-reader-share-heading strong {
    color: var(--hsne-reader-text);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hsne-reader-share-heading span {
    color: var(--hsne-reader-muted);
    font-size: .82rem;
}

.hsne-reader-share-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.hsne-reader-share-actions a,
.hsne-reader-share-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--hsne-reader-line);
    border-radius: 10px;
    background: var(--hsne-reader-surface);
    color: var(--hsne-reader-text);
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.hsne-reader-share-actions a:hover,
.hsne-reader-share-actions button:hover {
    border-color: var(--hsne-yellow);
}

.hsne-reader-recommendations {
    margin-top: 52px;
    padding-top: 30px;
    border-top: 1px solid var(--hsne-reader-line);
}

.hsne-reader-rec-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--hsne-reader-muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hsne-reader-recommendations h2 {
    margin: 0 0 18px;
    color: var(--hsne-reader-text);
    font-size: 1.3rem;
    line-height: 1.15;
    font-weight: 850;
}

.hsne-reader-rec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hsne-reader-rec-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--hsne-reader-line);
    border-radius: 12px;
    background: var(--hsne-reader-surface);
    color: var(--hsne-reader-text);
    text-decoration: none;
}

.hsne-reader-rec-thumb {
    width: 88px;
    height: 88px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--hsne-reader-surface) 88%, var(--hsne-reader-line));
}

.hsne-reader-rec-thumb img,
.hsne-reader-rec-thumb .hsne-cover-image,
.hsne-reader-rec-thumb .hsne-cover-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.hsne-reader-rec-card > div:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding-right: 12px;
}

.hsne-reader-rec-card small {
    color: var(--hsne-reader-muted);
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hsne-reader-rec-card strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .86rem;
    line-height: 1.25;
}

.hsne-resume-toast {
    position: fixed;
    z-index: 12000;
    left: 50%;
    bottom: max(22px, calc(12px + env(safe-area-inset-bottom)));
    transform: translate(-50%, 12px);
    opacity: 0;
    padding: 9px 13px;
    border: 1px solid var(--hsne-reader-line);
    border-radius: 999px;
    background: var(--hsne-reader-surface);
    color: var(--hsne-reader-text);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    font-size: .76rem;
    font-weight: 750;
    transition: opacity .2s ease, transform .2s ease;
}

.hsne-resume-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 720px) {
    .hsne-reader-main {
        padding-bottom: 64px;
    }

    .hsne-reader-share {
        margin-top: 28px;
        padding-top: 22px;
    }

    .hsne-reader-share-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .hsne-reader-share-actions a,
    .hsne-reader-share-actions button {
        min-height: 40px;
        padding-inline: 7px;
        font-size: .72rem;
    }

    .hsne-reader-recommendations {
        margin-top: 42px;
        padding-top: 24px;
    }

    .hsne-reader-rec-grid {
        grid-template-columns: 1fr;
    }

    .hsne-reader-rec-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .hsne-reader-rec-thumb {
        width: 78px;
        height: 78px;
    }
}
