/* ===========================================================
   Nebula · 星云视界 — Apple CMS 影视模板 v2
   Design: Deep Space Cinema · Immersive Glass · Ambient Glow
   Typography: Outfit (display) + DM Sans (body)
   Palette: Cosmic Indigo · Aurora Teal · Ember Rose
   =========================================================== */

/* ---------- 0. Design Tokens ---------- */
:root {
    /* Primary Palette */
    --nv-primary: #6d5ce7;
    --nv-primary-light: #8b7cf7;
    --nv-primary-dark: #5a4bd6;
    --nv-primary-glow: rgba(109, 92, 231, 0.4);
    --nv-secondary: #00d2a8;
    --nv-secondary-light: #34e4be;
    --nv-secondary-dark: #00b892;
    --nv-accent: #ff6b8a;
    --nv-accent-light: #ff8fa8;
    --nv-accent-dark: #e8527a;

    /* Surfaces */
    --nv-bg: #06070b;
    --nv-bg-warm: #0a0812;
    --nv-bg-elevated: #0c0d15;
    --nv-bg-card: rgba(255, 255, 255, 0.03);
    --nv-bg-card-hover: rgba(255, 255, 255, 0.07);
    --nv-surface: rgba(255, 255, 255, 0.05);
    --nv-surface-hover: rgba(255, 255, 255, 0.09);
    --nv-glass: rgba(12, 13, 21, 0.7);
    --nv-glass-border: rgba(255, 255, 255, 0.06);

    /* Borders */
    --nv-border: rgba(255, 255, 255, 0.07);
    --nv-border-strong: rgba(255, 255, 255, 0.12);
    --nv-border-glow: rgba(109, 92, 231, 0.3);

    /* Text */
    --nv-text: #f0f2f8;
    --nv-text-secondary: #8b92a8;
    --nv-text-muted: #555c72;
    --nv-text-inverse: #06070b;

    /* Radii */
    --nv-radius-xs: 4px;
    --nv-radius-sm: 8px;
    --nv-radius-md: 12px;
    --nv-radius-lg: 18px;
    --nv-radius-xl: 24px;
    --nv-radius-full: 9999px;

    /* Shadows */
    --nv-shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
    --nv-shadow-md: 0 8px 32px rgba(0,0,0,0.35);
    --nv-shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
    --nv-shadow-glow: 0 0 40px rgba(109, 92, 231, 0.2);
    --nv-shadow-glow-sm: 0 0 20px rgba(109, 92, 231, 0.15);

    /* Typography */
    --nv-font-display: 'Outfit', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --nv-font-body: 'DM Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --nv-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Motion */
    --nv-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nv-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --nv-duration: 0.35s;
    --nv-duration-slow: 0.6s;

    /* Spacing Scale */
    --nv-space-xs: 4px;
    --nv-space-sm: 8px;
    --nv-space-md: 16px;
    --nv-space-lg: 24px;
    --nv-space-xl: 40px;
    --nv-space-2xl: 64px;
}

/* ---------- 0b. Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* ---------- 1. Global Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--nv-bg);
    color: var(--nv-text);
    font-family: var(--nv-font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Ambient grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

a { color: inherit; text-decoration: none; transition: color var(--nv-duration) var(--nv-ease); }
a:hover { color: var(--nv-primary-light); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: none; }
input, button, textarea, select { font-family: inherit; outline: none; }

::selection { background: rgba(109, 92, 231, 0.35); color: #fff; }

/* ---------- 2. Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ---------- 3. Container ---------- */
.nv-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}
@media (max-width: 1200px) { .nv-container { padding: 0 32px; } }
@media (max-width: 820px) { .nv-container { padding: 0 16px; } }

/* ---------- 4. Navigation ---------- */
.nv-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(6, 7, 11, 0.6);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--nv-glass-border);
    transition: transform 0.4s var(--nv-ease), background 0.3s;
}
.nv-nav.scrolled {
    background: rgba(6, 7, 11, 0.92);
    border-bottom-color: var(--nv-border);
}
.nv-nav.hidden { transform: translateY(-100%); }

.nv-nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    gap: 28px;
}
@media (max-width: 820px) { .nv-nav-inner { padding: 0 16px; gap: 12px; } }

/* Logo */
.nv-logo { flex-shrink: 0; }
.nv-logo a {
    font-family: var(--nv-font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--nv-primary-light) 0%, var(--nv-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s;
}
.nv-logo a:hover { opacity: 0.85; }
.nv-logo span {
    font-weight: 300;
    -webkit-text-fill-color: var(--nv-text-muted);
    opacity: 0.7;
}

/* Nav Menu */
.nv-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nv-menu > a, .nv-menu-item > a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nv-text-secondary);
    border-radius: var(--nv-radius-sm);
    transition: all var(--nv-duration) var(--nv-ease);
    position: relative;
    white-space: nowrap;
}
.nv-menu > a:hover, .nv-menu-item > a:hover {
    color: var(--nv-text);
    background: var(--nv-surface);
}
.nv-menu > a.active, .nv-menu-item > a.active {
    color: var(--nv-text);
    font-weight: 600;
}
.nv-menu > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--nv-primary);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--nv-primary-glow);
}

/* Dropdown */
.nv-menu-item { position: relative; }
.nv-sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--nv-glass);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid var(--nv-glass-border);
    border-radius: var(--nv-radius-md);
    padding: 6px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--nv-ease);
    z-index: 100;
    box-shadow: var(--nv-shadow-lg);
}
.nv-menu-item:hover .nv-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nv-sub-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--nv-text-secondary);
    border-radius: var(--nv-radius-xs);
    transition: all var(--nv-duration) var(--nv-ease);
    white-space: nowrap;
}
.nv-sub-menu a:hover { color: var(--nv-text); background: var(--nv-surface); }
.nv-sub-menu:empty { display: none; }

/* User Menu */
.nv-user-menu-wrap { position: relative; display: flex; align-items: center; }
.nv-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(109, 92, 231, 0.35), rgba(0, 210, 168, 0.35));
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nv-font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s var(--nv-ease-bounce);
}
.nv-avatar:hover {
    transform: scale(1.1);
    border-color: var(--nv-primary);
    box-shadow: 0 0 16px var(--nv-primary-glow);
}
.nv-user-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--nv-glass);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid var(--nv-glass-border);
    border-radius: var(--nv-radius-md);
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s var(--nv-ease);
    z-index: 100;
    box-shadow: var(--nv-shadow-lg);
}
.nv-user-menu-wrap:hover .nv-user-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nv-user-popup-header {
    padding: 10px 14px;
    border-bottom: 1px solid var(--nv-border);
    margin-bottom: 4px;
}
.nv-user-popup-name { display: block; font-size: 14px; font-weight: 600; color: var(--nv-text); }
.nv-user-popup-level {
    display: inline-block;
    font-size: 11px;
    color: var(--nv-secondary);
    background: rgba(0, 210, 168, 0.1);
    padding: 2px 8px;
    border-radius: var(--nv-radius-full);
    margin-top: 4px;
    font-weight: 500;
}
.nv-user-popup a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--nv-text-secondary);
    border-radius: var(--nv-radius-xs);
    transition: all var(--nv-duration) var(--nv-ease);
}
.nv-user-popup a:hover { color: var(--nv-text); background: var(--nv-surface); }

