/* ==========================================================
   本站原创连载 · 侧栏版块 + 阅读页样式
   依赖：style.css / style-enhanced.css / style-art.css（主站）
   侧栏版块不硬设底色与字色，随主站主题自适应
   ========================================================== */

/* ---------- 1. 首页左侧栏「原创连载」版块 ----------
   沿用主站侧栏同一套语言：白字标题 + 红色下划线、半透明行、
   hover 右移并起红影。不自带底色，与主站深色玻璃侧栏融为一体。 */
.nov-side { margin-bottom: 4px; }

/* 第一行：书名，继承 .sidebar-section h3 的白字红下划线 */
.sidebar-section.nov-side h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 15px !important;
    letter-spacing: .06em !important;
    margin-bottom: 10px !important;
}

.nov-side-tag {
    flex: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .05em;
    padding: 2px 7px;
    border: 1px solid rgba(255, 90, 104, .8);
    border-radius: 999px;
    color: #ffb3ba !important;
    -webkit-text-fill-color: #ffb3ba !important;
    background: rgba(230, 0, 18, .18);
}

/* 目录：每页 15 章，版块内翻页 */
.nov-side-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.nov-side-list > li { border-bottom: 1px solid rgba(255, 255, 255, .16); }

.nov-ch {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    text-decoration: none !important;
    color: #e8e8e8 !important;
    -webkit-text-fill-color: #e8e8e8 !important;
    background: none !important;
    transition: background .2s, box-shadow .2s, transform .2s;
}

/* 提高特异性，盖过主站 .sidebar a:hover 的 !important */
.sidebar .nov-ch:hover,
aside .nov-ch:hover {
    background: rgba(230, 0, 18, .18) !important;
    box-shadow: 2px 2px 0 rgba(230, 0, 18, .6) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    transform: translateX(3px);
}

.nov-ch-n {
    flex: none;
    font: 11.5px/1.4 "SFMono-Regular", Consolas, monospace;
    letter-spacing: .04em;
    opacity: .85;
}

.nov-ch-t {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nov-ch-go { flex: none; font-size: 14px; opacity: .5; }
.sidebar .nov-ch:hover .nov-ch-go { opacity: 1; }

/* 卷分隔行 */
.nov-vol {
    padding: 8px 8px 4px !important;
    font-size: 11px !important;
    letter-spacing: .12em;
    color: #ffb3ba !important;
    -webkit-text-fill-color: #ffb3ba !important;
    border-bottom: 1px solid rgba(230, 0, 18, .55) !important;
}

.nov-side-empty {
    padding: 10px 8px;
    font-size: 12px;
    color: #e8e8e8 !important;
    -webkit-text-fill-color: #e8e8e8 !important;
}

/* 版块内翻页控件 */
.nov-side-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.nov-pg-btn {
    flex: 1 1 0;
    padding: 6px 4px;
    font-family: inherit;
    font-size: 11.5px;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    color: #f2f2f2 !important;
    -webkit-text-fill-color: #f2f2f2 !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 0;
    transition: background .2s, border-color .2s;
}

.nov-pg-btn:hover:not(:disabled) {
    background: rgba(230, 0, 18, .22) !important;
    border-color: #e60012 !important;
}

.nov-pg-btn:disabled { opacity: .32; cursor: default; }

.nov-pg-info {
    flex: none;
    font: 11px/1.4 "SFMono-Regular", Consolas, monospace;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .72) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .72) !important;
}

.nov-side-all {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
    color: #ffb3ba !important;
    -webkit-text-fill-color: #ffb3ba !important;
    text-decoration: none !important;
}

