/* ==========================================================================
   FlintHub · 小说插件样式（整理版 v10）
   - 清理：删除重复定义 / 死代码；合并同类项；修复语法错误
   - 双主题兼容（浅色 + 暗夜星辰）；全部颜色变量化（--mn-*）
   ========================================================================== */

/* ==========================================================================
   一、设计 token & 页面容器
   ========================================================================== */
.nv-page {
    --nv-radius-card: 12px;
    --nv-radius-btn: 8px;
    --nv-gap-xs: 6px;
    --nv-gap-sm: 10px;
    --nv-gap-md: 14px;
    --nv-gap-lg: 20px;
    --nv-gap-xl: 28px;
    --nv-shadow-sm: 0 1px 3px rgba(0, 0, 0, .04);
    --nv-shadow-md: 0 4px 14px rgba(0, 0, 0, .06);
    --nv-shadow-lg: 0 12px 24px rgba(0, 0, 0, .09);
    padding: 14px 16px 32px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}
.mn-section.nv-page { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   二、顶部工具栏
   ========================================================================== */
.nv-topbar {
    display: flex;
    align-items: center;
    gap: var(--nv-gap-md);
    margin-bottom: var(--nv-gap-lg);
    flex-wrap: wrap;
}
.nv-search {
    position: relative;
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--mn-bg-card, #fff);
    border: 1.5px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-btn);
    padding: 0 46px 0 14px;
    transition: border-color .18s, box-shadow .18s;
}
.nv-search:focus-within {
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 15%, transparent);
}
.nv-search .nv-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    color: var(--mn-text, #333);
}
.nv-search .nv-input::placeholder { color: var(--mn-text-muted, #9ca3af); }
.nv-search .nv-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--mn-primary, #f97316);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter .15s, transform .15s;
}
.nv-search .nv-btn:hover { filter: brightness(1.08); }
.nv-search .nv-btn:active { transform: translateY(-50%) scale(.95); }

.nv-quick {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.nv-quick a {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    font-size: 13px;
    border-radius: var(--nv-radius-btn);
    transition: all .15s;
    white-space: nowrap;
}
.nv-quick a:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
}

/* ==========================================================================
   三、分类 + 排序
   ========================================================================== */
.nv-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--nv-gap-lg);
    padding-bottom: var(--nv-gap-md);
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-cat {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--mn-bg-card, #fff);
    border: 1.5px solid var(--mn-border, #e5e7eb);
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: all .15s ease;
    white-space: nowrap;
}
.nv-cat:hover {
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
    transform: translateY(-1px);
}
.nv-cat.active {
    background: var(--mn-primary, #f97316);
    color: #fff;
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent);
}
.nv-orders {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.nv-orders-label {
    color: var(--mn-text-muted, #888);
    font-size: 12px;
    margin-right: 4px;
}
.nv-order {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--mn-text-muted, #888);
    text-decoration: none;
    font-size: 13px;
    transition: color .15s, background .15s, border-color .15s;
    border: 1px solid transparent;
}
.nv-order:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 20%, transparent);
}
.nv-order.active {
    color: var(--mn-primary, #f97316);
    font-weight: 600;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-orders-count {
    margin-left: auto;
    color: var(--mn-text-muted, #888);
    font-size: 12px;
    padding-left: 10px;
}

/* ==========================================================================
   四、书籍网格
   ========================================================================== */
.nv-books {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--nv-gap-lg);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}
.nv-book {
    position: relative;
    max-width: 200px;
    width: 100%;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nv-book:hover {
    transform: translateY(-4px);
    box-shadow: var(--nv-shadow-lg);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 40%, var(--mn-border, #e5e7eb));
}
.nv-book-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.nv-book-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 42px;
    overflow: hidden;
}
.nv-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.nv-book:hover .nv-book-cover img { transform: scale(1.06); }

.nv-book-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
}
.nv-book-status-done {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 15%, transparent);
    color: var(--mn-success, #16a34a);
}
.nv-book-status-ongoing {
    background: color-mix(in srgb, var(--mn-warning, #f59e0b) 15%, transparent);
    color: var(--mn-warning, #f59e0b);
}
.nv-book-cover .nv-book-status {
    position: absolute;
    top: 8px;
    left: 8px;
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nv-book-cover .nv-book-status-done {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 88%, transparent);
}
.nv-book-cover .nv-book-status-ongoing {
    background: color-mix(in srgb, var(--mn-warning, #f59e0b) 88%, transparent);
}

.nv-book-info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.nv-book-title {
    font-weight: 600;
    color: var(--mn-text, #333);
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-book-author {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    line-height: 1.4;
    margin-top: 2px;
}

.nv-book-hover-actions {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}
.nv-book:hover .nv-book-hover-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.nv-book-hover-actions .nv-btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 12px;
    background: var(--mn-bg-card, #fff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.nv-book-hover-actions .nv-btn-primary {
    background: var(--mn-primary, #f97316);
    color: #fff;
}

/* ==========================================================================
   五、空状态
   ========================================================================== */
.nv-empty {
    padding: 60px 24px;
    text-align: center;
    background: var(--mn-bg-card, #fff);
    border: 1px dashed var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
    margin-bottom: var(--nv-gap-lg);
}
.nv-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent);
    color: var(--mn-primary, #f97316);
    font-size: 26px;
    margin-bottom: 16px;
}
.nv-empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin: 0 0 6px;
    line-height: 1.4;
}
.nv-empty-desc {
    font-size: 13px;
    color: var(--mn-text-muted, #888);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   六、侧栏卡片（热门榜 / 最近阅读 / 共读营 / 为你推荐）
   ========================================================================== */
.nv-rank {
    margin-top: var(--nv-gap-xl);
    padding: 18px 20px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
}
.nv-rank-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-rank-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    color: var(--mn-primary, #f97316);
    font-size: 14px;
}
.nv-rank-head-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin: 0;
}
.nv-rank-head-more {
    margin-left: auto;
    color: var(--mn-text-muted, #888);
    text-decoration: none;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}
.nv-rank-head-more:hover { color: var(--mn-primary, #f97316); }
.nv-rank-head-more i { font-size: 10px; }
.nv-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nv-rank-item { margin: 0; padding: 0; }
.nv-rank-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background .15s;
}
.nv-rank-link:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
}
.nv-rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mn-text-muted, #888);
    background: var(--mn-bg-soft, #f8fafc);
    flex-shrink: 0;
    line-height: 1;
}
.nv-rank-no-1 {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #fff;
    box-shadow: 0 3px 8px rgba(245, 158, 11, .35);
}
.nv-rank-no-2 {
    background: linear-gradient(135deg, #e0e0e0, #9ca3af);
    color: #fff;
}
.nv-rank-no-3 {
    background: linear-gradient(135deg, #fdba74, #c2410c);
    color: #fff;
}
.nv-rank-title {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-rank-link:hover .nv-rank-title { color: var(--mn-primary, #f97316); }
.nv-rank-author {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    flex-shrink: 0;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-rank-meta {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    flex-shrink: 0;
    min-width: 68px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* 右栏紧凑版 */
.nv-rank-sidebar {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: var(--mn-radius-lg, 16px);
}
.nv-rank-sidebar .nv-rank-head { margin-bottom: 10px; padding-bottom: 10px; }
.nv-rank-sidebar .nv-rank-head-icon { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
.nv-rank-sidebar .nv-rank-head-title { font-size: 14px; }
.nv-rank-sidebar .nv-rank-head-more { font-size: 12px; }
.nv-rank-sidebar .nv-rank-head-more i { font-size: 9px; }
.nv-rank-sidebar .nv-rank-link { padding: 7px 6px; gap: 8px; }
.nv-rank-sidebar .nv-rank-no { width: 22px; height: 22px; font-size: 11px; }
.nv-rank-sidebar .nv-rank-title { font-size: 13px; }
.nv-rank-sidebar .nv-rank-meta { font-size: 11px; min-width: 0; }

.nv-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nv-recent-item { margin: 0; padding: 0; }
.nv-recent-link {
    display: flex;
    gap: 10px;
    padding: 8px 8px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background .15s;
    align-items: center;
}
.nv-recent-link:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
}
.nv-recent-cover {
    width: 36px;
    height: 48px;
    border-radius: 4px;
    background: var(--mn-bg-soft, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
.nv-recent-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-recent-info { flex: 1; min-width: 0; }
.nv-recent-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.nv-recent-link:hover .nv-recent-title { color: var(--mn-primary, #f97316); }
.nv-recent-meta {
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    margin: 3px 0 5px;
    line-height: 1.3;
}
.nv-recent-progress {
    height: 3px;
    background: var(--mn-border-light, #eef0f3);
    border-radius: 2px;
    overflow: hidden;
}
.nv-recent-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--mn-primary, #f97316), color-mix(in srgb, var(--mn-primary, #f97316) 60%, #9b7cff));
    border-radius: 2px;
    transition: width .3s;
}

/* 侧栏共读营列表 */
.nv-clubs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nv-clubs-item { margin: 0; padding: 0; }
.nv-clubs-link {
    display: flex;
    gap: 10px;
    padding: 7px 6px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background .15s;
    align-items: center;
}
.nv-clubs-link:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
}
.nv-clubs-cover {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 18%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 6%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-clubs-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-clubs-info { flex: 1; min-width: 0; }
.nv-clubs-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.nv-clubs-link:hover .nv-clubs-name { color: var(--mn-primary, #f97316); }
.nv-clubs-meta {
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    margin-top: 2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-rank-sidebar .nv-clubs-link { padding: 6px 4px; gap: 8px; }
.nv-rank-sidebar .nv-clubs-cover { width: 28px; height: 28px; font-size: 12px; border-radius: 6px; }
.nv-rank-sidebar .nv-clubs-name { font-size: 12.5px; }
.nv-rank-sidebar .nv-clubs-meta { font-size: 10.5px; }

/* ==========================================================================
   七、书籍详情
   ========================================================================== */
.nv-book-detail {
    display: flex;
    gap: 18px;
    padding: 18px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
    margin-bottom: var(--nv-gap-lg);
    flex-wrap: wrap;
}
.nv-book-cover-lg {
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 18%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 44px;
    overflow: hidden;
    box-shadow: var(--nv-shadow-md);
    flex-shrink: 0;
}
.nv-book-cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.nv-book-main { flex: 1; min-width: 220px; }
.nv-book-main h1 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--mn-text, #333);
    font-weight: 700;
    line-height: 1.3;
}
.nv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--mn-text-muted, #888);
    font-size: 13px;
    margin: 0 0 10px;
}
.nv-intro {
    color: var(--mn-text-secondary, #555);
    line-height: 1.7;
    font-size: 13.5px;
    margin: 0 0 12px;
}
.nv-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.nv-star {
    background: none;
    border: 0;
    padding: 0 1px;
    color: var(--mn-border, #ccc);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: transform .15s, color .15s;
}
.nv-star:hover { transform: scale(1.15); }
.nv-star.on { color: #f59e0b; }
.nv-rating { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }

.nv-progress-bar {
    height: 6px;
    background: var(--mn-border, #e5e7eb);
    border-radius: 3px;
    margin: 0 0 18px;
    overflow: hidden;
}
.nv-progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 60%, #9b7cff));
    border-radius: 3px;
    transition: width .3s;
}

/* ==========================================================================
   八、通用按钮 / 标题 / 面包屑 / 模块
   ========================================================================== */
.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-btn);
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
}
.nv-btn:hover {
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
    transform: translateY(-1px);
}
.nv-btn:active { transform: translateY(0); }
.nv-btn-primary {
    background: var(--mn-primary, #f97316);
    border-color: var(--mn-primary, #f97316);
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--mn-primary, #f97316) 25%, transparent);
}
.nv-btn-primary:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--mn-primary, #f97316) 35%, transparent);
}
.nv-btn-danger {
    border-color: color-mix(in srgb, var(--mn-error, #ef4444) 40%, var(--mn-border, #e5e7eb));
    color: var(--mn-error, #ef4444);
}
.nv-btn-danger:hover {
    background: var(--mn-error, #ef4444);
    color: #fff;
    border-color: var(--mn-error, #ef4444);
}
.nv-btn-sm { padding: 5px 12px; font-size: 12px; }

.nv-h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0 14px;
    color: var(--mn-text, #333);
    line-height: 1.4;
}
.nv-h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin: 22px 0 12px;
    padding-left: 10px;
    border-left: 3px solid var(--mn-primary, #f97316);
    line-height: 1.4;
}
.nv-page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--mn-text, #333);
    line-height: 1.3;
}

.nv-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--mn-text-muted, #888);
    margin: 0 0 16px;
}
.nv-breadcrumb a {
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    transition: color .15s;
}
.nv-breadcrumb a:hover { color: var(--mn-primary, #f97316); }
.nv-breadcrumb-sep { color: var(--mn-text-muted, #bbb); font-size: 12px; }
.nv-breadcrumb-current { color: var(--mn-text, #333); font-weight: 500; }

.nv-module { margin-bottom: 24px; padding: 0; }
.nv-page > .nv-module:last-child { margin-bottom: 0; }

.nv-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    color: var(--mn-primary, #f97316);
    font-size: 13px;
}
.nv-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.nv-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: var(--mn-primary, #f97316);
    border-radius: 2px;
    flex-shrink: 0;
}
.nv-section-more {
    margin-left: auto;
    color: var(--mn-text-muted, #888);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}
.nv-section-more:hover { color: var(--mn-primary, #f97316); }
.nv-section-more i { font-size: 10px; }
.nv-section-hint {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    margin: -8px 0 12px;
}

/* ==========================================================================
   九、章节列表（Grid 行优先）
   ========================================================================== */
.nv-chapter-list {
    list-style: none;
    padding: 10px 14px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 1px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
}
.nv-chapter-list li { margin: 0; font-size: 13.5px; min-width: 0; }
.nv-chapter-list a {
    color: var(--mn-text, #333);
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 6px;
    transition: background .15s, color .15s;
}
.nv-chapter-list a:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent);
    color: var(--mn-primary, #f97316);
}
.nv-ci { color: var(--mn-text-muted, #888); min-width: 28px; font-size: 12px; font-variant-numeric: tabular-nums; }
.nv-ct { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-cw { color: var(--mn-text-muted, #888); font-size: 12px; }

/* ==========================================================================
   十、书评
   ========================================================================== */
.nv-comment-form {
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
    padding: 12px;
    margin-bottom: 12px;
}
.nv-comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color .15s;
}
.nv-comment-form textarea:focus { border-color: var(--mn-primary, #f97316); }
.nv-comment-form .nv-btn { margin-top: 8px; }

.nv-comments { list-style: none; padding: 0; margin: 0; }
.nv-comments li {
    padding: 12px 14px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    margin-bottom: 8px;
}
.nv-cm-body { color: var(--mn-text, #333); line-height: 1.6; font-size: 13.5px; }
.nv-cm-meta {
    display: flex;
    gap: 14px;
    color: var(--mn-text-muted, #888);
    font-size: 12px;
    margin-top: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.nv-link {
    background: none;
    border: 0;
    color: var(--mn-primary, #f97316);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}
.nv-link:hover { text-decoration: underline; }
.nv-link-danger { color: var(--mn-error, #ef4444) !important; }
.nv-cm-user {
    color: var(--mn-text, #333);
    font-weight: 500;
}

/* ==========================================================================
   十一、我的阅读
   ========================================================================== */
.nv-tabs {
    display: flex;
    gap: 4px;
    margin: 12px 0 14px;
    flex-wrap: wrap;
    background: var(--mn-bg-soft, #f8fafc);
    border-radius: 10px;
    padding: 4px;
    width: max-content;
    max-width: 100%;
}
.nv-tab-btn {
    padding: 7px 14px;
    border: 0;
    background: transparent;
    color: var(--mn-text-secondary, #555);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all .15s;
}
.nv-tab-btn:hover { color: var(--mn-primary, #f97316); }
.nv-tab-btn.active {
    background: var(--mn-bg-card, #fff);
    color: var(--mn-primary, #f97316);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    font-weight: 500;
}
.nv-tab-panel { margin-top: 4px; }

.nv-list { list-style: none; padding: 0; margin: 0; }
.nv-list li {
    padding: 11px 14px;
    border: 1px solid var(--mn-border, #e5e7eb);
    background: var(--mn-bg-card, #fff);
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
    font-size: 13.5px;
}
.nv-list li a { color: var(--mn-text, #333); text-decoration: none; }
.nv-list li a:hover { color: var(--mn-primary, #f97316); }

.nv-muted { color: var(--mn-text-muted, #888); font-size: 12px; }
.nv-hint { color: var(--mn-text-muted, #888); font-size: 12px; }

.nv-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.nv-stat-card {
    padding: 16px 14px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    text-align: center;
    transition: all .15s;
}
.nv-stat-card:hover {
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 40%, var(--mn-border, #e5e7eb));
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}
.nv-stat-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--mn-primary, #f97316);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.5px;
}
.nv-stat-label { font-size: 12px; color: var(--mn-text-muted, #888); }

.nv-textarea-full { width: 100%; box-sizing: border-box; }

.nv-tabs-link {
    display: flex;
    gap: 4px;
    margin: 12px 0 18px;
    flex-wrap: wrap;
    background: var(--mn-bg-soft, #f8fafc);
    border-radius: 10px;
    padding: 4px;
    width: max-content;
    max-width: 100%;
}
.nv-tabs-link .nv-tab-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    color: var(--mn-text-secondary, #555);
    font-size: 13px;
    transition: all .15s ease;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
}
.nv-tabs-link .nv-tab-btn:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
}
.nv-tabs-link .nv-tab-btn.active {
    background: var(--mn-bg-card, #fff);
    color: var(--mn-primary, #f97316);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    font-weight: 500;
}
.nv-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mn-text-muted, #888) 18%, transparent);
    color: var(--mn-text-muted, #888);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.nv-tabs-link .nv-tab-btn.active .nv-tab-count {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 20%, transparent);
    color: var(--mn-primary, #f97316);
}

.nv-me-panel { margin-top: 4px; }
.nv-me-toolbar { display: flex; justify-content: flex-end; margin-bottom: 10px; }

.nv-me-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-me-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .18s ease, transform .15s ease;
}
.nv-me-item:hover {
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 35%, var(--mn-border, #e5e7eb));
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
    transform: translateY(-1px);
}
.nv-me-cover {
    width: 48px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 20px;
    text-decoration: none;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-me-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-me-cover-icon {
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    font-size: 22px;
}
.nv-me-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nv-me-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mn-text, #333);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-me-title:hover { color: var(--mn-primary, #f97316); }
.nv-me-meta { font-size: 12px; color: var(--mn-text-muted, #888); line-height: 1.4; }
.nv-me-time { font-size: 11.5px; color: var(--mn-text-muted, #888); line-height: 1.3; }
.nv-me-note {
    font-size: 12.5px;
    color: var(--mn-text-secondary, #555);
    padding: 5px 10px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    border-radius: 6px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-me-progress {
    height: 4px;
    background: var(--mn-border-light, #eef0f3);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}
.nv-me-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 60%, #9b7cff));
    border-radius: 2px;
    transition: width .3s;
}
.nv-me-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: center; }

.nv-me-item-block { flex-direction: column; align-items: stretch; gap: 8px; }
.nv-me-note-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.nv-me-quote {
    margin: 0;
    padding: 8px 12px;
    border-left: 3px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    color: var(--mn-text-secondary, #555);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.7;
}
.nv-me-note-body { font-size: 13.5px; color: var(--mn-text, #333); line-height: 1.75; padding: 2px 0; }

.nv-me-pager { margin-top: 20px; display: flex; justify-content: center; }

.nv-me-backup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.nv-me-backup-card {
    padding: 20px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
}
.nv-me-backup-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin: 0 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--mn-primary, #f97316);
    line-height: 1.4;
}
.nv-me-backup-desc {
    font-size: 13px;
    color: var(--mn-text-muted, #888);
    line-height: 1.6;
    margin: 0 0 12px;
}

/* ==========================================================================
   十二、本地导入 / 共享 / 封面
   ========================================================================== */
.nv-local-import {
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: var(--nv-radius-card);
    padding: 18px;
    margin-bottom: var(--nv-gap-lg);
}
.nv-local-import .nv-form-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 12px 0;
    flex-wrap: wrap;
}
.nv-local-import label {
    min-width: 84px;
    color: var(--mn-text-secondary, #555);
    padding-top: 10px;
    font-size: 13px;
}
.nv-local-import input,
.nv-local-import textarea,
.nv-local-import select {
    flex: 1 1 240px;
    min-width: 0;
    padding: 9px 12px;
    border: 1.5px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.nv-local-import input:focus,
.nv-local-import textarea:focus,
.nv-local-import select:focus {
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-local-import textarea { min-height: 150px; resize: vertical; }
.nv-local-import textarea:disabled {
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    cursor: not-allowed;
}

.nv-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mn-text, #333);
    font-size: 13.5px;
    cursor: pointer;
    user-select: none;
}
.nv-check-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--mn-primary, #f97316);
    cursor: pointer;
}
.nv-list li .nv-local-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--mn-text, #333);
    text-decoration: none;
}
.nv-list li .nv-local-title:hover { color: var(--mn-primary, #f97316); }
.nv-local-public-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.6;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    border: 1px solid var(--mn-border-light, #eef0f3);
    flex-shrink: 0;
}
.nv-local-public-tag.on {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 12%, transparent);
    color: var(--mn-success, #16a34a);
    border-color: color-mix(in srgb, var(--mn-success, #16a34a) 30%, transparent);
}
.nv-local-actions { display: flex; gap: 6px; flex-shrink: 0; }

.nv-share-title { font-weight: 500; color: var(--mn-text, #333); }
.nv-share-msg {
    display: block;
    width: 100%;
    font-size: 12px;
    color: var(--mn-text-secondary, #555);
    padding: 6px 10px;
    background: var(--mn-bg-soft, #f8fafc);
    border-radius: 6px;
    margin-top: 4px;
    line-height: 1.5;
}

.nv-local-permission {
    padding: 14px 18px;
    background: var(--mn-bg-card, #fff);
    border: 1px dashed var(--mn-border, #e5e7eb);
    border-radius: 12px;
    color: var(--mn-text-secondary, #555);
    font-size: 13.5px;
    line-height: 1.7;
    margin-top: 4px;
}
.nv-local-permission p { margin: 0 0 8px; }
.nv-local-permission p:last-child { margin-bottom: 0; }

.nv-cover-thumb {
    width: 40px;
    height: 54px;
    border-radius: 4px;
    background: var(--mn-bg-soft, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.nv-cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-cover-preview { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.nv-cover-preview img {
    width: 80px;
    height: 108px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--mn-border, #e5e7eb);
    display: block;
}
.nv-cover-preview-hint { font-size: 12px; color: var(--mn-text-muted, #888); }
.nv-form-tip {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--mn-text-muted, #888);
}

.nv-cover-upload { flex: 1 1 240px; min-width: 0; }
.nv-cover-picker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.nv-cover-picker-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 84px;
    border: 1.5px dashed var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    font-size: 22px;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color .15s, color .15s;
}
.nv-cover-picker:hover .nv-cover-picker-box {
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
}
.nv-cover-picker-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-cover-picker-box.has-image { border-style: solid; }
.nv-cover-picker-hint {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    line-height: 1.4;
}
.nv-cover-url-input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    box-sizing: border-box;
    outline: none;
}
.nv-cover-url-input:focus { border-color: var(--mn-primary, #f97316); }

.nv-local-list { display: flex; flex-direction: column; gap: 8px; }
.nv-local-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    background: var(--mn-bg-card, #fff);
    border-radius: 10px;
}
.nv-local-cover {
    width: 44px;
    height: 60px;
    border-radius: 6px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex; align-items: center; justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 16px; overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-local-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-local-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nv-local-meta .nv-local-title {
    font-weight: 500;
    color: var(--mn-text, #333);
    text-decoration: none;
    font-size: 14px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nv-local-meta .nv-local-title:hover { color: var(--mn-primary, #f97316); }

.nv-edit-tip {
    flex: 1 1 240px;
    min-width: 0;
    padding: 12px 14px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px dashed var(--mn-border, #e5e7eb);
    border-radius: 10px;
    color: var(--mn-text-secondary, #555);
    font-size: 13px;
    line-height: 1.7;
}
.nv-edit-tip p { margin: 0 0 6px; }
.nv-edit-tip p:last-child { margin-bottom: 0; }
.nv-edit-tip b { color: var(--mn-text, #333); }
.nv-edit-tip a { color: var(--mn-primary, #f97316); text-decoration: none; }
.nv-edit-tip a:hover { text-decoration: underline; }

/* ==========================================================================
   十三、首页区块（编辑精选 / 共读营宣传 / 本地书专栏）
   ========================================================================== */

/* 分类 chip 导航 */
.nv-catnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    padding: 12px 0 14px;
    margin: 0;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
    min-width: 0;
}
.nv-catnav-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .15s ease, background .15s ease, font-weight .15s ease;
    border: 0;
    background: transparent;
    flex: 0 0 auto;
}
.nv-catnav-item:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
}
.nv-catnav-item.active {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    font-weight: 600;
}

/* 次导航快捷入口 */
.nv-subnav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 2px;
    padding: 8px 0;
    margin: 0;
    min-width: 0;
}
.nv-subnav-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 400;
    color: var(--mn-text-muted, #888);
    text-decoration: none;
    border-radius: 7px;
    transition: color .15s ease, background .15s ease;
    white-space: nowrap;
    line-height: 1.45;
}
.nv-subnav-links a:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
}

/* 编辑精选（固定 3 本） */
.nv-featured {
    margin: 8px 0 20px;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 4%, var(--mn-bg-card, #fff)) 0%,
        var(--mn-bg-card, #fff) 60%);
    border: 1px solid color-mix(in srgb, var(--mn-primary, #f97316) 18%, var(--mn-border, #e5e7eb));
    border-radius: var(--nv-radius-card, 12px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
    position: relative;
    overflow: hidden;
}
.nv-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--mn-primary, #f97316) 0%,
        color-mix(in srgb, var(--mn-primary, #f97316) 50%, #9b7cff) 55%,
        #9b7cff 100%);
    opacity: .9;
    pointer-events: none;
}
.nv-featured .nv-section-title {
    font-size: 16.5px;
    margin: 0 0 16px;
    letter-spacing: .2px;
}
.nv-featured-grid-fixed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.nv-featured-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    color: inherit;
    text-decoration: none;
    align-items: flex-start;
    min-width: 0;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.nv-featured-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 50%, var(--mn-border, #e5e7eb));
    box-shadow: 0 12px 28px rgba(0, 0, 0, .09),
                0 4px 10px color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-featured-cover {
    width: 74px;
    height: 100px;
    border-radius: 8px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 18%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 24px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12),
                0 1px 3px rgba(0, 0, 0, .08);
    border: 1px solid color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-featured-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-featured-body { flex: 1; min-width: 0; }
.nv-featured-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    color: var(--mn-text, #333);
    margin-bottom: 4px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-featured-card:hover .nv-featured-title { color: var(--mn-primary, #f97316); }
.nv-featured-author {
    font-size: 12.5px;
    color: color-mix(in srgb, var(--mn-primary, #f97316) 70%, var(--mn-text-muted, #888));
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-featured-intro {
    font-size: 12.5px;
    color: var(--mn-text-secondary, #555);
    line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 首页共读营宣传区（紫色） */
.nv-home-clubs {
    position: relative;
    margin: 0 0 20px;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg,
        color-mix(in srgb, #9b7cff 6%, var(--mn-bg-card, #fff)) 0%,
        var(--mn-bg-card, #fff) 60%);
    border: 1px solid color-mix(in srgb, #9b7cff 30%, var(--mn-border, #e5e7eb));
    border-radius: var(--nv-radius-card, 12px);
    box-shadow: 0 4px 20px rgba(155, 124, 255, 0.10);
    overflow: hidden;
}
.nv-home-clubs::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9b7cff 0%, #c084fc 100%);
    pointer-events: none;
}
.nv-home-clubs-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.nv-home-clubs-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #9b7cff;
    margin: 0;
    letter-spacing: .2px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nv-home-clubs-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: #9b7cff;
    border-radius: 2px;
    flex-shrink: 0;
}
.nv-home-clubs-more {
    margin-left: auto;
    color: #9b7cff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity .15s;
}
.nv-home-clubs-more:hover { opacity: .75; }
.nv-home-clubs-hint {
    font-size: 12.5px;
    color: var(--mn-text-muted, #888);
    margin: 0 0 16px;
    line-height: 1.6;
}
.nv-home-clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.nv-home-club-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, #9b7cff 18%, var(--mn-border, #e5e7eb));
    background: color-mix(in srgb, #9b7cff 3%, var(--mn-bg-card, #fff));
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    min-width: 0;
}
.nv-home-club-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, #9b7cff 50%, var(--mn-border, #e5e7eb));
    box-shadow: 0 8px 20px rgba(155, 124, 255, 0.15);
}
.nv-home-club-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: color-mix(in srgb, #9b7cff 10%, var(--mn-bg-soft, #f8fafc));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #9b7cff;
}
.nv-home-club-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-home-club-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.nv-home-club-card:hover .nv-home-club-name { color: #9b7cff; }
.nv-home-club-meta {
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
    margin-top: 4px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 本地书专栏 */
.nv-local-strip { position: relative; }
.nv-local-strip .nv-strip-hint {
    margin-left: 12px;
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    white-space: nowrap;
}
.nv-local-strip .nv-section-more { margin-left: auto; }

.nv-local-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
.nv-local-card {
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--mn-border, #e5e7eb);
    background: var(--mn-bg-card, #fff);
    text-decoration: none;
    color: inherit;
    transition: all .18s ease;
    min-width: 0;
}
.nv-local-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}
.nv-local-private {
    background: var(--mn-bg-card, #fff);
    border-color: color-mix(in srgb, var(--mn-warning, #f59e0b) 24%, var(--mn-border, #e5e7eb));
}
.nv-local-public {
    background: var(--mn-bg-card, #fff);
    border-color: color-mix(in srgb, var(--mn-success, #16a34a) 24%, var(--mn-border, #e5e7eb));
}
.nv-local-card .nv-strip-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 22px;
}
.nv-local-card .nv-strip-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-local-card .nv-strip-cover .nv-book-status {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    line-height: 1.5;
    border-radius: 3px;
    color: #fff;
}
.nv-local-card .nv-book-status-done {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 90%, transparent);
}
.nv-local-card .nv-book-status-ongoing {
    background: color-mix(in srgb, var(--mn-warning, #f59e0b) 90%, transparent);
}
.nv-local-card .nv-strip-title {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    color: var(--mn-text, #333);
}
.nv-local-card .nv-strip-author {
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

/* ==========================================================================
   十四、排行榜页面
   ========================================================================== */
.nv-ranking-tabs {
    display: flex;
    gap: 4px;
    margin: 0 0 20px;
    background: var(--mn-bg-soft, #f8fafc);
    border-radius: 10px;
    padding: 4px;
    width: max-content;
    max-width: 100%;
    flex-wrap: wrap;
}
.nv-ranking-tab {
    padding: 8px 18px;
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    font-size: 13.5px;
    border-radius: 8px;
    transition: all .15s;
    white-space: nowrap;
}
.nv-ranking-tab:hover { color: var(--mn-primary, #f97316); }
.nv-ranking-tab.active {
    background: var(--mn-bg-card, #fff);
    color: var(--mn-primary, #f97316);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.nv-ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nv-ranking-item {
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    transition: all .18s ease;
    overflow: hidden;
}
.nv-ranking-item:hover {
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 40%, var(--mn-border, #e5e7eb));
    transform: translateX(4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}
.nv-ranking-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}
.nv-ranking-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--mn-text-muted, #888);
    background: var(--mn-bg-soft, #f8fafc);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.nv-ranking-top-1 .nv-ranking-no {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .4);
}
.nv-ranking-top-2 .nv-ranking-no {
    background: linear-gradient(135deg, #e0e0e0, #9ca3af);
    color: #fff;
    box-shadow: 0 4px 10px rgba(156, 163, 175, .3);
}
.nv-ranking-top-3 .nv-ranking-no {
    background: linear-gradient(135deg, #fdba74, #c2410c);
    color: #fff;
    box-shadow: 0 4px 10px rgba(194, 65, 12, .3);
}
.nv-ranking-cover {
    width: 44px;
    height: 60px;
    border-radius: 6px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-ranking-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-ranking-info { flex: 1; min-width: 0; }
.nv-ranking-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
    margin-bottom: 4px;
}
.nv-ranking-item:hover .nv-ranking-title { color: var(--mn-primary, #f97316); }
.nv-ranking-author {
    font-size: 12.5px;
    color: var(--mn-text-muted, #888);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.nv-ranking-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    align-items: center;
}
.nv-ranking-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    min-width: 56px;
}
.nv-ranking-stat-num {
    font-size: 15px;
    font-weight: 700;
    color: var(--mn-text, #333);
    font-variant-numeric: tabular-nums;
}
.nv-ranking-stat-lbl {
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    margin-top: 2px;
}

/* ==========================================================================
   十五、后台
   ========================================================================== */
.nv-admin {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 22px 44px;
    color: var(--mn-text, #333);
    font-size: 14px;
}
.nv-admin .admin-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    border-bottom: 1px solid var(--mn-border, #e5e7eb);
    margin: 0 0 20px;
    padding: 0;
}
.nv-admin .admin-tabs .admin-tab-btn,
.nv-admin .admin-tabs a.admin-tab-btn {
    display: inline-block;
    padding: 10px 18px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}
.nv-admin .admin-tabs a.admin-tab-btn:hover { color: var(--mn-primary, #f97316); }
.nv-admin .admin-tabs .admin-tab-btn.active,
.nv-admin .admin-tabs a.admin-tab-btn.active {
    color: var(--mn-primary, #f97316);
    border-bottom-color: var(--mn-primary, #f97316);
    font-weight: 600;
}
.nv-admin .nv-admin-search {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    align-items: center;
}
.nv-admin .nv-admin-search .form-input {
    flex: 1 1 240px;
    min-width: 0;
    max-width: 340px;
    padding: 9px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}
.nv-admin .nv-admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    font-size: 13px;
}
.nv-admin .nv-admin-table thead th {
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-secondary, #555);
    font-weight: 600;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--mn-border, #e5e7eb);
    white-space: nowrap;
}
.nv-admin .nv-admin-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--mn-border-light, #eee);
    vertical-align: middle;
    color: var(--mn-text, #333);
    white-space: nowrap;
}
.nv-admin .nv-admin-table tbody tr:last-child td { border-bottom: 0; }
.nv-admin .nv-admin-table tbody tr:hover td {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 4%, transparent);
}
.nv-admin .admin-form {
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.nv-admin .admin-form .form-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 12px 0;
    flex-wrap: wrap;
}
.nv-admin .admin-form .form-row label {
    min-width: 130px;
    padding-top: 9px;
    color: var(--mn-text-secondary, #555);
    font-size: 13px;
}
.nv-admin .admin-form .form-row .form-input {
    flex: 1 1 300px;
    min-width: 0;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.nv-flash { padding: 10px 14px; border-radius: 10px; margin: 12px 0; font-size: 13px; }
.nv-inline-form { display: inline-block; margin-left: 6px; }

.nv-admin-footer {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--mn-border-light, #eef0f3);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.nv-admin-back {
    color: var(--mn-text-secondary, #555);
    text-decoration: none;
    font-size: 13px;
    transition: color .15s;
}
.nv-admin-back:hover { color: var(--mn-primary, #f97316); }

.nv-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    align-items: center;
}

/* ==========================================================================
   十六、阅读器
   ========================================================================== */
.nv-rd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 18%, transparent);
    color: var(--nv-fg, var(--mn-text, #333));
    transition: background .15s;
    font-size: 13px;
}
.nv-rd-back:hover {
    background: color-mix(in srgb, var(--nv-fg, #333) 8%, transparent);
}
.nv-rd-back-text { display: inline; white-space: nowrap; }

.nv-reader {
    position: relative;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    color: var(--nv-fg, var(--mn-text, #333));
    transition: background-color .25s, color .25s;
}
.nv-reader[data-nv-theme="day"] {
    --nv-bg: var(--mn-bg-card, #fff);
    --nv-fg: var(--mn-text, #333);
    --nv-bg-top: var(--mn-bg-card, #fff);
    --nv-bg-soft: var(--mn-bg-soft, #f8fafc);
}
.nv-reader[data-nv-theme="night"] {
    --nv-bg: #1a1a1a;
    --nv-fg: #c8c8c8;
    --nv-bg-top: #202020;
    --nv-bg-soft: #262626;
}
.nv-reader[data-nv-theme="sepia"] {
    --nv-bg: #f5ecd9;
    --nv-fg: #4b3a25;
    --nv-bg-top: #ede0c7;
    --nv-bg-soft: #eee1c7;
}

.nv-rd-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--nv-bg-top, var(--mn-bg-card, #fff));
    border-bottom: 1px solid color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    backdrop-filter: saturate(150%) blur(8px);
}
.nv-rd-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--nv-fg, var(--mn-text, #333));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-rd-topright { display: flex; gap: 4px; }
.nv-rd-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--nv-fg, var(--mn-text, #333));
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background .15s, border-color .15s;
}
.nv-rd-btn:hover {
    background: color-mix(in srgb, var(--nv-fg, #333) 8%, transparent);
    border-color: color-mix(in srgb, var(--nv-fg, #333) 15%, transparent);
}
.nv-rd-primary {
    background: var(--mn-primary, #f97316) !important;
    border-color: var(--mn-primary, #f97316) !important;
    color: #fff !important;
}
.nv-rd-warn {
    background: var(--mn-error, #ef4444) !important;
    border-color: var(--mn-error, #ef4444) !important;
    color: #fff !important;
}

.nv-rd-progress {
    height: 3px;
    background: color-mix(in srgb, var(--nv-fg, #333) 10%, transparent);
    position: sticky;
    top: 53px;
    z-index: 29;
}
.nv-rd-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--mn-primary, #f97316), #9b7cff);
    transition: width .2s;
}

.nv-rd-content-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 24px 100px;
    box-sizing: border-box;
}
.nv-rd-chapter-title {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 26px;
    color: var(--nv-fg, var(--mn-text, #333));
    line-height: 1.4;
}
.nv-rd-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--nv-fg, var(--mn-text, #333));
    word-break: break-word;
}
.nv-rd-content p { margin: 0 0 1em; text-indent: 0; }
.nv-rd-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
    border-radius: 8px;
}
.nv-rd-wordcount {
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
    font-size: 13px;
    text-align: right;
    margin-top: 30px;
    padding-top: 14px;
    border-top: 1px dashed color-mix(in srgb, var(--nv-fg, #333) 15%, transparent);
}

.nv-rd-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 12px 16px;
    background: var(--nv-bg-top, var(--mn-bg-card, #fff));
    border-top: 1px solid color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    backdrop-filter: saturate(150%) blur(8px);
}
.nv-rd-navbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 20%, transparent);
    background: transparent;
    color: var(--nv-fg, var(--mn-text, #333));
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    transition: all .15s;
}
.nv-rd-navbtn:hover {
    background: color-mix(in srgb, var(--nv-fg, #333) 8%, transparent);
    transform: translateY(-1px);
}
.nv-rd-navbtn.disabled { opacity: .4; pointer-events: none; }

.nv-rd-drawer,
.nv-rd-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 360px;
    max-width: 92vw;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    color: var(--nv-fg, var(--mn-text, #333));
    z-index: 60;
    box-shadow: 0 0 28px rgba(0, 0, 0, .18);
    overflow-y: auto;
    animation: nvSlideIn .2s ease-out;
}
@keyframes nvSlideIn {
    from { transform: translateX(var(--nv-slide, -100%)); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
.nv-rd-drawer { left: 0; --nv-slide: -100%; }
.nv-rd-panel { right: 0; --nv-slide: 100%; }

.nv-rd-drawer header,
.nv-rd-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    font-weight: 600;
    position: sticky;
    top: 0;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    z-index: 1;
}

.nv-rd-cat-search { padding: 10px 12px; }
.nv-rd-cat-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 20%, transparent);
    border-radius: 8px;
    background: transparent;
    color: var(--nv-fg, var(--mn-text, #333));
    box-sizing: border-box;
    outline: none;
    font-size: 14px;
}
.nv-rd-cat-search input:focus { border-color: var(--mn-primary, #f97316); }

.nv-rd-catlist { list-style: none; padding: 0; margin: 0; }
.nv-rd-catlist li a {
    display: block;
    padding: 10px 16px;
    color: var(--nv-fg, var(--mn-text, #333));
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--nv-fg, #333) 8%, transparent);
    font-size: 14px;
    transition: background .12s;
}
.nv-rd-catlist li a:hover { background: color-mix(in srgb, var(--nv-fg, #333) 6%, transparent); }
.nv-rd-catlist li.active a {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    font-weight: 500;
}

.nv-rd-group {
    padding: 14px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--nv-fg, #333) 8%, transparent);
}
.nv-rd-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 13px;
    font-weight: 500;
    opacity: .88;
}
.nv-rd-group input[type="range"] {
    width: 100%;
    accent-color: var(--mn-primary, #f97316);
}
.nv-rd-group select,
.nv-rd-group textarea,
.nv-rd-group input[type="text"],
.nv-rd-group input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 20%, transparent);
    border-radius: 8px;
    background: transparent;
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}
.nv-rd-group select:focus,
.nv-rd-group textarea:focus,
.nv-rd-group input:focus { border-color: var(--mn-primary, #f97316); }
.nv-rd-group textarea { resize: vertical; }

.nv-rd-themes { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-rd-th {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 20%, transparent);
    cursor: pointer;
    background: transparent;
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 13px;
    transition: all .15s;
}
.nv-rd-th:hover { border-color: var(--mn-primary, #f97316); }
.nv-rd-th.active {
    background: var(--mn-primary, #f97316);
    color: #fff;
    border-color: var(--mn-primary, #f97316);
}
.nv-th-day   { background: linear-gradient(135deg, #fff 50%, #f5f5f5 50%); color: #333; }
.nv-th-night { background: linear-gradient(135deg, #2a2a2a 50%, #1a1a1a 50%); color: #fff; }
.nv-th-sepia { background: #f5ecd9; color: #4b3a25; }
.nv-th-auto  { background: linear-gradient(135deg, #fff 50%, #1a1a1a 50%); color: #fff; }
.nv-rd-th.active { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent); }

.nv-rd-row { display: flex; gap: 10px; align-items: center; }
.nv-rd-row > * { flex: 0 0 auto; }
.nv-rd-row input[type="range"] { flex: 1 1 auto; }

.nv-rd-list { list-style: none; padding: 0; margin: 0; }
.nv-rd-list li {
    padding: 10px 0;
    border-bottom: 1px dashed color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    font-size: 13px;
}
.nv-rd-list li a { color: var(--mn-primary, #f97316); text-decoration: none; }
.nv-rd-list li a:hover { text-decoration: underline; }
.nv-rd-list em {
    display: block;
    color: color-mix(in srgb, var(--nv-fg, #333) 65%, transparent);
    font-style: normal;
    font-size: 12px;
    margin-bottom: 4px;
}
.nv-rd-list p { margin: 4px 0; color: var(--nv-fg, var(--mn-text, #333)); }

.nv-rd-hint {
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

.nv-rd-jump {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    z-index: 40;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 15%, transparent);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.nv-rd-jump input {
    width: 100px;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 20%, transparent);
    border-radius: 8px;
    background: transparent;
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 14px;
    outline: none;
}

.nv-reader[data-hide-images="1"] .nv-rd-content img { display: none; }

.nv-rd-fullscreen { position: fixed; inset: 0; z-index: 100; }

.nv-reader[data-page-mode="page"] .nv-rd-content-wrap {
    max-width: var(--nv-maxw, 800px);
}
.nv-reader[data-animation="0"] .nv-rd-content * { transition: none !important; }

.nv-rd-note-bubble {
    position: absolute;
    z-index: 100;
    padding: 4px;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 15%, transparent);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
    display: none;
}
.nv-rd-note-bubble .nv-rd-btn {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
}

/* ==========================================================================
   十七、公开批注（阅读器内 · 底部列表兼容版）
   ========================================================================== */
.nv-rd-annotations {
    max-width: 800px;
    margin: 32px auto 0;
    padding: 20px 24px 0;
    border-top: 1px dashed color-mix(in srgb, var(--nv-fg, #333) 15%, transparent);
}
.nv-rd-annot-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nv-fg, var(--mn-text, #333));
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nv-rd-annot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.nv-rd-annot-item {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    background: color-mix(in srgb, var(--nv-fg, #333) 3%, transparent);
}
.nv-rd-annot-quote {
    margin: 0 0 8px;
    padding: 8px 12px;
    border-left: 3px solid var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    color: color-mix(in srgb, var(--nv-fg, #333) 85%, transparent);
    border-radius: 4px;
    font-size: 13.5px;
    line-height: 1.7;
}
.nv-rd-annot-note {
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 8px;
}
.nv-rd-annot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
}
.nv-rd-annot-meta .nv-rd-btn { font-size: 12px; padding: 2px 8px; }

/* 正文批注角标 [N] */
.nv-annot-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    margin: 0 1px 0 2px;
    vertical-align: super;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 70%, #ff8c42));
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 2px 5px color-mix(in srgb, var(--mn-primary, #f97316) 35%, transparent);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    font-family: inherit;
}
.nv-annot-mark:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px color-mix(in srgb, var(--mn-primary, #f97316) 55%, transparent);
}
.nv-annot-mark:active { transform: scale(.95); }

@keyframes nvAnnotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 5px color-mix(in srgb, var(--mn-primary, #f97316) 35%, transparent); }
    50%      { transform: scale(1.4); box-shadow: 0 4px 14px color-mix(in srgb, var(--mn-primary, #f97316) 65%, transparent); }
}
.nv-annot-mark.nv-annot-pulse { animation: nvAnnotPulse 1.2s ease-out; }
.nv-rd-annot-toggle { position: relative; }
.nv-rd-annot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    margin-left: 2px;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--mn-primary, #f97316);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* 右侧批注抽屉 */
.nv-rd-annot-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 92vw;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    color: var(--nv-fg, var(--mn-text, #333));
    z-index: 99990;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .24s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0px);
}
.nv-rd-annot-drawer.open { transform: translateX(0); }
.nv-rd-annot-drawer > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    font-weight: 600;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    flex-shrink: 0;
    min-height: 48px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}
.nv-rd-annot-drawer > header em {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
    margin-left: 4px;
}
.nv-rd-annot-drawer > header .nv-rd-btn {
    color: color-mix(in srgb, var(--nv-fg, #333) 60%, transparent);
    transition: color .15s, background .15s, transform .15s;
}
.nv-rd-annot-drawer > header .nv-rd-btn:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent);
    transform: rotate(90deg);
}
.nv-rd-annot-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px 20px;
    -webkit-overflow-scrolling: touch;
}
.nv-rd-annot-empty {
    margin: 40px 0;
    text-align: center;
    font-size: 13px;
    color: color-mix(in srgb, var(--nv-fg, #333) 50%, transparent);
}

.nv-rd-annot-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-rd-annot-item {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 10%, transparent);
    background: color-mix(in srgb, var(--nv-fg, #333) 3%, transparent);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    scroll-margin: 20px;
}
.nv-rd-annot-item.focus {
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 18%, transparent);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, var(--nv-bg, #fff));
}

.nv-rd-annot-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
}
.nv-rd-annot-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 70%, #ff8c42));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 5px color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent);
}
.nv-rd-annot-user {
    font-weight: 500;
    color: var(--nv-fg, var(--mn-text, #333));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}
.nv-rd-annot-time { margin-left: auto; font-size: 11px; }

.nv-rd-annot-note {
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 13.5px;
    line-height: 1.75;
    word-break: break-word;
}
.nv-rd-annot-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed color-mix(in srgb, var(--nv-fg, #333) 10%, transparent);
    flex-wrap: wrap;
}
.nv-rd-annot-actions .nv-rd-btn {
    padding: 4px 10px;
    font-size: 12px;
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.nv-rd-annot-actions .nv-rd-btn:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 20%, transparent);
}
.nv-rd-annot-danger { color: var(--mn-error, #ef4444) !important; }
.nv-rd-annot-danger:hover {
    background: color-mix(in srgb, var(--mn-error, #ef4444) 10%, transparent) !important;
    border-color: color-mix(in srgb, var(--mn-error, #ef4444) 30%, transparent) !important;
    color: var(--mn-error, #ef4444) !important;
}
.nv-rd-annot-reply-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    margin-left: 2px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 16%, transparent);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.nv-rd-annot-avatar,
.nv-rd-annot-reply-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: inline-block;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 10%, transparent);
}
.nv-rd-annot-reply-avatar { width: 18px; height: 18px; }
.nv-rd-annot-avatar-ph,
.nv-rd-annot-reply-avatar-ph {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 25%, transparent),
        color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent));
}

.nv-rd-annot-replies {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nv-rd-annot-replies:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}
.nv-rd-annot-reply {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--nv-fg, #333) 4%, transparent);
    border-left: 2px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
    transition: background .15s ease;
}
.nv-rd-annot-reply:hover { background: color-mix(in srgb, var(--nv-fg, #333) 6%, transparent); }
.nv-rd-annot-reply-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11.5px;
    color: color-mix(in srgb, var(--nv-fg, #333) 55%, transparent);
}
.nv-rd-annot-reply-user {
    font-weight: 500;
    color: color-mix(in srgb, var(--nv-fg, #333) 80%, transparent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}
.nv-rd-annot-reply-time { margin-left: auto; font-size: 11px; }
.nv-rd-annot-reply-content {
    font-size: 13px;
    line-height: 1.65;
    color: var(--nv-fg, var(--mn-text, #333));
    word-break: break-word;
    padding-right: 44px;
}
.nv-rd-annot-reply-del {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 8px;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--nv-fg, #333) 45%, transparent);
    font-size: 11px;
    cursor: pointer;
    border-radius: 5px;
    transition: color .15s ease, background .15s ease;
    line-height: 1.4;
}
.nv-rd-annot-reply-del:hover {
    color: var(--mn-error, #ef4444);
    background: color-mix(in srgb, var(--mn-error, #ef4444) 10%, transparent);
}

.nv-rd-annot-reply-box {
    margin-top: 10px;
    padding: 10px;
    background: color-mix(in srgb, var(--nv-fg, #333) 4%, transparent);
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 10%, transparent);
    animation: nvReplySlideIn .18s ease-out;
}
@keyframes nvReplySlideIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nv-rd-annot-reply-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 18%, transparent);
    border-radius: 8px;
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    color: var(--nv-fg, var(--mn-text, #333));
    font-size: 13px;
    font-family: inherit;
    line-height: 1.6;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    min-height: 56px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.nv-rd-annot-reply-input:focus {
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-rd-annot-reply-input::placeholder {
    color: color-mix(in srgb, var(--nv-fg, #333) 40%, transparent);
}
.nv-rd-annot-reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
.nv-rd-annot-reply-actions .nv-rd-btn {
    font-size: 12.5px;
    padding: 5px 14px;
}

.nv-rd-annot-mask {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .35);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 99980;
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
    pointer-events: none;
}
.nv-rd-annot-mask.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nv-rd-annot-footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid color-mix(in srgb, var(--nv-fg, #333) 12%, transparent);
    background: var(--nv-bg, var(--mn-bg-card, #fff));
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}
.nv-rd-annot-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 280px;
    padding: 10px 20px;
    border: 1px solid color-mix(in srgb, var(--nv-fg, #333) 18%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--nv-fg, #333) 5%, transparent);
    color: color-mix(in srgb, var(--nv-fg, #333) 80%, transparent);
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1.4;
    user-select: none;
}
.nv-rd-annot-close-btn i { font-size: 12px; opacity: .75; }
.nv-rd-annot-close-btn:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent);
    color: var(--mn-primary, #f97316);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--mn-primary, #f97316) 15%, transparent);
}
.nv-rd-annot-close-btn:active { transform: translateY(0) scale(.98); }

/* ==========================================================================
   十八、共读营 · 列表页
   ========================================================================== */
.nv-club-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.nv-club-card {
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    padding: 12px;
    transition: all .18s;
    min-width: 0;
}
.nv-club-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 40%, var(--mn-border, #e5e7eb));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}
.nv-club-card a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}
.nv-club-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 28px;
    overflow: hidden;
}
.nv-club-cover img { width: 100%; height: 100%; object-fit: cover; }
.nv-club-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-club-intro {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nv-club-meta {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================================================
   十九、共读营 · 详情页
   ========================================================================== */
.nv-club-header {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    padding: 0;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    margin-bottom: 20px;
    min-width: 0;
    overflow: hidden;
}
.nv-club-header-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    flex-shrink: 0;
    border-radius: 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 18%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 48px;
    overflow: hidden;
}
.nv-club-header-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nv-club-header-main {
    padding: 20px 22px 22px;
    min-width: 0;
}
.nv-club-header-main h1 { font-size: 20px; margin: 0 0 8px; color: var(--mn-text, #333); }
.nv-club-book { font-size: 13px; color: var(--mn-text-secondary, #555); margin: 6px 0; }
.nv-club-book a { color: var(--mn-primary, #f97316); text-decoration: none; }
.nv-club-members {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.nv-club-member {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 3px;
    border-radius: 999px;
    font-size: 12px;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-secondary, #555);
    border: 1px solid var(--mn-border-light, #eef0f3);
    max-width: 180px;
    transition: border-color .15s, background .15s;
}
.nv-club-member:hover {
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 30%, var(--mn-border, #e5e7eb));
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, var(--mn-bg-soft, #f8fafc));
}
.nv-club-member-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: inline-block;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--mn-text-muted, #888) 15%, transparent);
}
.nv-club-member-avatar-ph {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 25%, transparent),
        color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent));
}
.nv-club-member-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--mn-text, #333);
}
.nv-club-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 15%, transparent);
    color: var(--mn-primary, #f97316);
}

.nv-club-posts { list-style: none; padding: 0; margin: 0; }
.nv-club-post {
    padding: 14px 16px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    margin-bottom: 10px;
}
.nv-club-post-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.nv-club-post-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-club-post-user {
    font-size: 13px;
    font-weight: 500;
    color: var(--mn-text, #333);
}
.nv-club-post-time {
    margin-left: auto;
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
}

/* 帖子回复（扁平平铺在顶层帖下） */
.nv-club-replies {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--mn-border-light, #eef0f3);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nv-club-reply {
    padding: 8px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--mn-text, #333) 4%, transparent);
    border-left: 2px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
}
.nv-club-reply-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
}
.nv-club-reply-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-club-reply-user {
    font-weight: 500;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}
.nv-club-reply-time { margin-left: auto; }
.nv-club-reply-content {
    font-size: 13px;
    line-height: 1.65;
    color: var(--mn-text, #333);
    word-break: break-word;
}
.nv-club-reply-at { color: var(--mn-primary, #f97316); font-weight: 500; }
.nv-club-reply-edited {
    font-style: normal;
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    margin-left: 4px;
    opacity: .8;
}

/* 回复操作按钮 + 内联编辑框 */
.nv-club-reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.nv-club-reply-act {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: var(--mn-text-muted, #888);
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    font-family: inherit;
    transition: color .15s, background .15s, border-color .15s;
}
.nv-club-reply-act:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 20%, transparent);
}
.nv-club-reply-act-danger { color: var(--mn-error, #ef4444); }
.nv-club-reply-act-danger:hover {
    color: var(--mn-error, #ef4444);
    background: color-mix(in srgb, var(--mn-error, #ef4444) 10%, transparent);
    border-color: color-mix(in srgb, var(--mn-error, #ef4444) 25%, transparent);
}
.nv-club-reply-box,
.nv-club-reply-edit-box,
.nv-club-reply-sub-box {
    margin-top: 8px;
    padding: 10px;
    background: color-mix(in srgb, var(--mn-text, #333) 4%, transparent);
    border-radius: 8px;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-club-reply-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13px;
    font-family: inherit;
    line-height: 1.6;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    min-height: 56px;
}
.nv-club-reply-input:focus { border-color: var(--mn-primary, #f97316); }

/* 阅读计划说明 */
.nv-club-plan-body {
    padding: 14px 16px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text-secondary, #555);
}

/* 每日任务卡 */
.nv-club-task-body {
    padding: 16px 18px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
}
.nv-club-task-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--mn-text, #333);
    margin: 0 0 12px;
}
.nv-club-task-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text-secondary, #555);
    margin-bottom: 12px;
}
.nv-club-task-chapters {
    margin: 12px 0;
    padding: 12px 14px;
    background: var(--mn-bg-soft, #f8fafc);
    border-radius: 8px;
}
.nv-club-task-chapters-label {
    font-size: 12.5px;
    color: var(--mn-text-muted, #888);
    margin-bottom: 6px;
}
.nv-club-task-chapters ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nv-club-task-chapters a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--mn-text, #333);
    text-decoration: none;
    font-size: 13.5px;
    transition: background .15s;
}
.nv-club-task-chapters a:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    color: var(--mn-primary, #f97316);
}
.nv-club-task-think,
.nv-club-task-quote {
    padding: 10px 14px;
    border-left: 3px solid var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    border-radius: 6px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--mn-text, #333);
    margin-top: 10px;
}
.nv-club-task-quote {
    border-left-color: #9b7cff;
    background: color-mix(in srgb, #9b7cff 6%, transparent);
}

/* 打卡 */
.nv-club-checkin-hint {
    padding: 16px 18px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px dashed var(--mn-border, #e5e7eb);
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--mn-text-muted, #888);
    text-align: center;
}
.nv-club-join-hint { margin-bottom: 16px; }
@media (max-width: 640px) {
    .nv-club-join-hint { margin-bottom: 12px; }
}
.nv-checkin-done-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--mn-success, #16a34a);
    background: color-mix(in srgb, var(--mn-success, #16a34a) 12%, transparent);
    border-radius: 999px;
}
.nv-club-checkin-form {
    padding: 16px 18px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
}
.nv-club-checkin-field { margin-bottom: 12px; }
.nv-club-checkin-field label {
    display: block;
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    margin-bottom: 6px;
    font-weight: 500;
}
.nv-club-checkin-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    font-family: inherit;
    line-height: 1.65;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}
.nv-club-checkin-field textarea:focus { border-color: var(--mn-primary, #f97316); }
.nv-club-checkin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}
.nv-club-checkin-list { margin-top: 20px; }
.nv-club-checkin-list-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mn-text-secondary, #555);
    margin: 0 0 12px;
}
.nv-club-checkin-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-club-checkin-item {
    padding: 12px 14px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
}
.nv-club-checkin-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12.5px;
    color: var(--mn-text-muted, #888);
}
.nv-club-checkin-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-club-checkin-user { font-weight: 500; color: var(--mn-text, #333); }
.nv-club-checkin-time { margin-left: auto; font-size: 11.5px; }
.nv-club-checkin-content {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text, #333);
    margin-bottom: 6px;
}
.nv-club-checkin-excerpt {
    margin: 0;
    padding: 8px 12px;
    border-left: 3px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    color: var(--mn-text-secondary, #555);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.7;
}

/* 营主工具条 */
.nv-club-owner-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px solid var(--mn-border-light, #eef0f3);
    border-radius: 10px;
    flex-wrap: wrap;
}
.nv-club-invite-code {
    font-family: ui-monospace, Consolas, monospace;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--mn-bg-card, #fff);
    border: 1px dashed var(--mn-border, #e5e7eb);
    font-size: 13px;
    color: var(--mn-text, #333);
    letter-spacing: 1px;
}
.nv-club-share-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* 加入申请列表 */
.nv-join-requests {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-join-request {
    padding: 10px 14px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nv-join-msg {
    font-size: 12.5px;
    color: var(--mn-text-secondary, #555);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-join-actions { display: flex; gap: 6px; margin-left: auto; }

/* ==========================================================================
   二十、共读营 · 右栏每日阅读计划（主题 .mn-panel 版本）
   ========================================================================== */
.nv-club-side-card-sidebar {
    padding: 0;
    margin: 0;
}
.nv-club-side-card-sidebar .mn-panel-title {
    padding: 12px 14px;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
    font-weight: 600;
    margin: 0;
    font-size: 13.5px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 4%, var(--mn-bg-card, #fff)) 0%,
        var(--mn-bg-card, #fff) 100%);
}
.nv-club-side-progress {
    padding: 10px 14px;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-club-side-progress-bar {
    height: 4px;
    background: var(--mn-border-light, #eef0f3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}
.nv-club-side-progress-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 60%, #9b7cff));
    border-radius: 2px;
    transition: width .3s;
}
.nv-club-side-progress-text {
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
}
.nv-club-daylist {
    max-height: 560px;
    overflow-y: auto;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    scrollbar-width: thin;
}
.nv-club-daylist::-webkit-scrollbar { width: 6px; }
.nv-club-daylist::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--mn-text, #333) 15%, transparent);
    border-radius: 3px;
}
.nv-day-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--mn-text, #333);
    font-size: 12.5px;
    line-height: 1.3;
    transition: background .12s;
    position: relative;
    min-width: 0;
}
.nv-day-item:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
}
.nv-day-item.active {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, transparent),
        color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent));
    color: var(--mn-primary, #f97316);
    font-weight: 600;
}
.nv-day-item.future { opacity: .55; }
.nv-day-item.no-task { color: var(--mn-text-muted, #888); }
.nv-day-item.missed { opacity: 1; }
.nv-day-item.missed .nv-day-item-no {
    background: color-mix(in srgb, #f59e0b 15%, transparent);
    color: #f59e0b;
}
.nv-day-item-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 5px;
    border-radius: 5px;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.nv-day-item.active .nv-day-item-no {
    background: var(--mn-primary, #f97316);
    color: #fff;
}
.nv-day-item.checked .nv-day-item-no {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 90%, transparent);
    color: #fff;
}
.nv-day-item-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-day-item-check {
    color: var(--mn-success, #16a34a);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* ==========================================================================
   二十一、共读营 · 我的共读 / 结营报告
   ========================================================================== */
.nv-my-clubs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-my-clubs-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    transition: border-color .15s, box-shadow .18s;
}
.nv-my-clubs-item:hover {
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 35%, var(--mn-border, #e5e7eb));
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
}
.nv-my-clubs-cover {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 24px;
    text-decoration: none;
}
.nv-my-clubs-cover img { width: 100%; height: 100%; object-fit: cover; }
.nv-my-clubs-info { flex: 1; min-width: 0; }
.nv-my-clubs-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.nv-my-clubs-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--mn-text, #333);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-my-clubs-name:hover { color: var(--mn-primary, #f97316); }
.nv-my-clubs-meta {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    margin-bottom: 6px;
}
.nv-my-clubs-progress {
    height: 4px;
    background: var(--mn-border-light, #eef0f3);
    border-radius: 2px;
    overflow: hidden;
}
.nv-my-clubs-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--mn-primary, #f97316), color-mix(in srgb, var(--mn-primary, #f97316) 60%, #9b7cff));
    border-radius: 2px;
    transition: width .3s;
}
.nv-my-clubs-actions { display: flex; gap: 6px; flex-shrink: 0; }

.nv-report {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 32px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)) 0%,
        var(--mn-bg-card, #fff) 100%);
    border: 1px solid color-mix(in srgb, var(--mn-primary, #f97316) 20%, var(--mn-border, #e5e7eb));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}
.nv-report::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 50%, #9b7cff),
        #9b7cff);
}
.nv-report-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}
.nv-report-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mn-primary, #f97316), color-mix(in srgb, var(--mn-primary, #f97316) 60%, #9b7cff));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    overflow: hidden;
    flex-shrink: 0;
}
.nv-report-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nv-report-username { font-size: 18px; font-weight: 700; color: var(--mn-text, #333); }
.nv-report-clubname { font-size: 13px; color: var(--mn-text-muted, #888); margin-top: 4px; }
.nv-report-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.nv-report-stat {
    padding: 16px 12px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    text-align: center;
}
.nv-report-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--mn-primary, #f97316);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.nv-report-stat-lbl { font-size: 12px; color: var(--mn-text-muted, #888); margin-top: 4px; }
.nv-report-section { margin-bottom: 24px; }
.nv-report-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--mn-text, #333);
    margin: 0 0 12px;
    padding-left: 10px;
    border-left: 3px solid var(--mn-primary, #f97316);
}
.nv-report-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-report-timeline-item {
    padding: 12px 14px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
}
.nv-report-timeline-day {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--mn-primary, #f97316);
    margin-bottom: 6px;
}
.nv-report-timeline-content {
    font-size: 13px;
    line-height: 1.7;
    color: var(--mn-text, #333);
    margin-bottom: 6px;
}
.nv-report-timeline-excerpt {
    margin: 6px 0;
    padding: 8px 12px;
    border-left: 3px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    border-radius: 4px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--mn-text-secondary, #555);
}
.nv-report-timeline-time { font-size: 11px; color: var(--mn-text-muted, #999); margin-top: 4px; }
.nv-report-excerpts { display: flex; flex-direction: column; gap: 10px; }
.nv-report-excerpt {
    margin: 0;
    padding: 12px 16px;
    background: var(--mn-bg-card, #fff);
    border-left: 4px solid var(--mn-primary, #f97316);
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text, #333);
}
.nv-report-foot {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--mn-border, #e5e7eb);
    text-align: center;
}
.nv-report-slogan { font-size: 13px; color: var(--mn-text-secondary, #555); margin-bottom: 4px; }
.nv-report-brand { font-size: 12px; color: var(--mn-text-muted, #888); letter-spacing: 2px; }
.nv-report-actions { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }

/* ==========================================================================
   二十二、公开笔记页
   ========================================================================== */
.nv-annot-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nv-annot-item {
    padding: 14px 16px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-left: 4px solid var(--mn-primary, #f97316);
    border-radius: 10px;
}
.nv-annot-quote {
    margin: 0 0 8px;
    padding: 8px 12px;
    border-left: 3px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    color: var(--mn-text-secondary, #555);
    border-radius: 4px;
    font-size: 13.5px;
    line-height: 1.7;
}
.nv-annot-note {
    color: var(--mn-text, #333);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 8px;
}
.nv-annot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: var(--mn-text-muted, #888);
}
.nv-annot-book { color: var(--mn-primary, #f97316); text-decoration: none; font-weight: 500; }
.nv-annot-book:hover { text-decoration: underline; }

/* ==========================================================================
   二十三、通用模态窗（替代原生 prompt/confirm/alert）
   ========================================================================== */
.nv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: nvModalFadeIn .18s ease forwards;
}
@keyframes nvModalFadeIn { to { opacity: 1; } }
.nv-modal {
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28),
                0 8px 24px rgba(0, 0, 0, .12);
    border: 1px solid color-mix(in srgb, var(--mn-border, #e5e7eb) 70%, transparent);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    transform: translateY(8px) scale(.98);
    animation: nvModalZoomIn .22s cubic-bezier(.34, 1.56, .64, 1) forwards;
    font-family: inherit;
}
@keyframes nvModalZoomIn { to { transform: translateY(0) scale(1); } }
.nv-modal-header {
    position: relative;
    padding: 20px 24px 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--mn-text, #333);
    line-height: 1.4;
    letter-spacing: .2px;
}
.nv-modal-header::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 23px;
    width: 3px;
    height: 17px;
    background: linear-gradient(180deg,
        var(--mn-primary, #f97316),
        color-mix(in srgb, var(--mn-primary, #f97316) 55%, #9b7cff));
    border-radius: 2px;
}
.nv-modal-body {
    padding: 4px 24px 12px;
    font-size: 14px;
    color: var(--mn-text-secondary, #555);
    line-height: 1.7;
}
.nv-modal-body p { margin: 0 0 10px; }
.nv-modal-input,
.nv-modal-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.nv-modal-textarea { min-height: 120px; resize: vertical; }
.nv-modal-input:focus,
.nv-modal-textarea:focus {
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 15%, transparent);
}
.nv-modal-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    text-align: right;
    opacity: .8;
}
.nv-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px 20px;
}
.nv-modal-btn {
    min-width: 92px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--mn-border, #e5e7eb);
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1.3;
    font-family: inherit;
}
.nv-modal-btn:hover {
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
}
.nv-modal-btn-primary {
    background: var(--mn-primary, #f97316);
    border-color: var(--mn-primary, #f97316);
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent);
}
.nv-modal-btn-primary:hover {
    color: #fff;
    filter: brightness(1.08);
    border-color: var(--mn-primary, #f97316);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--mn-primary, #f97316) 42%, transparent);
}
.nv-modal-btn-danger {
    background: var(--mn-error, #ef4444);
    border-color: var(--mn-error, #ef4444);
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--mn-error, #ef4444) 30%, transparent);
}
.nv-modal-btn-danger:hover {
    color: #fff;
    background: var(--mn-error, #dc2626);
    border-color: var(--mn-error, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--mn-error, #ef4444) 42%, transparent);
}

/* ==========================================================================
   二十四、书籍选择器（共读营关联书籍）
   ========================================================================== */
.nv-bookpicker {
    flex: 1 1 320px;
    min-width: 0;
    position: relative;
}
.nv-bookpicker-selected {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: var(--mn-bg-card, #fff);
    border: 1.5px solid color-mix(in srgb, var(--mn-primary, #f97316) 40%, var(--mn-border, #e5e7eb));
    border-radius: 10px;
    position: relative;
}
.nv-bookpicker-selected-cover {
    width: 44px;
    height: 60px;
    border-radius: 6px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex; align-items: center; justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 18px; overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-bookpicker-selected-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-bookpicker-selected-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nv-bookpicker-selected-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mn-text, #333);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nv-bookpicker-selected-author { font-size: 12px; color: var(--mn-text-muted, #888); }
.nv-bookpicker-clear {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 0;
    background: color-mix(in srgb, var(--mn-text-muted, #888) 12%, transparent);
    color: var(--mn-text-muted, #888);
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.nv-bookpicker-clear:hover {
    background: var(--mn-error, #ef4444);
    color: #fff;
    transform: rotate(90deg);
}
.nv-bookpicker-search {
    display: flex;
    gap: 6px;
    align-items: center;
    position: relative;
}
.nv-bookpicker-input {
    flex: 1;
    min-width: 0;
    padding: 9px 40px 9px 12px;
    border: 1.5px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.nv-bookpicker-input:focus {
    border-color: var(--mn-primary, #f97316);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-bookpicker-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--mn-primary, #f97316);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: filter .15s;
}
.nv-bookpicker-search-btn:hover { filter: brightness(1.08); }
.nv-bookpicker-results {
    margin-top: 6px;
    max-height: 340px;
    overflow-y: auto;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: 6px;
}
.nv-bookpicker-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s;
}
.nv-bookpicker-item:hover { background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent); }
.nv-bookpicker-cover {
    width: 36px;
    height: 48px;
    border-radius: 5px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 15%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex; align-items: center; justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 14px; overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-bookpicker-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-bookpicker-ph { font-size: 14px; }
.nv-bookpicker-info { flex: 1; min-width: 0; }
.nv-bookpicker-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--mn-text, #333);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nv-bookpicker-author {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nv-bookpicker-empty,
.nv-bookpicker-loading {
    padding: 24px 12px;
    text-align: center;
    color: var(--mn-text-muted, #888);
    font-size: 13px;
}

/* ==========================================================================
   二十五、共读营发帖 / 打卡配图
   ========================================================================== */
.nv-post-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
}
.nv-post-image-item {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px solid var(--mn-border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nv-post-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-post-image-spinner {
    width: 24px; height: 24px;
    border: 2px solid color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent);
    border-top-color: var(--mn-primary, #f97316);
    border-radius: 50%;
    animation: nvSpin .8s linear infinite;
}
@keyframes nvSpin { to { transform: rotate(360deg); } }
.nv-post-image-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.nv-post-image-del:hover { background: var(--mn-error, #ef4444); }
.nv-post-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.nv-post-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text-secondary, #555);
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
}
.nv-post-upload-btn:hover {
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
}
.nv-post-upload-hint {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
}
.nv-post-toolbar .nv-btn { margin-left: auto; }
.nv-post-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
}
.nv-post-img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mn-border-light, #eef0f3);
    transition: transform .15s;
}
.nv-post-img:hover { transform: translateY(-2px); }
.nv-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   二十六、共读营 · 打卡墙
   ========================================================================== */
.nv-wall-streak {
    display: flex;
    gap: 20px;
    padding: 12px 16px;
    margin-bottom: 14px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 8%, var(--mn-bg-card, #fff)),
        var(--mn-bg-card, #fff));
    border: 1px solid color-mix(in srgb, var(--mn-primary, #f97316) 25%, var(--mn-border, #e5e7eb));
    border-radius: 12px;
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    flex-wrap: wrap;
}
.nv-wall-streak b {
    color: var(--mn-primary, #f97316);
    font-size: 16px;
    margin: 0 2px;
}
.nv-wall-filter { margin-bottom: 18px; }
.nv-wall-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}
.nv-wall-main { min-width: 0; }
.nv-wall-rank { position: sticky; top: 20px; }
.nv-wall-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nv-wall-item {
    padding: 14px 16px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
}
.nv-wall-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12.5px;
    color: var(--mn-text-muted, #888);
}
.nv-wall-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-wall-user { font-weight: 500; color: var(--mn-text, #333); }
.nv-wall-day {
    padding: 1px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    color: var(--mn-primary, #f97316);
    font-weight: 500;
}
.nv-wall-time { margin-left: auto; }
.nv-wall-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    margin: 8px 0;
}
.nv-wall-images a {
    display: block;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-wall-images img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-wall-content {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text, #333);
    margin: 6px 0;
}
.nv-wall-excerpt {
    margin: 8px 0;
    padding: 8px 12px;
    border-left: 3px solid color-mix(in srgb, var(--mn-primary, #f97316) 50%, transparent);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    color: var(--mn-text-secondary, #555);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.7;
}
.nv-wall-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--mn-border-light, #eef0f3);
    flex-wrap: wrap;
}
.nv-wall-act {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--mn-text-muted, #888);
    font-size: 12.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.nv-wall-act:hover {
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 20%, transparent);
}
.nv-wall-act.is-liked { color: var(--mn-error, #ef4444); }
.nv-wall-act.is-liked:hover {
    background: color-mix(in srgb, var(--mn-error, #ef4444) 10%, transparent);
    border-color: color-mix(in srgb, var(--mn-error, #ef4444) 25%, transparent);
}
.nv-wall-comments {
    margin-top: 10px;
    padding: 10px;
    background: color-mix(in srgb, var(--mn-text, #333) 4%, transparent);
    border-radius: 8px;
}
.nv-wall-loading,
.nv-wall-empty {
    padding: 12px;
    text-align: center;
    color: var(--mn-text-muted, #888);
    font-size: 13px;
}
.nv-wall-comments-list { display: flex; flex-direction: column; gap: 8px; }
.nv-wall-cmt {
    padding: 8px 10px;
    background: var(--mn-bg-card, #fff);
    border-radius: 6px;
    border-left: 2px solid color-mix(in srgb, var(--mn-primary, #f97316) 40%, transparent);
}
.nv-wall-cmt-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
    margin-bottom: 3px;
}
.nv-wall-cmt-avatar {
    width: 18px; height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.nv-wall-cmt-user { font-weight: 500; color: var(--mn-text, #333); }
.nv-wall-cmt-time { margin-left: auto; }
.nv-wall-cmt-content {
    font-size: 13px;
    line-height: 1.65;
    color: var(--mn-text, #333);
}
.nv-wall-cmt-form { margin-top: 10px; }
.nv-wall-cmt-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 6px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
}
.nv-wall-cmt-form textarea:focus { border-color: var(--mn-primary, #f97316); }
.nv-wall-cmt-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}
.nv-wall-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nv-wall-rank-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    font-size: 12.5px;
}
.nv-wall-rank-top1 { border-color: #ffd700; background: linear-gradient(135deg, #fff9e0, var(--mn-bg-card, #fff)); }
.nv-wall-rank-top2 { border-color: #c0c0c0; }
.nv-wall-rank-top3 { border-color: #cd7f32; }
.nv-wall-rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    flex-shrink: 0;
}
.nv-wall-rank-top1 .nv-wall-rank-no { background: linear-gradient(135deg, #ffd700, #f59e0b); color: #fff; }
.nv-wall-rank-top2 .nv-wall-rank-no { background: linear-gradient(135deg, #e0e0e0, #9ca3af); color: #fff; }
.nv-wall-rank-top3 .nv-wall-rank-no { background: linear-gradient(135deg, #fdba74, #c2410c); color: #fff; }
.nv-wall-rank-avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.nv-wall-rank-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mn-text, #333);
    font-weight: 500;
}
.nv-wall-rank-meta { font-size: 11.5px; color: var(--mn-text-muted, #888); flex-shrink: 0; }

/* ==========================================================================
   二十七、共读消息 · 角标 & 列表
   ========================================================================== */
.nv-noti-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    margin-left: 2px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--mn-error, #ef4444);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
}
.nv-noti-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nv-noti-item {
    position: relative;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .18s ease;
}
.nv-noti-item.is-read { opacity: .72; }
.nv-noti-item.is-unread {
    border-color: color-mix(in srgb, var(--mn-primary, #f97316) 30%, var(--mn-border, #e5e7eb));
    background: color-mix(in srgb, var(--mn-primary, #f97316) 3%, var(--mn-bg-card, #fff));
}
.nv-noti-item:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.nv-noti-link {
    display: flex;
    gap: 12px;
    padding: 12px 40px 12px 14px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    min-width: 0;
}
.nv-noti-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent);
    font-size: 16px;
}
.nv-noti-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nv-noti-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--mn-text-muted, #888);
}
.nv-noti-type { color: var(--mn-primary, #f97316); font-weight: 500; }
.nv-noti-time { margin-left: auto; }
.nv-noti-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mn-text, #333);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-noti-content {
    font-size: 12.5px;
    color: var(--mn-text-secondary, #555);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nv-noti-dot {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mn-error, #ef4444);
}
.nv-noti-del {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    color: var(--mn-text-muted, #888);
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.nv-noti-del:hover {
    color: var(--mn-error, #ef4444);
    background: color-mix(in srgb, var(--mn-error, #ef4444) 10%, transparent);
}

/* ==========================================================================
   二十八、后台状态标签 / 天数选择
   ========================================================================== */
.nv-club-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
}
.nv-status-blue {
    background: color-mix(in srgb, #3b82f6 12%, transparent);
    color: #3b82f6;
}
.nv-status-green {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 12%, transparent);
    color: var(--mn-success, #16a34a);
}
.nv-status-gray {
    background: color-mix(in srgb, var(--mn-text-muted, #888) 12%, transparent);
    color: var(--mn-text-muted, #888);
}
.nv-pin-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    margin-right: 6px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    line-height: 1.5;
}
.nv-club-status-absolute {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nv-pin-tag-absolute {
    position: absolute;
    top: 8px;
    left: 8px;
}
.nv-day-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.nv-day-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    color: var(--mn-text-secondary, #555);
    font-size: 13px;
    text-decoration: none;
    transition: all .15s;
}
.nv-day-pill:hover {
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
}
.nv-day-pill.active {
    background: var(--mn-primary, #f97316);
    color: #fff;
    border-color: var(--mn-primary, #f97316);
}

/* ==========================================================================
   二十九、响应式
   ========================================================================== */
@media (min-width: 641px) and (max-width: 960px) {
    .nv-books { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
    .nv-book { max-width: none; }
    .nv-local-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .nv-featured-grid-fixed { grid-template-columns: repeat(2, 1fr); }
    .nv-wall-layout { grid-template-columns: 1fr; }
    .nv-wall-rank { position: static; }
}

@media (max-width: 720px) {
    .nv-catnav { gap: 2px 4px; padding: 10px 0 12px; }
    .nv-catnav-item { padding: 5px 10px; font-size: 13px; }
    .nv-subnav-links {
        padding: 4px 0 0;
        margin: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nv-subnav-links::-webkit-scrollbar { display: none; }
    .nv-subnav-links a { padding: 6px 10px; font-size: 12.5px; }
    .nv-featured { margin-top: 24px; padding: 14px; }
    .nv-featured-grid-fixed { grid-template-columns: 1fr; }
    .nv-featured-cover { width: 68px; height: 92px; }
}

@media (max-width: 640px) {
    .nv-page { padding: 10px 12px 24px; }
    .nv-topbar { gap: 10px; margin-bottom: 14px; }
    .nv-quick {
        flex: 1 1 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }
    .nv-quick::-webkit-scrollbar { display: none; }
    .nv-quick a { padding: 6px 10px; font-size: 12.5px; }

    .nv-orders-count { display: none; }
    .nv-orders .nv-orders-label { margin-left: 0 !important; }

    .nv-books { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nv-book { max-width: none; }
    .nv-book-cover { font-size: 34px; }
    .nv-book-info { padding: 9px 10px 10px; }
    .nv-book-title { font-size: 13px; }
    .nv-book-meta { font-size: 10.5px; gap: 6px; }

    .nv-empty { padding: 44px 20px; }
    .nv-empty-icon { width: 54px; height: 54px; font-size: 22px; }

    .nv-rank { padding: 14px 12px; }
    .nv-rank-author { display: none; }
    .nv-rank-meta { min-width: 56px; font-size: 11px; }
    .nv-rank-title { font-size: 13px; }
    .nv-rank-sidebar { margin-bottom: 10px; }

    .nv-book-detail { padding: 14px; gap: 14px; }
    .nv-book-cover-lg { width: 108px; height: 144px; font-size: 32px; }
    .nv-book-main h1 { font-size: 17px; }
    .nv-page-title { font-size: 18px; }
    .nv-section-title { font-size: 15px; }
    .nv-module { margin-bottom: 18px; }
    .nv-chapter-list { grid-template-columns: 1fr; padding: 8px 10px; }
    .nv-tabs { width: 100%; }

    .nv-local-import { padding: 14px; }
    .nv-local-import label { min-width: 0; width: 100%; padding-top: 0; }
    .nv-list li { flex-direction: column; align-items: flex-start; }
    .nv-list li .nv-local-title { width: 100%; }
    .nv-local-actions { width: 100%; }
    .nv-local-actions .nv-btn { flex: 1; }

    .nv-excerpt-item { padding: 12px; }
    .nv-excerpt-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
    .nv-excerpt-meta .nv-btn { margin-left: 0; }

    .nv-local-item { flex-wrap: wrap; }
    .nv-local-cover { width: 40px; height: 54px; }
    .nv-cover-picker-box { width: 56px; height: 74px; font-size: 18px; }
    .nv-local-permission { padding: 12px 14px; font-size: 13px; }

    .nv-local-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .nv-local-card .nv-strip-cover { font-size: 18px; }
    .nv-local-card .nv-strip-title { font-size: 11.5px; }

    .nv-ranking-tabs { margin-bottom: 16px; }
    .nv-ranking-tab { padding: 7px 14px; font-size: 13px; }
    .nv-ranking-link { padding: 12px; gap: 10px; }
    .nv-ranking-no { width: 28px; height: 28px; font-size: 13px; border-radius: 6px; }
    .nv-ranking-cover { width: 36px; height: 50px; font-size: 14px; }
    .nv-ranking-title { font-size: 14px; }
    .nv-ranking-author { font-size: 11.5px; }
    .nv-ranking-stats { gap: 10px; }
    .nv-ranking-stat { min-width: 44px; }
    .nv-ranking-stat-num { font-size: 13px; }

    .nv-rd-back-text { display: none; }
    .nv-rd-back { padding: 6px 8px; }
    .nv-rd-content-wrap { padding: 20px 16px 90px; }
    .nv-rd-chapter-title { font-size: 18px; margin-bottom: 18px; }
    .nv-rd-content { font-size: 17px; }
    .nv-rd-drawer,
    .nv-rd-panel { width: 100%; }
    .nv-rd-navbtn { padding: 8px 16px; font-size: 13px; }

    .nv-admin { padding: 12px 12px 30px; }
    .nv-admin .nv-admin-table { font-size: 12px; }
    .nv-admin .nv-admin-table thead th,
    .nv-admin .nv-admin-table tbody td { padding: 10px 8px; white-space: normal; }

    .nv-club-header-cover { aspect-ratio: 16 / 9; font-size: 36px; }
    .nv-club-header-main { padding: 16px 16px 18px; }
    .nv-club-header-main h1 { font-size: 17px; }

    .nv-rd-annot-drawer { width: 100%; max-width: 100%; }
    .nv-annot-mark { min-width: 14px; height: 14px; font-size: 9.5px; padding: 0 3.5px; }
    .nv-rd-annot-reply { padding: 7px 10px; }
    .nv-rd-annot-reply-content { font-size: 12.5px; padding-right: 40px; }
    .nv-rd-annot-reply-head { font-size: 11px; }
    .nv-rd-annot-reply-input { font-size: 13px; min-height: 52px; }
    .nv-rd-annot-actions { flex-wrap: wrap; }
    .nv-rd-annot-actions .nv-btn { font-size: 11.5px; padding: 4px 9px; }
    .nv-rd-annot-footer { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
    .nv-rd-annot-close-btn { max-width: none; font-size: 14px; padding: 11px 18px; }

    .nv-tabs-link {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nv-tabs-link::-webkit-scrollbar { display: none; }
    .nv-tabs-link .nv-tab-btn { white-space: nowrap; flex-shrink: 0; }
    .nv-me-backup { grid-template-columns: 1fr; }
    .nv-me-item { flex-wrap: wrap; padding: 12px; gap: 10px; }
    .nv-me-cover { width: 40px; height: 54px; font-size: 16px; }
    .nv-me-actions { width: 100%; justify-content: flex-end; }

    .nv-report { padding: 20px 16px; }
    .nv-report-stats { grid-template-columns: repeat(2, 1fr); }
    .nv-report-stat-num { font-size: 20px; }
    .nv-my-clubs-item { flex-wrap: wrap; }
    .nv-my-clubs-actions { width: 100%; justify-content: flex-end; }

    .nv-home-clubs { padding: 14px; }
    .nv-home-clubs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nv-home-club-cover { font-size: 22px; }
    .nv-home-club-name { font-size: 13px; }

    .nv-noti-link { padding: 10px 34px 10px 12px; gap: 10px; }
    .nv-noti-icon { width: 28px; height: 28px; font-size: 14px; }
    .nv-noti-dot { right: 34px; }
    .nv-noti-del { right: 6px; }

    .nv-post-image-item { width: 72px; height: 72px; }
    .nv-post-img { width: 90px; height: 90px; }

    .nv-stat-num { font-size: 18px; }
}

@media (max-width: 400px) {
    .nv-catnav-item { padding: 5px 9px; font-size: 12.5px; }
    .nv-books { grid-template-columns: 1fr; }
    .nv-stat-num { font-size: 16px; }
}

/* ==========================================================================
   三十、防溢出兜底（修复右栏错位）
   ========================================================================== */
.nv-page {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
.nv-page * {
    box-sizing: border-box;
}
.nv-page .nv-club-post,
.nv-page .nv-club-reply,
.nv-page .nv-club-reply-content,
.nv-page .nv-cm-body,
.nv-page .nv-wall-content,
.nv-page .nv-wall-cmt-content,
.nv-page .nv-club-checkin-content,
.nv-page .nv-club-task-desc,
.nv-page .nv-club-task-think,
.nv-page .nv-club-task-quote,
.nv-page .nv-club-plan-body,
.nv-page .nv-intro,
.nv-page .nv-club-header-main,
.nv-page .nv-club-header-main h1,
.nv-page .nv-club-header-main p,
.nv-page .nv-report,
.nv-page .nv-report-username,
.nv-page .nv-report-clubname {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}
.nv-page img {
    max-width: 100%;
    height: auto;
}
.nv-page .nv-post-imgs,
.nv-page .nv-post-images,
.nv-page .nv-wall-images {
    max-width: 100%;
    box-sizing: border-box;
}
.nv-page a[href^="http"] {
    overflow-wrap: anywhere;
    word-break: break-all;
}
.nv-page pre,
.nv-page code {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}
.nv-page table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
    box-sizing: border-box;
}
.nv-page .nv-club-header > *,
.nv-page .nv-club-reply > *,
.nv-page .nv-club-checkin-item > * {
    min-width: 0;
}

/* ==========================================================================
   五十三、JS 改布局拦截 —— 冻结 .mn-body 三栏结构
   ========================================================================== */
@keyframes mnFreezeBody {
    from, to {
        display: flex;
        flex-wrap: nowrap;
    }
}
@keyframes mnFreezeLeft {
    from, to {
        flex: 0 0 200px;
        width: 200px;
        min-width: 0;
        max-width: 200px;
    }
}
@keyframes mnFreezeCenter {
    from, to {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        width: auto;
    }
}
@keyframes mnFreezeRight {
    from, to {
        flex: 0 0 260px;
        width: 260px;
        min-width: 0;
        max-width: 260px;
        order: 0;
    }
}
@keyframes mnFreezeHideMobile {
    from, to {
        display: none;
    }
}

@media (min-width: 1025px) {
    .mn-body {
        animation: mnFreezeBody 0.001s infinite !important;
        gap: 20px;
        align-items: flex-start;
    }
    .mn-body > .mn-left  { animation: mnFreezeLeft  0.001s infinite !important; overflow: hidden; }
    .mn-body > .mn-center{ animation: mnFreezeCenter 0.001s infinite !important; overflow: hidden; }
    .mn-body > .mn-right { animation: mnFreezeRight 0.001s infinite !important; overflow: hidden; }

    .mn-body > .mn-mobile-toolbar,
    .mn-body > .mn-mobile-ribbon,
    .mn-body > .mn-mobile-sidebar {
        animation: mnFreezeHideMobile 0.001s infinite !important;
    }
}

@media (max-width: 1024px) {
    .mn-body { display: flex; flex-wrap: nowrap; gap: 20px; }
    .mn-body > .mn-left { flex: 0 0 200px; min-width: 0; max-width: 200px; overflow: hidden; }
    .mn-body > .mn-center { flex: 1 1 0; min-width: 0; overflow: hidden; }
    .mn-body > .mn-right { display: none !important; }
    .mn-body > .mn-mobile-toolbar,
    .mn-body > .mn-mobile-ribbon { display: none !important; }
}

@media (max-width: 768px) {
    .mn-body { display: block; }
    .mn-body > .mn-left,
    .mn-body > .mn-right { display: none !important; }
}

/* ==========================================================================
   五十五、共读营 · 分类 / 标签 / 归档 / 全营总结
   ========================================================================== */
.nv-club-cat {
    color: var(--mn-primary, #f97316);
    font-weight: 500;
}
.nv-club-archived-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: color-mix(in srgb, var(--mn-text-muted, #888) 15%, transparent);
    color: var(--mn-text-muted, #888);
}
.nv-club-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 4px;
}
.nv-club-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 10%, transparent);
    color: var(--mn-primary, #f97316);
    font-weight: 500;
}
.nv-cat-count {
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mn-text-muted, #888) 15%, transparent);
    color: var(--mn-text-muted, #888);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.nv-summary {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 32px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)) 0%,
        var(--mn-bg-card, #fff) 100%);
    border: 1px solid color-mix(in srgb, var(--mn-primary, #f97316) 20%, var(--mn-border, #e5e7eb));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}
.nv-summary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mn-primary, #f97316), #9b7cff);
}
.nv-summary-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}
.nv-summary-cover {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mn-primary, #f97316), #9b7cff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    overflow: hidden;
    flex-shrink: 0;
}
.nv-summary-cover img { width: 100%; height: 100%; object-fit: cover; }
.nv-summary-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mn-text, #333);
    margin: 0 0 4px;
}
.nv-summary-sub {
    font-size: 13px;
    color: var(--mn-text-muted, #888);
}
.nv-summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.nv-summary-stat {
    padding: 16px 12px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    text-align: center;
}
.nv-summary-stat-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--mn-primary, #f97316);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
.nv-summary-stat-lbl {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    margin-top: 4px;
}
.nv-summary-section { margin-bottom: 24px; }
.nv-summary-excerpts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nv-summary-excerpt {
    margin: 0;
    padding: 12px 16px;
    background: var(--mn-bg-card, #fff);
    border-left: 4px solid var(--mn-primary, #f97316);
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text, #333);
}
.nv-summary-excerpt cite {
    display: inline;
    margin-left: 6px;
    font-size: 12px;
    font-style: normal;
    color: var(--mn-text-muted, #888);
}
.nv-summary-foot {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--mn-border, #e5e7eb);
    text-align: center;
}
.nv-summary-slogan {
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    margin-bottom: 4px;
}
.nv-summary-brand {
    font-size: 12px;
    color: var(--mn-text-muted, #888);
    letter-spacing: 2px;
}
.nv-summary-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 640px) {
    .nv-summary { padding: 20px 16px; }
    .nv-summary-stats { grid-template-columns: repeat(2, 1fr); }
    .nv-summary-stat-num { font-size: 18px; }
}

/* ==========================================================================
   五十六、邀请码弹窗 · 复制按钮 + 代码块
   ========================================================================== */
.nv-invite-hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    line-height: 1.6;
}
.nv-invite-copy-wrap {
    padding: 14px 16px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
    border: 1px dashed color-mix(in srgb, var(--mn-primary, #f97316) 30%, var(--mn-border, #e5e7eb));
    border-radius: 10px;
    text-align: center;
}
.nv-invite-copy-code {
    display: inline-block;
    font-family: ui-monospace, Consolas, "Courier New", monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--mn-primary, #f97316);
    user-select: all;
    -webkit-user-select: all;
    cursor: text;
    padding: 2px 6px;
    background: transparent;
    border: 0;
}

/* ==========================================================================
   五十七、相关推荐卡片（「读完这本书的人还读了」）
   ========================================================================== */
.nv-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: var(--nv-gap-lg, 20px);
}
.nv-related-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: all .15s;
    align-items: center;
    min-width: 0;
}
.nv-related-card:hover {
    border-color: var(--mn-primary, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}
.nv-related-cover {
    width: 48px;
    height: 64px;
    border-radius: 6px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mn-primary, #f97316) 18%, var(--mn-bg-card, #fff)),
        color-mix(in srgb, var(--mn-primary, #f97316) 5%, var(--mn-bg-card, #fff)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-primary, #f97316);
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
}
.nv-related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nv-related-info {
    flex: 1;
    min-width: 0;
}
.nv-related-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.nv-related-card:hover .nv-related-title {
    color: var(--mn-primary, #f97316);
}
.nv-related-author {
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .nv-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .nv-related-card {
        padding: 8px;
        gap: 8px;
    }
    .nv-related-cover {
        width: 40px;
        height: 54px;
        font-size: 14px;
    }
}

/* ==========================================================================
   五十八、首页英雄区（Hero）· 素雅版
   ========================================================================== */
.nv-hero {
    position: relative;
    margin: 0 0 18px;
    padding: 22px 28px;
    border-radius: 14px;
    background: var(--mn-bg-card, #fff);
    border: 1px solid var(--mn-border, #e5e7eb);
    color: var(--mn-text, #333);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.nv-hero-inner {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.nv-hero-text {
    flex: 1 1 300px;
    min-width: 0;
}
.nv-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mn-primary, #f97316) 8%, transparent);
    color: var(--mn-primary, #f97316);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2px;
}
.nv-hero-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1.15;
    margin: 0 0 8px;
    color: var(--mn-text, #333);
}
.nv-hero-accent {
    color: var(--mn-primary, #f97316);
}
.nv-hero-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--mn-text-secondary, #555);
    margin: 0 0 14px;
}
.nv-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.nv-hero-btn {
    background: var(--mn-bg-card, #fff);
    border-color: var(--mn-border, #e5e7eb);
    color: var(--mn-text, #333);
    font-weight: 500;
    padding: 8px 18px;
    font-size: 13px;
}
.nv-hero-btn:hover {
    background: var(--mn-bg-soft, #f8fafc);
    border-color: var(--mn-primary, #f97316);
    color: var(--mn-primary, #f97316);
    transform: translateY(-1px);
}
.nv-hero-btn.nv-btn-primary {
    background: var(--mn-primary, #f97316);
    border-color: var(--mn-primary, #f97316);
    color: #fff;
}
.nv-hero-btn.nv-btn-primary:hover {
    color: #fff;
    filter: brightness(1.05);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--mn-primary, #f97316) 30%, transparent);
}
.nv-hero-stats {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 10px 6px;
    border-radius: 12px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-hero-stat {
    min-width: 68px;
    padding: 4px 14px;
    text-align: center;
}
.nv-hero-stat + .nv-hero-stat {
    border-left: 1px solid var(--mn-border-light, #eef0f3);
}
.nv-hero-stat-num {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--mn-text, #333);
    font-variant-numeric: tabular-nums;
}
.nv-hero-stat-lbl {
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    margin-top: 2px;
    letter-spacing: .2px;
}

@media (max-width: 900px) {
    .nv-hero { padding: 20px 22px; }
    .nv-hero-title { font-size: 26px; }
    .nv-hero-stats { width: 100%; justify-content: space-around; padding: 8px 4px; }
    .nv-hero-stat { flex: 1; min-width: 0; padding: 4px 8px; }
}
@media (max-width: 640px) {
    .nv-hero { padding: 16px 16px; border-radius: 12px; margin-bottom: 14px; }
    .nv-hero-eyebrow { margin-bottom: 8px; font-size: 11.5px; }
    .nv-hero-title { font-size: 22px; margin-bottom: 6px; }
    .nv-hero-desc { font-size: 12.5px; margin-bottom: 12px; line-height: 1.6; }
    .nv-hero-btn { padding: 7px 14px; font-size: 12.5px; }
    .nv-hero-stats { padding: 6px 2px; }
    .nv-hero-stat { padding: 3px 6px; }
    .nv-hero-stat-num { font-size: 16px; }
    .nv-hero-stat-lbl { font-size: 10.5px; }
}

/* ==========================================================================
   五十九、书籍上架/下架 · 徽章 + 提示条
   ========================================================================== */
.nv-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
}
.nv-badge-online {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 12%, transparent);
    color: var(--mn-success, #16a34a);
}
.nv-badge-offline {
    background: color-mix(in srgb, var(--mn-text-muted, #888) 15%, transparent);
    color: var(--mn-text-muted, #888);
}
.nv-offline-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 0 14px;
    background: color-mix(in srgb, var(--mn-warning, #f59e0b) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--mn-warning, #f59e0b) 35%, transparent);
    border-left: 4px solid var(--mn-warning, #f59e0b);
    border-radius: 8px;
    font-size: 13px;
    color: var(--mn-text, #333);
    line-height: 1.5;
    flex-wrap: wrap;
}
.nv-offline-banner strong {
    color: var(--mn-warning, #f59e0b);
    font-weight: 600;
}
.nv-offline-banner span {
    color: var(--mn-text-secondary, #555);
    font-size: 12.5px;
}

/* ==========================================================================
   六十、小说书库 · 独立页面（表格式）
   ========================================================================== */
.nv-lib-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 18px;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.nv-lib-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mn-text, #333);
    margin: 0;
    line-height: 1.3;
    letter-spacing: .2px;
}
.nv-lib-catnav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 13.5px;
}
.nv-lib-catnav a {
    color: var(--mn-primary, #f97316);
    text-decoration: none;
    transition: opacity .15s;
}
.nv-lib-catnav a:hover { opacity: .75; text-decoration: underline; }

.nv-lib-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.nv-lib-input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}
.nv-lib-input:focus { border-color: var(--mn-primary, #f97316); }
.nv-lib-select {
    padding: 8px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
}
.nv-lib-total {
    margin-left: auto;
    font-size: 12.5px;
    color: var(--mn-text-muted, #888);
}

.nv-lib-tablewrap {
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
    background: var(--mn-bg-card, #fff);
    width: 100%;
}
.nv-lib-table {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 13.5px;
    table-layout: fixed !important;
}
.nv-lib-table thead th {
    padding: 12px 14px;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-secondary, #555);
    font-weight: 600;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid var(--mn-border, #e5e7eb);
    white-space: nowrap;
}
.nv-lib-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--mn-border-light, #eef0f3);
    vertical-align: middle;
    color: var(--mn-text, #333);
}
.nv-lib-table tbody tr:last-child td { border-bottom: 0; }
.nv-lib-table tbody tr:hover td {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 4%, transparent);
}

/* 列宽 */
.nv-lib-table .nv-lib-col-type   { width: 80px; }
.nv-lib-table .nv-lib-col-title  { width: auto; }
.nv-lib-table .nv-lib-col-num    { width: 90px;  text-align: right; }
.nv-lib-table .nv-lib-col-author { width: 110px; }
.nv-lib-table .nv-lib-col-status { width: 70px; }
.nv-lib-table .nv-lib-col-time   { width: 100px; }
.nv-lib-table td.nv-lib-num { text-align: right; font-variant-numeric: tabular-nums; }

.nv-lib-type {
    display: inline-flex;
    align-items: center;
    color: var(--mn-primary, #f97316);
    font-weight: 500;
    font-size: 13px;
}

.nv-lib-title-cell {
    min-width: 0;
    line-height: 1.55;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nv-lib-booklink {
    color: var(--mn-text, #333);
    text-decoration: none;
    font-weight: 500;
    margin-right: 6px;
    transition: color .15s;
}
.nv-lib-booklink:hover { color: var(--mn-primary, #f97316); }
.nv-lib-chapter {
    color: var(--mn-text-muted, #888);
    font-size: 12.5px;
    margin-right: 6px;
}
.nv-lib-top {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 4px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .3px;
    vertical-align: 1px;
}

.nv-lib-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
}
.nv-lib-status-done {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 12%, transparent);
    color: var(--mn-success, #16a34a);
}
.nv-lib-status-ongoing {
    background: color-mix(in srgb, var(--mn-warning, #f59e0b) 12%, transparent);
    color: var(--mn-warning, #f59e0b);
}

.nv-lib-time {
    color: var(--mn-text-muted, #888);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.nv-lib-table td.nv-lib-author,
.nv-lib-table td.nv-lib-time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nv-lib-header { padding: 12px 0 14px; }
    .nv-lib-title { font-size: 17px; }
    .nv-lib-table { font-size: 13px; table-layout: auto !important; }
    .nv-lib-table thead th,
    .nv-lib-table tbody td { padding: 10px 8px; }
    .nv-lib-col-author,
    .nv-lib-table td.nv-lib-author { display: none; }
    .nv-lib-col-time,
    .nv-lib-table td.nv-lib-time { display: none; }
    .nv-lib-col-num { width: 70px; }
    .nv-lib-type { font-size: 12px; }
    .nv-lib-booklink { font-size: 13.5px; }
    .nv-lib-chapter { display: block; font-size: 11.5px; margin-right: 0; }
}

/* ==========================================================================
   六十二、本地书 · 简介 + 评分
   ========================================================================== */
.nv-local-intro {
    padding: 12px 16px;
    margin: 0 0 12px;
    background: var(--mn-bg-soft, #f8fafc);
    border-left: 3px solid var(--mn-primary, #f97316);
    border-radius: 6px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--mn-text-secondary, #555);
}
.nv-local-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    margin: 0 0 12px;
    background: var(--mn-bg-soft, #f8fafc);
    border-radius: 8px;
    border: 1px solid var(--mn-border-light, #eef0f3);
    flex-wrap: wrap;
}
.nv-local-rating-label {
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    margin-right: 6px;
}
.nv-local-rating .nv-star {
    background: none;
    border: 0;
    padding: 2px 3px;
    color: var(--mn-border, #ccc);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: transform .15s, color .15s;
}
.nv-local-rating .nv-star:hover:not(:disabled) {
    transform: scale(1.15);
}
.nv-local-rating .nv-star.on {
    color: #f59e0b;
}
.nv-local-rating .nv-star:disabled {
    cursor: not-allowed;
    opacity: .6;
}

/* ==========================================================================
   六十三、左栏榜单面板（由核心 left_sidebar.php 独立输出）
   ========================================================================== */
.nv-side-rank-more {
    float: right;
    font-size: 12px;
    font-weight: 400;
    color: var(--mn-text-muted, #888);
    text-decoration: none;
    line-height: 1.6;
}
.nv-side-rank-more:hover { color: var(--mn-primary, #f97316); }

.nv-side-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.nv-side-rank-item { margin: 0; padding: 0; }
.nv-side-rank-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 5px;
    color: inherit;
    text-decoration: none;
    transition: background .15s;
    min-width: 0;
}
.nv-side-rank-link:hover {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 6%, transparent);
}
.nv-side-rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    background: var(--mn-bg-soft, #f8fafc);
    color: var(--mn-text-muted, #888);
    flex-shrink: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.nv-side-rank-top1 .nv-side-rank-no {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #fff;
}
.nv-side-rank-top2 .nv-side-rank-no {
    background: linear-gradient(135deg, #e0e0e0, #9ca3af);
    color: #fff;
}
.nv-side-rank-top3 .nv-side-rank-no {
    background: linear-gradient(135deg, #fdba74, #c2410c);
    color: #fff;
}
.nv-side-rank-title {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: var(--mn-text, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.nv-side-rank-link:hover .nv-side-rank-title {
    color: var(--mn-primary, #f97316);
}
.nv-side-rank-meta {
    font-size: 11px;
    color: var(--mn-text-muted, #888);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    margin-left: auto;
}

/* ==========================================================================
   六十四、付费章节（VIP 标记 + 付费墙）
   —— 修复原文件嵌套 @media 语法错误
   ========================================================================== */
.nv-vip-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    margin: 0 6px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    flex-shrink: 0;
}
.nv-vip-tag-owned {
    background: color-mix(in srgb, var(--mn-success, #16a34a) 90%, transparent);
    color: #fff;
}

.nv-vip-paywall {
    margin: 32px auto;
    max-width: 460px;
    padding: 36px 28px;
    text-align: center;
    background: var(--nv-bg-soft, var(--mn-bg-soft, #f8fafc));
    border: 1px dashed color-mix(in srgb, #f59e0b 45%, transparent);
    border-radius: 14px;
}
.nv-vip-paywall-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 14px;
}
.nv-vip-paywall-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--nv-fg, var(--mn-text, #333));
    margin-bottom: 8px;
}
.nv-vip-paywall-desc {
    font-size: 13px;
    color: color-mix(in srgb, var(--nv-fg, #333) 65%, transparent);
    margin-bottom: 16px;
    line-height: 1.7;
}
.nv-vip-paywall-price {
    font-size: 34px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 22px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.5px;
}
.nv-vip-paywall-price em {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    color: color-mix(in srgb, #f59e0b 70%, var(--nv-fg, #333));
    margin-left: 6px;
    letter-spacing: 0;
}
.nv-vip-paywall .nv-btn {
    margin-bottom: 14px;
}
.nv-vip-paywall .nv-rd-hint {
    margin: 8px 0 0;
    font-size: 12px;
}

@media (max-width: 640px) {
    .nv-vip-paywall { padding: 24px 18px; margin: 20px auto; }
    .nv-vip-paywall-icon { font-size: 40px; margin-bottom: 10px; }
    .nv-vip-paywall-title { font-size: 16px; }
    .nv-vip-paywall-price { font-size: 28px; margin-bottom: 18px; }
}

/* ==========================================================================
   补丁 · 通用宽度工具类
   ========================================================================== */
.nv-w-40  { width: 40px;  }
.nv-w-56  { width: 56px;  }
.nv-w-70  { width: 70px;  }
.nv-w-80  { width: 80px;  }
.nv-w-90  { width: 90px;  }
.nv-w-100 { width: 100px; }
.nv-w-110 { width: 110px; }
.nv-w-120 { width: 120px; }
.nv-w-140 { width: 140px; }
.nv-w-150 { width: 150px; }
.nv-w-160 { width: 160px; }
.nv-w-170 { width: 170px; }
.nv-w-200 { width: 200px; }
.nv-w-220 { width: 220px; }
.nv-w-260 { width: 260px; }
.nv-w-280 { width: 280px; }
.nv-w-300 { width: 300px; }

.nv-col-title {
    min-width: 180px;
}

.nv-owner-name {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* ==========================================================================
   补丁 · 后台表格横向滚动兜底
   ========================================================================== */
.nv-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}
.nv-table-scroll > .admin-table {
    margin: 0;
}
.nv-table-scroll .admin-table td,
.nv-table-scroll .admin-table th {
    overflow: hidden;
    text-overflow: ellipsis;
}
.nv-table-scroll .admin-table td:last-child,
.nv-table-scroll .admin-table th:last-child {
    overflow: visible;
}

/* ==========================================================================
   补丁 · 章节批量操作工具栏
   ========================================================================== */
.nv-batch-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin: 0 0 10px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px solid var(--mn-border-light, #eef0f3);
    border-radius: 8px;
    font-size: 13px;
}
.nv-batch-counter {
    color: var(--mn-text-muted, #888);
    font-variant-numeric: tabular-nums;
}
.nv-batch-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
    flex-wrap: wrap;
}
.nv-batch-actions .btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
}
.nv-batch-check {
    cursor: pointer;
    vertical-align: middle;
}

/* ==========================================================================
   六十五、最终权威 · 后台操作列 + 共读营成员管理
   —— 全文唯一 .nv-row-actions 定义（已删除所有旧重复定义）
   ========================================================================== */

/* 后台所有表格里的操作按钮：横向排列，紧凑不换行 */
.nv-admin-table .nv-row-actions,
.admin-table .nv-row-actions,
table.nv-club-members-table .nv-row-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center;
    margin: 0;
    white-space: nowrap;
    max-width: none !important;
    grid-template-columns: none !important;
}
.nv-admin-table .nv-row-actions > .btn,
.nv-admin-table .nv-row-actions > a.btn,
.nv-admin-table .nv-row-actions > form,
.admin-table .nv-row-actions > .btn,
.admin-table .nv-row-actions > a.btn,
.admin-table .nv-row-actions > form,
table.nv-club-members-table .nv-row-actions > .btn,
table.nv-club-members-table .nv-row-actions > form {
    flex: 0 0 auto;
    margin: 0;
    min-width: 0;
}
.nv-admin-table .nv-row-actions > form,
.admin-table .nv-row-actions > form,
table.nv-club-members-table .nv-row-actions > form {
    display: inline-flex;
    align-items: center;
}
.nv-admin-table .nv-row-actions .btn,
.admin-table .nv-row-actions .btn,
table.nv-club-members-table .nv-row-actions .btn {
    width: auto !important;
    padding: 4px 10px !important;
    font-size: 12.5px !important;
    line-height: 1.5;
    height: 28px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0;
}
.nv-admin-table .nv-row-actions .btn-warning,
.admin-table .nv-row-actions .btn-warning,
table.nv-club-members-table .nv-row-actions .btn-warning {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}
.nv-admin-table .nv-row-actions .btn-warning:hover,
.admin-table .nv-row-actions .btn-warning:hover,
table.nv-club-members-table .nv-row-actions .btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
}

/* ==========================================================================
   共读营成员管理表格 · 专项修复
   ========================================================================== */

/* 1. 强制头像固定 24×24，覆盖核心全局 img { max-width:100%; height:auto; } */
table.nv-club-members-table img.nv-member-avatar {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: inline-block !important;
    vertical-align: middle;
}

/* 2. 表头/单元格文字强制单行，防止"角色"被拆成"角 色" */
table.nv-club-members-table th,
table.nv-club-members-table td {
    white-space: nowrap !important;
}
/* 用户列允许换行，避免长用户名撑破 */
table.nv-club-members-table th:first-child,
table.nv-club-members-table td:first-child {
    white-space: normal !important;
}

/* 3. 表格最小宽度 + 外层横向滚动兜底 */
table.nv-club-members-table {
    min-width: 600px;
}
.nv-club-members-manage .nv-table-scroll {
    overflow-x: auto !important;
    width: 100%;
}

/* ==========================================================================
   六十八、共读营 · 营主设置面板（加入方式 / 分类标签 / 成员管理）
   ========================================================================== */
.nv-mt-12 { margin-top: 12px; }

.nv-owner-tool-label {
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    margin-right: 4px;
}
.nv-club-inline-select {
    padding: 6px 10px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    margin-right: 10px;
}
.nv-club-inline-select:focus { border-color: var(--mn-primary, #f97316); }
.nv-club-inline-input {
    padding: 6px 10px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    margin-right: 10px;
    width: 160px;
    box-sizing: border-box;
}
.nv-club-inline-input:focus { border-color: var(--mn-primary, #f97316); }

.nv-club-members-manage {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px solid var(--mn-border-light, #eef0f3);
    border-radius: 10px;
}
.nv-members-manage-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--mn-text-secondary, #555);
    margin-bottom: 10px;
}
.nv-club-members-table { font-size: 13px; }
.nv-club-members-table td,
.nv-club-members-table th {
    padding: 8px 10px;
    vertical-align: middle;
}
.nv-member-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nv-member-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--mn-border-light, #eef0f3);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
}
.nv-member-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}
.nv-member-self-tag {
    display: inline-flex;
    padding: 0 6px;
    margin-left: 4px;
    font-size: 10.5px;
    color: var(--mn-primary, #f97316);
    background: color-mix(in srgb, var(--mn-primary, #f97316) 12%, transparent);
    border-radius: 999px;
    line-height: 1.6;
}
.nv-club-role-tag {
    display: inline-flex;
    padding: 1px 8px;
    font-size: 11.5px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mn-text-muted, #888) 15%, transparent);
    color: var(--mn-text-muted, #888);
    line-height: 1.6;
}
.nv-club-role-owner {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
}
.nv-club-role-admin {
    background: color-mix(in srgb, var(--mn-primary, #f97316) 15%, transparent);
    color: var(--mn-primary, #f97316);
}

/* ==========================================================================
   六十九、共读营列表 · 邀请码输入行
   ========================================================================== */
.nv-club-invite-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin: 0 0 14px;
    background: var(--mn-bg-soft, #f8fafc);
    border: 1px dashed var(--mn-border, #e5e7eb);
    border-radius: 10px;
}
.nv-club-invite-label {
    font-size: 13px;
    color: var(--mn-text-secondary, #555);
    white-space: nowrap;
}
.nv-club-invite-input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 6px 12px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 8px;
    background: var(--mn-bg-card, #fff);
    color: var(--mn-text, #333);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 13px;
    letter-spacing: 1px;
    outline: none;
    text-transform: uppercase;
}
.nv-club-invite-input:focus { border-color: var(--mn-primary, #f97316); }

/* ==========================================================================
   七十、书评用户名显示 + 已点赞高亮
   ========================================================================== */
.nv-cm-user {
    color: var(--mn-text, #333);
    font-weight: 500;
}
.nv-link.is-liked,
.nv-wall-act.is-liked {
    color: var(--mn-error, #ef4444);
}