/* Search */
.nv-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-full);
    padding: 0 14px;
    height: 36px;
    min-width: 180px;
    transition: all var(--nv-duration) var(--nv-ease);
}
.nv-search form { display: flex; align-items: center; width: 100%; height: 100%; gap: 8px; }
.nv-search:focus-within {
    border-color: var(--nv-primary);
    box-shadow: 0 0 0 3px var(--nv-primary-glow);
    background: var(--nv-surface-hover);
    min-width: 260px;
}
.nv-search input {
    background: none;
    border: none;
    color: var(--nv-text);
    font-size: 13px;
    width: 100%;
    height: 100%;
    padding: 0;
    line-height: normal;
}
.nv-search input::placeholder { color: var(--nv-text-muted); }
.nv-search .nv-search-icon {
    color: var(--nv-text-muted);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.3s;
}
.nv-search:focus-within .nv-search-icon { color: var(--nv-primary-light); }

/* User area */
.nv-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nv-user a { color: var(--nv-text-secondary); font-size: 13px; padding: 6px 12px; border-radius: var(--nv-radius-sm); }
.nv-user a:hover { color: var(--nv-text); background: var(--nv-surface); }

/* ---------- 5. Main Spacing ---------- */
.nv-main { padding-top: 80px; min-height: 80vh; }

/* ---------- 6. Hero ---------- */
.nv-hero {
    position: relative;
    width: 100%;
    height: min(68vh, 580px);
    overflow: hidden;
    margin-bottom: 0;
}
.nv-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s var(--nv-ease);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.nv-hero-slide.active { opacity: 1; }
.nv-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.nv-hero-slide.no-img {
    background: linear-gradient(135deg, #0f0a24 0%, var(--nv-bg) 50%, #0a1428 100%);
}
.nv-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,7,11,0.55) 0%, rgba(6,7,11,0.15) 30%, transparent 50%),
        linear-gradient(0deg, rgba(6,7,11,0.65) 0%, rgba(6,7,11,0.08) 30%, transparent 50%);
    z-index: 1;
}
.nv-hero-content {
    position: absolute;
    bottom: 72px;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}
.nv-hero-content h1 {
    font-family: var(--nv-font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
}
.nv-hero-content p {
    font-size: 15px;
    color: var(--nv-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 520px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 0 24px rgba(0,0,0,0.4);
}
.nv-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--nv-primary);
    color: #fff;
    border-radius: var(--nv-radius-full);
    font-family: var(--nv-font-display);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--nv-duration) var(--nv-ease);
    box-shadow: 0 4px 24px var(--nv-primary-glow);
}
.nv-hero-btn:hover {
    background: var(--nv-primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--nv-primary-glow);
}
.nv-hero-btn span { font-size: 12px; }

.nv-hero-dots {
    position: absolute;
    bottom: 28px;
    right: 48px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.nv-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.4s var(--nv-ease);
}
.nv-hero-dot.active {
    background: var(--nv-primary);
    width: 24px;
    box-shadow: 0 0 12px var(--nv-primary-glow);
}

/* ---------- 7. Section Headers ---------- */
.nv-section { margin-bottom: 48px; }
.nv-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.nv-section-header h2 {
    font-family: var(--nv-font-display);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}
.nv-section-header h2::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--nv-primary), var(--nv-secondary));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--nv-primary-glow);
}
.nv-section-more {
    font-size: 13px;
    color: var(--nv-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--nv-duration) var(--nv-ease);
    padding: 6px 12px;
    border-radius: var(--nv-radius-full);
}
.nv-section-more:hover {
    color: var(--nv-primary-light);
    background: var(--nv-surface);
    gap: 6px;
}

/* ---------- 8. Card Grid ---------- */
.nv-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
@media (max-width: 1400px) { .nv-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { .nv-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .nv-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 480px) { .nv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- 9. Video Card ---------- */
.nv-card {
    position: relative;
    border-radius: var(--nv-radius-md);
    overflow: hidden;
    background: var(--nv-bg-card);
    transition: all var(--nv-duration) var(--nv-ease);
    cursor: pointer;
}
.nv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nv-shadow-glow-sm);
}
.nv-card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--nv-radius-md);
    background: var(--nv-bg-elevated);
}
/* Shimmer skeleton */
.nv-card-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: nv-shimmer 2s infinite;
    z-index: 1;
}
.nv-card-poster img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--nv-ease), opacity 0.4s;
}
.nv-card:hover .nv-card-poster img { transform: scale(1.06); }

/* Card overlay gradient */
.nv-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6,7,11,0.4) 100%);
    opacity: 0;
    transition: opacity var(--nv-duration) var(--nv-ease);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    z-index: 3;
}
.nv-card:hover .nv-card-overlay { opacity: 1; }

/* Play button */
.nv-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 46px;
    height: 46px;
    background: rgba(109, 92, 231, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--nv-ease-bounce);
    z-index: 4;
    box-shadow: 0 0 30px rgba(109, 92, 231, 0.4);
}
.nv-card:hover .nv-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.nv-card-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

/* Badges */
.nv-card-badge {
    position: absolute;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--nv-font-display);
    border-radius: var(--nv-radius-xs);
    background: var(--nv-accent);
    color: #fff;
    letter-spacing: 0.3px;
    z-index: 5;
    text-transform: uppercase;
}
.nv-card-badge.hot {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    bottom: 8px;
    left: 8px;
    top: auto;
}
.nv-card-badge.new {
    background: linear-gradient(135deg, var(--nv-secondary), var(--nv-secondary-dark));
    bottom: 8px;
    left: 8px;
    top: auto;
}
.nv-card-badge.nv-card-badge-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    top: 8px;
    left: 8px;
    bottom: auto;
}
.nv-card-badge.nv-card-badge-points {
    background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-dark));
    top: 8px;
    right: 8px;
    bottom: auto;
    left: auto;
}