.sidebar .nov-side-all:hover,
aside .nov-side-all:hover {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* 顶部导航里的连载入口 */
.nav-item-novel { color: #e60012 !important; font-weight: 600; }

/* ---------- 2. 阅读页 novel.html ---------- */
.nv-page {
    min-height: 100vh;
    background: #f5f6f8;
    color: #23262b;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.nv-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e3e5e9;
}

.nv-top-in {
    max-width: 1080px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nv-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #23262b;
    text-decoration: none;
    white-space: nowrap;
}

.nv-logo .nv-mark {
    width: 8px; height: 20px;
    background: #e60012;
    border-radius: 2px;
    display: inline-block;
}

.nv-top-nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }

.nv-top-nav a {
    color: #5a606b;
    text-decoration: none;
    font-size: 13.5px;
    white-space: nowrap;
}
.nv-top-nav a:hover { color: #e60012; }
.nv-top-nav a.nv-back { color: #00a1d6; }

.nv-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 20px 80px; }

/* 目录页 */
.nv-hero {
    background: #fff;
    border: 1px solid #e3e5e9;
    border-top: 3px solid #e60012;
    border-radius: 10px;
    padding: 30px 32px 28px;
    margin-bottom: 24px;
}

.nv-eyebrow {
    font-size: 12px;
    letter-spacing: .18em;
    color: #e60012;
    font-weight: 600;
    margin: 0 0 12px;
}

.nv-title {
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 6px;
    letter-spacing: .03em;
    font-weight: 700;
}

.nv-title-note {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: #8a8f98;
    border: 1px solid #d8dbe0;
    border-radius: 999px;
    padding: 2px 10px;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: .04em;
}

.nv-tagline {
    font-size: 15px;
    color: #4a505b;
    margin: 14px 0 18px;
    line-height: 1.7;
}

.nv-blurb {
    font-size: 14.5px;
    line-height: 1.95;
    color: #444a55;
    margin: 0 0 22px;
    max-width: 760px;
}

.nv-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding-top: 18px;
    border-top: 1px solid #eceef1;
    font-size: 13px;
    color: #6a707b;
}
.nv-stats b { color: #23262b; font-size: 16px; font-weight: 700; }

.nv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.nv-btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .2s, box-shadow .2s;
}
.nv-btn:hover { transform: translateY(-1px); }
.nv-btn-primary { background: #e60012; color: #fff; }
.nv-btn-primary:hover { box-shadow: 0 6px 16px rgba(230,0,18,.3); }
.nv-btn-ghost { background: #fff; color: #333; border-color: #d8dbe0; }
.nv-btn-ghost:hover { border-color: #00a1d6; color: #00a1d6; }

/* 卷与章节列表 */
.nv-vol { margin-bottom: 26px; }

.nv-vol-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 4px 10px;
    border-bottom: 2px solid #00a1d6;
    margin-bottom: 12px;
}
.nv-vol-head h2 { font-size: 19px; margin: 0; font-weight: 700; }
.nv-vol-head .nv-vol-range { font-size: 12.5px; color: #7a808b; }
.nv-vol-head .nv-vol-desc { font-size: 12.5px; color: #8a8f98; margin-left: auto; }

.nv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 9px;
}

.nv-ch {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 7px;
    padding: 11px 13px;
    text-decoration: none;
    color: #23262b;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.nv-ch:hover {
    border-color: #e60012;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,0,0,.07);
}
.nv-ch-n {
    font-size: 12px;
    font-weight: 700;
    color: #e60012;
    min-width: 34px;
    font-variant-numeric: tabular-nums;
}
.nv-ch-t { font-size: 14px; font-weight: 600; line-height: 1.4; }
.nv-ch-w { margin-left: auto; font-size: 11px; color: #9aa0aa; white-space: nowrap; }

/* 阅读器 */
.nv-read-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.nv-read-head .nv-crumb { font-size: 13px; color: #7a808b; }
.nv-read-head .nv-crumb a { color: #00a1d6; text-decoration: none; }

.nv-tools { margin-left: auto; display: flex; gap: 7px; align-items: center; }
.nv-tool {
    border: 1px solid #d8dbe0;
    background: #fff;
    color: #4a505b;
    border-radius: 6px;
    padding: 6px 11px;
    font-size: 12.5px;
    cursor: pointer;
    font-family: inherit;
}
.nv-tool:hover { border-color: #00a1d6; color: #00a1d6; }

.nv-article {
    background: #fff;
    border: 1px solid #e3e5e9;
    border-radius: 10px;
    padding: 46px 54px 54px;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
}

.nv-chapter-title {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: .03em;
}

.nv-scene {
    font-size: 13px;
    color: #e60012;
    letter-spacing: .1em;
    margin: 0 0 30px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceef1;
}

.nv-body { font-size: var(--nv-fs, 17px); }

.nv-body p {
    margin: 0 0 1.35em;
    line-height: 2.05;
    text-indent: 2em;
    color: #2b2f36;
    letter-spacing: .015em;
}

/* 叙述句里嵌的刻字 / 提示内容 */
.nv-body em {
    font-style: normal;
    background: rgba(0, 161, 214, .1);
    border-bottom: 1px solid rgba(0, 161, 214, .45);
    padding: 0 2px;
    color: #1c5f7a;
}

/* 芯片提示 / 招募告示 / 前人留字：与叙述正文区分 */
.nv-body p.nv-mono {
    text-indent: 0;
    background: #f6f8fa;
    border-left: 3px solid #00a1d6;
    border-radius: 0 5px 5px 0;
    padding: 11px 15px;
    margin: 0 0 1.5em;
    font-size: .9em;
    line-height: 1.85;
    letter-spacing: .03em;
    color: #3a4550;
    font-family: "SFMono-Regular", Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}

.nv-endmark {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid #eceef1;
    text-align: center;
    font-size: 12px;
    color: #9aa0aa;
    letter-spacing: .18em;
}

.nv-pager {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.nv-pager a {
    flex: 1 1 180px;
    min-width: 0;
    background: #fff;
    border: 1px solid #e3e5e9;
    border-radius: 8px;
    padding: 13px 16px;
    text-decoration: none;
    color: #23262b;
    font-size: 13.5px;
    transition: border-color .2s;
}
.nv-pager a:hover { border-color: #e60012; }
.nv-pager .nv-pg-label { display: block; font-size: 11.5px; color: #9aa0aa; margin-bottom: 3px; }
.nv-pager .nv-pg-t { font-weight: 600; }
.nv-pager .nv-next { text-align: right; }
.nv-pager .nv-disabled { opacity: .45; pointer-events: none; }

.nv-progress {
    position: fixed;
    left: 0; top: 0;
    height: 3px;
    background: #e60012;
    width: 0;
    z-index: 99;
    transition: width .1s linear;
}

.nv-foot {
    text-align: center;
    font-size: 12px;
    color: #9aa0aa;
    padding: 26px 20px 10px;
    line-height: 1.9;
}
.nv-foot a { color: #00a1d6; text-decoration: none; }

/* 移动端 */
@media (max-width: 720px) {
    .nv-top-in { padding: 9px 14px; gap: 10px; }
    .nv-top-nav { gap: 12px; }
    .nv-top-nav a.nv-hide-sm { display: none; }
    .nv-wrap { padding: 16px 12px 60px; }
    .nv-hero { padding: 22px 18px; }
    .nv-title { font-size: 23px; }
    .nv-title-note { display: block; margin: 8px 0 0; width: fit-content; }
    .nv-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .nv-vol-head .nv-vol-desc { margin-left: 0; width: 100%; }
    .nv-article { padding: 28px 20px 34px; }
    .nv-chapter-title { font-size: 21px; }
    .nv-body { font-size: var(--nv-fs, 16px); }
    .nv-body p { line-height: 1.95; }
}

/* ---------- 3. 原创内容防复制 ----------
   阅读页整页 + 首页小说侧栏版块；主站其余区域不受影响。 */
.nv-page, .nv-page *,
.nov-side, .nov-side * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}
.nv-page ::selection, .nov-side ::selection { background: transparent !important; }
.nv-page ::-moz-selection, .nov-side ::-moz-selection { background: transparent !important; }