/* Card info */
.nv-card-info { padding: 10px 2px 6px; }
.nv-card-title {
    font-family: var(--nv-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--nv-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
    transition: color 0.3s;
}
.nv-card:hover .nv-card-title { color: var(--nv-primary-light); }
.nv-card-sub {
    font-size: 12px;
    color: var(--nv-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 10. Text List (Rankings) ---------- */
.nv-text-list { display: flex; flex-direction: column; gap: 0; }
.nv-text-item {
    display: flex;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--nv-border);
    gap: 12px;
    transition: background 0.2s;
}
.nv-text-item:last-child { border-bottom: none; }
.nv-text-item:hover { background: var(--nv-surface); margin: 0 -8px; padding: 11px 8px; border-radius: var(--nv-radius-sm); }
.nv-text-rank {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--nv-radius-xs);
    font-family: var(--nv-font-display);
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    background: var(--nv-surface);
    color: var(--nv-text-muted);
}
.nv-text-item:nth-child(1) .nv-text-rank { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.nv-text-item:nth-child(2) .nv-text-rank { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.nv-text-item:nth-child(3) .nv-text-rank { background: linear-gradient(135deg, #eab308, #ca8a04); color: #fff; }
.nv-text-info { flex: 1; min-width: 0; }
.nv-text-title {
    font-family: var(--nv-font-display);
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--nv-text);
    transition: color 0.3s;
}
.nv-text-meta { font-size: 12px; color: var(--nv-text-muted); margin-top: 1px; }
.nv-text-score {
    font-family: var(--nv-font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--nv-primary-light);
    flex-shrink: 0;
}
.nv-text-item:hover .nv-text-title { color: var(--nv-primary-light); }

/* ---------- 11. Tabs ---------- */
.nv-tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.nv-tab {
    padding: 7px 18px;
    border-radius: var(--nv-radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--nv-text-muted);
    background: var(--nv-surface);
    cursor: pointer;
    transition: all var(--nv-duration) var(--nv-ease);
    border: 1px solid transparent;
}
.nv-tab:hover { color: var(--nv-text); background: var(--nv-surface-hover); }
.nv-tab.active {
    color: #fff;
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    box-shadow: 0 2px 12px var(--nv-primary-glow);
}
.nv-tab-content { display: none; }
.nv-tab-content.active { display: block; }

/* ---------- 12. Pagination ---------- */
.nv-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0; }
.nv-pagination-inner { display: flex; gap: 6px; align-items: center; }
.nv-page-btn {
    padding: 8px 16px;
    border-radius: var(--nv-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--nv-text-secondary);
    background: var(--nv-surface);
    transition: all var(--nv-duration) var(--nv-ease);
    text-decoration: none;
    border: 1px solid transparent;
}
.nv-page-btn:hover { background: var(--nv-surface-hover); color: var(--nv-text); border-color: var(--nv-border-strong); }
.nv-page-btn.active {
    background: var(--nv-primary);
    color: #fff;
    border-color: var(--nv-primary);
    box-shadow: 0 2px 12px var(--nv-primary-glow);
}
.nv-page-info { font-size: 12px; color: var(--nv-text-muted); margin-left: 12px; }

/* ---------- 8b. Breadcrumb ---------- */
.nv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--nv-text-muted);
    padding: 12px 0;
    flex-wrap: wrap;
}
.nv-breadcrumb a { color: var(--nv-text-muted); transition: color 0.3s; }
.nv-breadcrumb a:hover { color: var(--nv-primary-light); }
.nv-breadcrumb .sep { color: var(--nv-border-strong); font-size: 11px; }
.nv-breadcrumb .current { color: var(--nv-text); font-weight: 500; }

/* ---------- 13. Filter ---------- */
.nv-filter {
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}
.nv-filter-row {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--nv-border);
}
.nv-filter-row:last-child { border-bottom: none; }
.nv-filter-label {
    flex-shrink: 0;
    width: 56px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nv-text-secondary);
    line-height: 32px;
}
.nv-filter-tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.nv-filter-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nv-text-secondary);
    background: var(--nv-surface);
    border-radius: var(--nv-radius-full);
    transition: all var(--nv-duration) var(--nv-ease);
    text-decoration: none;
    border: 1px solid transparent;
}
.nv-filter-tag:hover { color: var(--nv-text); background: var(--nv-surface-hover); border-color: var(--nv-border-strong); }
.nv-filter-tag.active {
    color: #fff;
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    box-shadow: 0 2px 10px var(--nv-primary-glow);
}
.nv-type-nav { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 14. Detail Page ---------- */
.nv-detail-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.nv-detail-poster {
    width: 220px;
    flex-shrink: 0;
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    box-shadow: var(--nv-shadow-lg);
    position: relative;
}
.nv-detail-poster img { width: 100%; display: block; }
.nv-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    padding: 4px 10px;
    border-radius: var(--nv-radius-xs);
    font-size: 10px;
    font-weight: 700;
    font-family: var(--nv-font-display);
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.nv-badge-vip { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.nv-badge-points { background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-dark)); color: #fff; left: auto; right: 10px; }

.nv-detail-info { flex: 1; min-width: 0; }
.nv-detail-title {
    font-family: var(--nv-font-display);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.nv-detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.nv-detail-tags span {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--nv-text-secondary);
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-full);
}
.nv-detail-stats { display: flex; gap: 24px; margin-bottom: 14px; }
.nv-detail-stat { display: flex; flex-direction: column; align-items: center; }
.nv-detail-stat .num {
    font-family: var(--nv-font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--nv-primary-light);
}
.nv-detail-stat .lbl { font-size: 11px; font-weight: 500; color: var(--nv-text-muted); margin-top: 2px; }
.nv-detail-desc {
    color: var(--nv-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 660px;
}
.nv-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nv-detail-synopsis { margin-top: 0; }
.nv-synopsis-content { line-height: 1.8; color: var(--nv-text-secondary); font-size: 14px; }

/* ---------- Comment System ---------- */
.nv-comment-area {
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 24px;
}
.nv-comment-form { margin-bottom: 28px; }
.nv-comment-input {
    width: 100%;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    color: var(--nv-text);
    font-size: 14px;
    padding: 14px;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    line-height: 1.6;
    min-height: 80px;
}
.nv-comment-input:focus {
    outline: none;
    border-color: var(--nv-primary);
    box-shadow: 0 0 0 3px var(--nv-primary-glow);
}
.nv-comment-form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.nv-comment-counter { font-size: 12px; color: var(--nv-text-muted); }
.nv-comment-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--nv-border);
}
.nv-comment-item:last-child { border-bottom: none; }
.nv-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(109, 92, 231, 0.2), rgba(0, 210, 168, 0.2));
    border: 1.5px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nv-font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--nv-primary-light);
    flex-shrink: 0;
}
.nv-comment-body { flex: 1; min-width: 0; }
.nv-comment-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.nv-comment-author { font-size: 13px; font-weight: 600; color: var(--nv-text); }
.nv-comment-time { font-size: 11px; color: var(--nv-text-muted); }
.nv-comment-text { font-size: 14px; color: var(--nv-text-secondary); line-height: 1.6; }
.nv-comment-actions { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; }
.nv-comment-actions a { color: var(--nv-text-muted); cursor: pointer; transition: color 0.3s; }
.nv-comment-actions a:hover { color: var(--nv-primary-light); }
.nv-comment-up { cursor: pointer; }
.nv-comment-reply-item {
    margin-top: 8px;
    padding: 10px 12px;
    background: var(--nv-surface);
    border-radius: var(--nv-radius-sm);
    font-size: 13px;
    line-height: 1.6;
    border-left: 2px solid var(--nv-primary);
}
.nv-comment-reply-item .nv-comment-author { font-size: 12px; margin-right: 6px; }
.nv-comment-reply-item .nv-comment-text { font-size: 13px; }

/* ---------- Buttons ---------- */
.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--nv-radius-full);
    font-family: var(--nv-font-display);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--nv-duration) var(--nv-ease);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.nv-btn-primary {
    background: var(--nv-primary);
    color: #fff;
    box-shadow: 0 2px 16px var(--nv-primary-glow);
}
.nv-btn-primary:hover {
    background: var(--nv-primary-light);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--nv-primary-glow);
}
.nv-btn-secondary {
    background: var(--nv-surface);
    color: var(--nv-text);
    border: 1px solid var(--nv-border-strong);
}
.nv-btn-secondary:hover {
    background: var(--nv-surface-hover);
    border-color: var(--nv-primary);
    color: var(--nv-primary-light);
}
.nv-btn.disabled { opacity: 0.35; pointer-events: none; }

/* ---------- 15. Episode Panel ---------- */
.nv-ep-bar {
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    padding: 16px;
    margin-bottom: 20px;
}
.nv-ep-bar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
/* Episode source header */
.nv-ep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--nv-surface), rgba(99,102,241,0.06));
    border: 1px solid var(--nv-border);
    border-left: 3px solid var(--nv-primary);
    border-radius: var(--nv-radius-sm);
}
.nv-ep-source { font-size: 14px; font-weight: 700; color: var(--nv-text); letter-spacing: 0.3px; }
.nv-ep-count { font-size: 12px; font-weight: 500; color: var(--nv-text-muted); background: var(--nv-surface); padding: 3px 10px; border-radius: 999px; }
.nv-episodes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.nv-ep-item {
    padding: 7px 14px;
    background: var(--nv-surface);
    border-radius: var(--nv-radius-sm);
    font-size: 13px;
    color: var(--nv-text-secondary);
    transition: all var(--nv-duration) var(--nv-ease);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.nv-ep-item:hover { background: var(--nv-surface-hover); border-color: var(--nv-border-strong); color: var(--nv-text); }
.nv-ep-item.active {
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    color: #fff;
    box-shadow: 0 2px 10px var(--nv-primary-glow);
}

/* ---------- 16. Player ---------- */
.nv-player-wrapper { width: 100%; background: #000; display: flex; justify-content: center; }
.nv-player-container { width: 100%; max-width: 1200px; aspect-ratio: 16 / 9; position: relative; }
.nv-player-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-play-main { padding-top: 64px; min-height: 100vh; }
.nv-play-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--nv-border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.nv-play-title { font-family: var(--nv-font-display); font-size: 20px; font-weight: 700; flex: 1; }
.nv-play-sub { display: flex; gap: 10px; font-size: 13px; color: var(--nv-text-muted); }
.nv-play-actions { display: flex; gap: 8px; }
.nv-play-body { background: #05060a; }

/* Player toolbar */
.nv-play-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--nv-border);
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.nv-play-toolbar-left { display: flex; align-items: center; gap: 12px; flex: 1; }
.nv-play-toolbar-right { display: flex; gap: 6px; flex-wrap: wrap; }
.nv-play-source {
    font-size: 12px;
    color: var(--nv-primary-light);
    background: rgba(109, 92, 231, 0.12);
    padding: 3px 10px;
    border-radius: var(--nv-radius-full);
    font-weight: 500;
    white-space: nowrap;
}
.nv-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: var(--nv-radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--nv-text-secondary);
    background: var(--nv-surface);
    transition: all var(--nv-duration) var(--nv-ease);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.nv-toolbar-btn:hover { color: var(--nv-text); background: var(--nv-surface-hover); }

/* Player notice bar */
.nv-play-notice-bar {
    background: linear-gradient(135deg, rgba(255, 107, 138, 0.08), rgba(109, 92, 231, 0.08));
    border-bottom: 1px solid rgba(255, 107, 138, 0.12);
    padding: 10px 48px;
    font-size: 13px;
    color: var(--nv-text-secondary);
    text-align: center;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.nv-play-notice-bar a { color: var(--nv-primary-light); text-decoration: underline; }
.nv-play-notice-bar .mytip { color: var(--nv-accent); font-weight: 600; }
.nv-play-notice-close {
    cursor: pointer;
    opacity: 0.4;
    font-size: 14px;
    flex-shrink: 0;
    padding: 2px 6px;
    border-radius: var(--nv-radius-xs);
    transition: opacity 0.2s;
}
.nv-play-notice-close:hover { opacity: 1; }
@media (max-width: 820px) { .nv-play-notice-bar { padding: 8px 16px; font-size: 12px; } }

.nv-player-floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--nv-text-secondary);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
}
.nv-player-floating-close { cursor: pointer; opacity: 0.5; font-size: 14px; }
.nv-player-floating-close:hover { opacity: 1; }
.nv-player-notice {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--nv-text-secondary);
    text-align: center;
}
.nv-player-notice h3 { font-family: var(--nv-font-display); font-size: 18px; color: var(--nv-text); }
.nv-player-notice p { font-size: 13px; }
.nv-player-notice-icon { font-size: 44px; margin-bottom: 6px; }

/* ---------- 17. Topic Card ---------- */
.nv-topic-card {
    position: relative;
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--nv-border);
    transition: all var(--nv-duration) var(--nv-ease);
}
.nv-topic-card:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-glow-sm); border-color: var(--nv-border-glow); }
.nv-topic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--nv-ease); }
.nv-topic-card:hover img { transform: scale(1.04); }
.nv-topic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6,7,11,0.92) 100%);
}
.nv-topic-card h3 {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: #fff;
    font-family: var(--nv-font-display);
    font-size: 17px;
    font-weight: 700;
    z-index: 1;
}
.nv-topic-card p {
    position: absolute;
    bottom: 16px;
    right: 16px;
    color: var(--nv-text-muted);
    font-size: 12px;
    z-index: 1;
}

/* ---------- 18. Topic Detail ---------- */
.nv-topic-detail-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 80px 48px 40px;
    overflow: hidden;
}
.nv-topic-detail-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.2);
    transform: scale(1.1);
}
.nv-topic-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,7,11,0.94) 0%, rgba(6,7,11,0.5) 100%);
}
.nv-topic-detail-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 28px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.nv-topic-detail-poster {
    width: 160px;
    flex-shrink: 0;
    border-radius: var(--nv-radius-md);
    overflow: hidden;
    box-shadow: var(--nv-shadow-lg);
    aspect-ratio: 16/9;
    border: 1px solid var(--nv-border);
}
.nv-topic-detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.nv-topic-detail-info { flex: 1; }
.nv-topic-detail-info h1 { font-family: var(--nv-font-display); font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.nv-topic-detail-desc { color: var(--nv-text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 14px; max-width: 560px; }
.nv-topic-detail-meta { display: flex; gap: 16px; color: var(--nv-text-muted); font-size: 13px; }
@media (max-width: 820px) {
    .nv-topic-detail-hero { padding: 64px 16px 24px; min-height: auto; }
    .nv-topic-detail-inner { flex-direction: column; text-align: center; }
    .nv-topic-detail-poster { width: 120px; }
}

/* ---------- 19. Footer ---------- */
.nv-footer {
    background: linear-gradient(180deg, var(--nv-bg) 0%, #03040a 100%);
    border-top: 1px solid var(--nv-border);
    padding: 48px 0 28px;
    margin-top: 56px;
}
.nv-footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.nv-footer-brand h3 {
    font-family: var(--nv-font-display);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--nv-primary-light), var(--nv-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nv-footer-brand p { color: var(--nv-text-muted); font-size: 13px; line-height: 1.6; }
.nv-footer-col h4 { font-family: var(--nv-font-display); font-size: 13px; color: var(--nv-text); margin-bottom: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.nv-footer-col a { display: block; color: var(--nv-text-muted); font-size: 13px; padding: 3px 0; transition: color 0.3s; }
.nv-footer-col a:hover { color: var(--nv-primary-light); }
.nv-footer-bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--nv-border);
    text-align: center;
    color: var(--nv-text-muted);
    font-size: 12px;
}
@media (max-width: 820px) { .nv-footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ---------- 20. Hot Section Tabs ---------- */
.nv-hot-section { margin: 28px 0; }
.nv-hot-nav { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.nv-hot-btn {
    padding: 7px 18px;
    border-radius: var(--nv-radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--nv-text-muted);
    background: var(--nv-surface);
    cursor: pointer;
    transition: all var(--nv-duration) var(--nv-ease);
    border: 1px solid transparent;
}
.nv-hot-btn:hover { color: var(--nv-text); background: var(--nv-surface-hover); }
.nv-hot-btn.active {
    color: #fff;
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    box-shadow: 0 2px 12px var(--nv-primary-glow);
}
.nv-hot-panel { display: none; }
.nv-hot-panel.active { display: block; animation: nv-fade-up 0.4s var(--nv-ease); }

/* ---------- 21. Guestbook ---------- */
.nv-gbook-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; margin-bottom: 40px; }
.nv-gbook-form-card, .nv-gbook-list {
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 24px;
}
.nv-gbook-form-card h3, .nv-gbook-list h3 { font-family: var(--nv-font-display); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.nv-gbook-form-card textarea {
    width: 100%;
    min-height: 110px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text);
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s;
}
.nv-gbook-form-card textarea:focus { border-color: var(--nv-primary); }
.nv-gbook-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.nv-gbook-counter { font-size: 12px; color: var(--nv-text-muted); flex: 1; }
.nv-gbook-verify { display: flex; gap: 8px; align-items: center; }
.nv-gbook-verify-input {
    width: 90px;
    padding: 7px 10px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-xs);
    color: var(--nv-text);
    font-size: 14px;
}
.nv-gbook-verify img { height: 34px; border-radius: var(--nv-radius-xs); cursor: pointer; }
.nv-gbook-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nv-border); }
.nv-gbook-item:last-child { border-bottom: none; }
.nv-gbook-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(109, 92, 231, 0.2), rgba(0, 210, 168, 0.2));
    border: 1.5px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nv-font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--nv-primary-light);
    flex-shrink: 0;
}
.nv-gbook-body { flex: 1; min-width: 0; }
.nv-gbook-header { display: flex; gap: 10px; margin-bottom: 4px; }
.nv-gbook-name { font-weight: 600; font-size: 13px; }
.nv-gbook-time { font-size: 11px; color: var(--nv-text-muted); }
.nv-gbook-content { font-size: 14px; color: var(--nv-text-secondary); line-height: 1.6; }
.nv-gbook-reply {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(0, 210, 168, 0.06);
    border-left: 2px solid var(--nv-secondary);
    border-radius: 0 var(--nv-radius-sm) var(--nv-radius-sm) 0;
    font-size: 13px;
    color: var(--nv-text-secondary);
}
.nv-gbook-reply-label { font-weight: 600; color: var(--nv-secondary); }
@media (max-width: 820px) { .nv-gbook-layout { grid-template-columns: 1fr; } }

/* ---------- 22. Actor ---------- */
.nv-actor-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.nv-actor-card {
    text-align: center;
    padding: 18px 10px;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    transition: all var(--nv-duration) var(--nv-ease);
}
.nv-actor-card:hover { transform: translateY(-4px); border-color: var(--nv-primary); box-shadow: var(--nv-shadow-glow-sm); }
.nv-actor-avatar {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--nv-surface);
    border: 2px solid var(--nv-border);
    transition: border-color 0.3s;
}
.nv-actor-card:hover .nv-actor-avatar { border-color: var(--nv-primary); }
.nv-actor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nv-actor-name { font-family: var(--nv-font-display); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.nv-actor-sub { font-size: 12px; color: var(--nv-text-muted); }

/* Actor detail */
.nv-actor-detail-hero {
    position: relative;
    padding: 80px 48px 40px;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    margin-bottom: 28px;
}
.nv-actor-detail-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0812 0%, #140a28 50%, #0a0812 100%);
}
.nv-actor-detail-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 28px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.nv-actor-detail-poster {
    width: 140px; height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--nv-primary);
    box-shadow: 0 0 40px var(--nv-primary-glow);
    flex-shrink: 0;
}
.nv-actor-detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.nv-actor-detail-info h1 { font-family: var(--nv-font-display); font-size: 28px; font-weight: 800; }
.nv-actor-detail-meta { font-size: 13px; color: var(--nv-text-muted); margin: 6px 0 14px; }
.nv-actor-detail-desc { font-size: 13px; color: var(--nv-text-secondary); line-height: 1.7; max-width: 560px; }
.actor-vod-grid { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 820px) {
    .nv-actor-grid { grid-template-columns: repeat(3, 1fr); }
    .nv-actor-detail-hero { padding: 64px 16px 24px; }
    .nv-actor-detail-inner { flex-direction: column; text-align: center; }
    .actor-vod-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 23. Article ---------- */
.nv-art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nv-art-card {
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    overflow: hidden;
    transition: all var(--nv-duration) var(--nv-ease);
}
.nv-art-card:hover { transform: translateY(-4px); border-color: var(--nv-primary); box-shadow: var(--nv-shadow-glow-sm); }
.nv-art-pic { aspect-ratio: 16/9; overflow: hidden; }
.nv-art-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--nv-ease); }
.nv-art-card:hover .nv-art-pic img { transform: scale(1.04); }
.nv-art-info { padding: 14px; }
.nv-art-title { font-family: var(--nv-font-display); font-size: 15px; font-weight: 600; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-art-desc { font-size: 12px; color: var(--nv-text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-art-meta { font-size: 11px; color: var(--nv-text-muted); margin-top: 6px; display: flex; gap: 10px; }

/* Article detail */
.nv-art-detail { max-width: 760px; margin: 0 auto; }
.nv-art-detail h1 { font-family: var(--nv-font-display); font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.nv-art-detail-meta { font-size: 13px; color: var(--nv-text-muted); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--nv-border); display: flex; gap: 14px; }
.nv-art-detail-body { font-size: 15px; line-height: 1.9; color: var(--nv-text-secondary); }
.nv-art-detail-body p { margin-bottom: 14px; }
.nv-art-detail-body img { max-width: 100%; border-radius: var(--nv-radius-sm); margin: 14px 0; }
@media (max-width: 820px) { .nv-art-grid { grid-template-columns: 1fr; } }

/* ---------- 24. User Center ---------- */
.nv-user-card {
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

/* ---------- 25. Mobile ---------- */
@media (max-width: 820px) {
    .nv-hero-content { left: 16px; right: 16px; bottom: 56px; max-width: none; padding: 0; }
    .nv-hero-content h1 { font-size: 26px; }
    .nv-hero-content p { font-size: 14px; -webkit-line-clamp: 2; }
    .nv-hero { height: min(55vh, 420px); }
    .nv-hero-dots { right: 16px; bottom: 20px; }
    .nv-detail-layout { flex-direction: column; gap: 20px; }
    .nv-detail-poster { width: 160px; margin: 0 auto; }
    .nv-detail-title { font-size: 22px; }
    .nv-detail-info { text-align: center; }
    .nv-welcome h1 { font-size: 26px; }
    .nv-welcome { padding: 28px 0 12px; }
    .nv-player-container { border-radius: 0; }
}

/* ---------- 26. Animations ---------- */
@keyframes nv-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nv-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes nv-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.nv-animate { animation: nv-fade-up 0.5s var(--nv-ease) forwards; }
.nv-animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.nv-animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.nv-animate-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Scroll reveal */
.nv-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--nv-ease), transform 0.6s var(--nv-ease);
}
.nv-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 27. Skeleton ---------- */
.nv-skeleton {
    background: linear-gradient(90deg, var(--nv-surface) 25%, var(--nv-surface-hover) 50%, var(--nv-surface) 75%);
    background-size: 200% 100%;
    animation: nv-shimmer 2s infinite;
    border-radius: var(--nv-radius-sm);
}
@keyframes nv-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.nv-skeleton-card { aspect-ratio: 2/3; border-radius: var(--nv-radius-md); }

/* ---------- 28. Welcome ---------- */
.nv-welcome {
    padding: 56px 0 16px;
    text-align: center;
}
.nv-welcome h1 {
    font-family: var(--nv-font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #f0f2f8 0%, var(--nv-primary-light) 45%, var(--nv-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1.1;
}
.nv-welcome p { color: var(--nv-text-muted); font-size: 15px; }

/* ---------- 29. Friend Links ---------- */
.nv-friendlinks { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 16px 0; }
.nv-friendlinks a {
    color: var(--nv-text-muted);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--nv-radius-full);
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    transition: all 0.3s;
}
.nv-friendlinks a:hover { color: var(--nv-primary-light); border-color: var(--nv-primary); }

/* ---------- 30. Form Components ---------- */
.nv-form-group { margin-bottom: 16px; }
.nv-form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--nv-text); }
.nv-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text);
    font-size: 14px;
    transition: all 0.3s;
}
.nv-input:focus { border-color: var(--nv-primary); box-shadow: 0 0 0 3px var(--nv-primary-glow); background: var(--nv-surface-hover); }
.nv-input::placeholder { color: var(--nv-text-muted); }
.nv-input-error { border-color: var(--nv-accent) !important; box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.2) !important; animation: nv-shake 0.4s ease; }
@keyframes nv-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.nv-form-error { font-size: 12px; color: var(--nv-accent); margin-top: 3px; display: none; }
.nv-form-desc { font-size: 11px; color: var(--nv-text-muted); margin-top: 3px; }
.nv-form-msg { margin-top: 14px; padding: 10px 14px; border-radius: var(--nv-radius-sm); font-size: 13px; text-align: center; display: none; }
.nv-form-msg.success { background: rgba(0, 210, 168, 0.1); color: var(--nv-secondary); border: 1px solid rgba(0, 210, 168, 0.2); }
.nv-form-msg.error { background: rgba(255, 107, 138, 0.1); color: var(--nv-accent); border: 1px solid rgba(255, 107, 138, 0.2); }
.nv-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--nv-text-muted); cursor: pointer; }
.nv-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--nv-primary); cursor: pointer; }
.nv-btn-loading svg { animation: nv-spin 1s linear infinite; }
@keyframes nv-spin { to { transform: rotate(360deg); } }

/* ---------- 31. Mobile Menu ---------- */
.nv-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.nv-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--nv-text);
    border-radius: 1px;
    transition: all 0.3s ease;
}
.nv-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nv-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nv-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 820px) {
    .nv-mobile-toggle { display: flex; }
    .nv-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 7, 11, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 20px;
        gap: 2px;
        transform: translateX(100%);
        transition: transform 0.35s var(--nv-ease);
        z-index: 999;
        overflow-y: auto;
    }
    .nv-menu.active { transform: translateX(0); }
    .nv-menu > a, .nv-menu-item > a { font-size: 16px; padding: 12px 14px; }
    body.nv-menu-open { overflow: hidden; }
}

/* ---------- 32. Back to Top ---------- */
.nv-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nv-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--nv-primary-glow);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.35s var(--nv-ease);
    z-index: 900;
    pointer-events: none;
}
.nv-back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nv-back-top:hover { background: var(--nv-primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px var(--nv-primary-glow); }

/* ---------- 33. Toast ---------- */
.nv-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.nv-toast {
    padding: 12px 18px;
    border-radius: var(--nv-radius-sm);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--nv-shadow-md);
    transform: translateX(120%);
    transition: transform 0.35s var(--nv-ease);
    max-width: 340px;
    pointer-events: auto;
    backdrop-filter: blur(12px);
}
.nv-toast.active { transform: translateX(0); }
.nv-toast-info { background: var(--nv-glass); border: 1px solid var(--nv-border); color: var(--nv-text); }
.nv-toast-success { background: rgba(0, 210, 168, 0.12); border: 1px solid rgba(0, 210, 168, 0.3); color: var(--nv-secondary); }
.nv-toast-error { background: rgba(255, 107, 138, 0.12); border: 1px solid rgba(255, 107, 138, 0.3); color: var(--nv-accent); }

/* ---------- 34. Image Loading ---------- */
.nv-img-loading { position: relative; overflow: hidden; }
.nv-img-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--nv-surface) 25%, var(--nv-surface-hover) 50%, var(--nv-surface) 75%);
    background-size: 200% 100%;
    animation: nv-shimmer 2s infinite;
    z-index: 1;
}
.nv-img-loaded { opacity: 1; transition: opacity 0.4s; }
.nv-card-poster img { transition: opacity 0.4s; }
.nv-card-poster img.loaded { opacity: 1; }

/* ---------- 35. Search Suggest ---------- */
.nv-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--nv-glass);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid var(--nv-glass-border);
    border-radius: var(--nv-radius-md);
    padding: 6px;
    z-index: 200;
    box-shadow: var(--nv-shadow-lg);
}
.nv-suggest-header { padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--nv-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.nv-suggest-item {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--nv-text-secondary);
    border-radius: var(--nv-radius-xs);
    transition: all 0.2s;
}
.nv-suggest-item:hover { color: var(--nv-text); background: var(--nv-surface); }
.nv-search-expanded { min-width: 260px; border-color: var(--nv-primary) !important; }

/* ---------- 36. Page Transition ---------- */
.nv-page-enter { opacity: 0; }
.nv-page-enter-active { opacity: 1; transition: opacity 0.3s; }
@media (max-width: 820px) {
    .nv-search-expanded { min-width: 0; flex: 1; }
    .nv-back-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
    .nv-toast-container { right: 10px; left: 10px; }
    .nv-toast { max-width: 100%; }
}

/* ---------- 37. Button Loading ---------- */
.nv-btn .nv-btn-loading { display: none; }
.nv-btn.loading .nv-btn-text { opacity: 0; }
.nv-btn.loading .nv-btn-loading { display: block; }

/* ---------- 38. MAC.confirm Overlay ---------- */
.mac_confirm_overlay {
    align-items: center;
    background: rgba(2,6,23,.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2147483000;
}
@media (max-width: 768px) {
    .mac_confirm_overlay { padding: 12px; }
    .mac_confirm_dialog {
        background: var(--nv-glass);
        border: 1px solid var(--nv-glass-border);
        border-radius: var(--nv-radius-lg);
        box-shadow: var(--nv-shadow-lg);
        box-sizing: border-box;
        overflow: hidden;
        padding: 0;
        position: relative;
        width: min(92vw, 400px);
    }
    .mac_confirm_close { display: none !important; }
    .mac_confirm_icon {
        background: var(--nv-primary);
        border-radius: 50%;
        color: #fff;
        display: block !important;
        font-size: 32px;
        font-weight: 700;
        height: 54px;
        line-height: 54px;
        margin: 20px auto 12px;
        text-align: center;
        width: 54px;
    }
    .mac_confirm_message { color: var(--nv-text); font-size: 14px; font-weight: 600; line-height: 1.5; padding: 0 16px 20px; text-align: center; }
    .mac_confirm_actions { border-top: 1px solid var(--nv-border); display: grid; gap: 0; grid-template-columns: 1fr 1fr; padding: 0; }
    .mac_confirm_btn { background: var(--nv-surface); border: 0; border-radius: 0; cursor: pointer; font-size: 14px; font-weight: 500; height: 44px; line-height: 44px; min-width: 0; padding: 0; transition: background 0.2s; }
    .mac_confirm_btn_cancel { color: var(--nv-text-secondary); }
    .mac_confirm_btn_ok { border-left: 1px solid var(--nv-border); color: var(--nv-primary); }
}
@media (min-width: 769px) {
    .mac_confirm_overlay { padding: 24px; }
    .mac_confirm_dialog {
        background: var(--nv-bg-elevated);
        border: 1px solid var(--nv-border);
        border-radius: var(--nv-radius-xl);
        box-shadow: var(--nv-shadow-lg);
        box-sizing: border-box;
        max-width: 380px;
        overflow: hidden;
        padding: 40px 28px 28px;
        position: relative;
        width: min(380px, 100%);
    }
    .mac_confirm_close {
        background: transparent;
        border: none;
        border-radius: 50%;
        color: var(--nv-text-muted);
        cursor: pointer;
        font-size: 20px;
        font-weight: 300;
        height: 32px;
        line-height: 32px;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 10px;
        text-align: center;
        top: 10px;
        transition: all 0.2s;
        width: 32px;
    }
    .mac_confirm_close:hover { background: var(--nv-surface); color: var(--nv-text); }
    .mac_confirm_close:focus-visible, .mac_confirm_btn:focus-visible { outline: 2px solid var(--nv-primary); outline-offset: 2px; }
    .mac_confirm_icon { display: none !important; }
    .mac_confirm_message { color: var(--nv-text); font-size: 15px; font-weight: 600; line-height: 1.5; padding: 0 4px 24px; text-align: center; }
    .mac_confirm_actions { align-items: stretch; border-top: none; display: flex; flex-direction: row-reverse; gap: 10px; justify-content: center; padding: 0; }
    .mac_confirm_btn { border: none; border-radius: var(--nv-radius-full); cursor: pointer; flex: 1 1 0; font-size: 14px; font-weight: 600; height: 42px; line-height: 42px; min-width: 0; padding: 0 20px; transition: all 0.2s; }
    .mac_confirm_btn_cancel { background: var(--nv-surface); color: var(--nv-text-secondary); }
    .mac_confirm_btn_cancel:hover { background: var(--nv-surface-hover); color: var(--nv-text); }
    .mac_confirm_btn_ok { background: var(--nv-primary); color: #fff; }
    .mac_confirm_btn_ok:hover { background: var(--nv-primary-light); }
}

/* ---------- 39. Buy Modal ---------- */
.nv-buy-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.nv-buy-modal.show { opacity: 1; pointer-events: auto; }
.nv-buy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nv-buy-modal-dialog {
    position: relative;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow-lg);
    width: min(90vw, 380px);
    overflow: hidden;
    transform: scale(.94) translateY(10px);
    transition: transform 0.3s var(--nv-ease);
}
.nv-buy-modal.show .nv-buy-modal-dialog { transform: scale(1) translateY(0); }
.nv-buy-modal-header { display: flex; align-items: center; gap: 8px; padding: 20px 22px 0; font-family: var(--nv-font-display); font-size: 17px; font-weight: 700; color: var(--nv-text); }
.nv-buy-modal-header svg { color: var(--nv-primary); flex-shrink: 0; }
.nv-buy-modal-body { padding: 18px 22px; }
.nv-buy-modal-msg { color: var(--nv-text); font-size: 14px; line-height: 1.6; margin: 0 0 6px; }
.nv-buy-modal-msg strong { color: #f59e0b; font-size: 17px; }
.nv-buy-modal-tip { color: var(--nv-text-muted); font-size: 12px; margin: 0; }
.nv-buy-modal-footer { display: flex; gap: 10px; padding: 0 22px 18px; }
.nv-buy-modal-footer .nv-btn { flex: 1; height: 42px; border-radius: var(--nv-radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.nv-buy-modal-cancel { background: var(--nv-surface); color: var(--nv-text-secondary); border: 1px solid var(--nv-border); }
.nv-buy-modal-cancel:hover { background: var(--nv-surface-hover); }
.nv-buy-modal-ok { background: var(--nv-primary); color: #fff; }
.nv-buy-modal-ok:hover { background: var(--nv-primary-light); }
.nv-buy-modal-ok:disabled { opacity: .5; cursor: not-allowed; }

/* =============================================
   39. User Center
   ============================================= */

/* User Profile Card */
.nv-user-profile {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    margin-bottom: 28px;
}
.nv-user-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nv-primary), var(--nv-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nv-font-display);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 24px var(--nv-primary-glow);
}
.nv-user-avatar-lg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.nv-user-info { flex: 1; min-width: 0; }
.nv-user-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--nv-text);
    margin-bottom: 6px;
    font-family: var(--nv-font-display);
}
.nv-user-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--nv-text-muted);
}
.nv-user-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nv-user-meta-item .num {
    color: var(--nv-primary-light);
    font-weight: 600;
    font-size: 15px;
}
.nv-user-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Dashboard Grid */
.nv-user-dash {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.nv-dash-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    text-decoration: none;
    transition: all 0.3s var(--nv-ease);
    position: relative;
    overflow: hidden;
}
.nv-dash-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--nv-primary-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.nv-dash-card:hover {
    border-color: var(--nv-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--nv-primary-glow);
}
.nv-dash-card:hover::before { opacity: 1; }
.nv-dash-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(109, 92, 231, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--nv-primary-light);
    position: relative;
    z-index: 1;
}
.nv-dash-card:hover .nv-dash-icon {
    background: rgba(109, 92, 231, 0.25);
}
.nv-dash-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--nv-text);
    position: relative;
    z-index: 1;
}
.nv-dash-card:nth-child(2) .nv-dash-icon { background: rgba(0, 210, 168, 0.15); color: var(--nv-secondary); }
.nv-dash-card:nth-child(2):hover .nv-dash-icon { background: rgba(0, 210, 168, 0.25); }
.nv-dash-card:nth-child(3) .nv-dash-icon { background: rgba(255, 107, 138, 0.15); color: var(--nv-accent); }
.nv-dash-card:nth-child(3):hover .nv-dash-icon { background: rgba(255, 107, 138, 0.25); }
.nv-dash-card:nth-child(4) .nv-dash-icon { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.nv-dash-card:nth-child(4):hover .nv-dash-icon { background: rgba(245, 158, 11, 0.25); }

/* Empty State */
.nv-empty {
    text-align: center;
    padding: 64px 32px;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
}
.nv-empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.25;
    filter: grayscale(0.5);
}
.nv-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--nv-text);
    margin-bottom: 8px;
}
.nv-empty-desc {
    font-size: 14px;
    color: var(--nv-text-muted);
    margin-bottom: 24px;
}

/* Login Form */
.nv-login-card {
    max-width: 400px;
    margin: 80px auto;
    padding: 40px 36px;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
}
.nv-login-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--nv-text);
    text-align: center;
    margin-bottom: 8px;
    font-family: var(--nv-font-display);
}
.nv-login-sub {
    text-align: center;
    color: var(--nv-text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}
.nv-form-group { margin-bottom: 18px; }
.nv-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--nv-text-secondary);
    margin-bottom: 6px;
}
.nv-form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.nv-form-input:focus {
    border-color: var(--nv-primary);
    box-shadow: 0 0 0 3px var(--nv-primary-glow);
}
.nv-form-input::placeholder { color: var(--nv-text-muted); }

/* Upgrade Card */
.nv-upgrade-hero {
    padding: 36px;
    background: linear-gradient(135deg, rgba(109, 92, 231, 0.12), rgba(0, 210, 168, 0.08));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.nv-upgrade-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--nv-primary-glow), transparent 70%);
    opacity: 0.3;
}
.nv-upgrade-hero h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--nv-text);
    margin-bottom: 8px;
    position: relative;
}
.nv-upgrade-hero p {
    color: var(--nv-text-muted);
    font-size: 14px;
    position: relative;
}
.nv-upgrade-stats {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    position: relative;
}
.nv-upgrade-stat-label {
    font-size: 12px;
    color: var(--nv-text-muted);
    margin-bottom: 4px;
}
.nv-upgrade-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--nv-primary-light);
}

/* Plan Cards */
.nv-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.nv-plan-card {
    padding: 28px 24px;
    background: var(--nv-bg-elevated);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--nv-ease);
    position: relative;
}
.nv-plan-card:hover,
.nv-plan-card.active {
    border-color: var(--nv-primary);
    box-shadow: 0 0 0 2px var(--nv-primary-glow), 0 8px 32px var(--nv-primary-glow);
    transform: translateY(-2px);
}
.nv-plan-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--nv-accent), #ff8fa3);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}
.nv-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--nv-text);
    margin-bottom: 8px;
}
.nv-plan-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--nv-primary-light);
    font-family: var(--nv-font-display);
}
.nv-plan-price .unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--nv-text-muted);
}
.nv-plan-desc {
    font-size: 13px;
    color: var(--nv-text-muted);
    margin-top: 8px;
}

/* ===== Section 40: Apple CMS Comment Form ===== */
.mac_comment .comment_form {
    background: var(--nv-card);
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.mac_comment .comment_content,
.mac_comment textarea.comment_content {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    background: var(--nv-bg);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    color: var(--nv-text);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}
.mac_comment .comment_content:focus,
.mac_comment textarea.comment_content:focus {
    border-color: var(--nv-accent);
    outline: none;
}
.mac_comment .comment_submit,
.mac_comment .cmt_post {
    background: var(--nv-accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    white-space: nowrap;
}
.mac_comment .comment_submit:hover,
.mac_comment .cmt_post:hover {
    background: var(--nv-accent-hover);
    transform: translateY(-1px);
}
.mac_comment .comment_form_bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.mac_comment .comm_tips {
    color: var(--nv-text-muted);
    font-size: 13px;
    margin-top: 12px;
}
.mac_comment .comm_tips .comment_remaining {
    color: var(--nv-accent);
}
/* Comment items */
.mac_comment .comm_list .part_rows {
    border-bottom: 1px solid var(--nv-border);
    padding: 16px 0;
}
.mac_comment .comm_list .part_rows:last-child {
    border-bottom: none;
}
.mac_comment .cmt-avatar img,
.mac_comment .user-portrait {
    border-radius: 50%;
    object-fit: cover;
}
.mac_comment .cmt-name,
.mac_comment .comment_name {
    color: var(--nv-text);
    font-weight: 600;
}
.mac_comment .cmt-text,
.mac_comment .comm_content {
    color: var(--nv-text-secondary);
    line-height: 1.6;
}
.mac_comment .cmt-time,
.mac_comment .comment_time {
    color: var(--nv-text-muted);
    font-size: 12px;
}
.mac_comment .digg_link {
    color: var(--nv-text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.mac_comment .digg_link:hover {
    color: var(--nv-accent);
}
.mac_comment .comment_reply {
    color: var(--nv-text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.mac_comment .comment_reply:hover {
    color: var(--nv-accent);
}
/* CAPTCHA row */
.mac_comment .comment_verify_row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.mac_comment .comment_verify_row .comment_captcha_img {
    border-radius: 8px;
    cursor: pointer;
    height: 40px;
    border: 1px solid var(--nv-border);
}
.mac_comment .comment_verify_row input {
    flex: 1;
    max-width: 200px;
    padding: 10px 14px;
    background: var(--nv-bg);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    color: var(--nv-text);
    font-size: 14px;
}
.mac_comment .comment_verify_row input:focus {
    border-color: var(--nv-accent);
    outline: none;
}

/* Sidebar Nav (user pages) */
.nv-user-sidebar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.nv-user-nav-item {
    padding: 8px 20px;
    background: var(--nv-surface);
    border: 1px solid var(--nv-border);
    border-radius: 999px;
    color: var(--nv-text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.nv-user-nav-item:hover,
.nv-user-nav-item.active {
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    color: #fff;
}

/* ===== Section 41: VIP Content Lock ===== */
.nv-card.vip-locked {
    position: relative;
}
.nv-card.vip-locked .nv-card-poster img {
    filter: blur(6px) brightness(0.6);
}
.nv-card.vip-locked .nv-card-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}
.nv-card.vip-locked .nv-card-info {
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
}
.nv-card.vip-locked .nv-card-badge:not(.nv-card-badge-vip) {
    display: none;
}
.nv-card .nv-card-lock {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}
.nv-card.vip-locked .nv-card-lock {
    display: flex;
}
.nv-card-lock-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,215,0,0.15);
    border: 2px solid rgba(255,215,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 20px;
    backdrop-filter: blur(4px);
}
.nv-card-lock-text {
    font-size: 12px;
    color: #FFD700;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
/* Detail page VIP lock */
.nv-detail-vip-lock {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: var(--nv-card);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 16px;
    margin-top: 20px;
}
.nv-detail-vip-lock.show {
    display: block;
}
.nv-detail-vip-lock-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,215,0,0.1);
    border: 2px solid rgba(255,215,0,0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #FFD700;
    margin-bottom: 16px;
}
.nv-detail-vip-lock h3 {
    font-size: 18px;
    color: #FFD700;
    margin-bottom: 8px;
}
.nv-detail-vip-lock p {
    color: var(--nv-text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
/* Rank item VIP lock */
.nv-text-item.vip-locked {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}
.nv-text-item.vip-locked:hover {
    opacity: 0.6;
}
.nv-text-item.vip-locked .nv-text-title {
    color: var(--nv-text-muted);
    filter: blur(3px);
}
.nv-text-item.vip-locked .nv-text-meta {
    filter: blur(2px);
}
.nv-text-item.vip-locked .nv-text-score {
    filter: blur(2px);
}
.nv-text-item.vip-locked img {
    filter: blur(6px) brightness(0.5);
}
.nv-text-item.vip-locked::after {
    content: '🔒 VIP 专享';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: #FFD700;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255,215,0,0.3);
    white-space: nowrap;
    z-index: 2;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .nv-user-profile { flex-direction: column; text-align: center; padding: 24px 20px; }
    .nv-user-meta { justify-content: center; }
    .nv-user-actions { justify-content: center; }
    .nv-user-dash { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nv-dash-card { padding: 18px 12px; }
    .nv-plan-grid { grid-template-columns: 1fr; }
    .nv-login-card { margin: 40px 16px; padding: 28px 24px; }
}
