/* ════════════════════════════════════════════════════════
   NavXD navigation contribute redesign P1
   Visual: HUD + submission form, multi-type (sites/app/article/book)
   Scoped under .nx-contrib / body.nx-contrib-enabled
   ════════════════════════════════════════════════════════ */

body.nx-contrib-enabled { background: #07080d; }
body.nx-contrib-enabled,
body.nx-contrib-enabled .site-content,
body.nx-contrib-enabled .content,
body.nx-contrib-enabled #content,
body.nx-contrib-enabled #main { background: transparent; }

.nx-contrib {
    --nxc-bg: #07080d;
    --nxc-bg-elev: #0d1018;
    --nxc-signal: #00e5b0;
    --nxc-signal-dim: rgba(0, 229, 176, 0.12);
    --nxc-signal-bg: rgba(0, 229, 176, 0.18);
    --nxc-indigo: #5b6cff;
    --nxc-indigo-dim: rgba(91, 108, 255, 0.12);
    --nxc-amber: #e8a948;
    --nxc-amber-dim: rgba(232, 169, 72, 0.12);
    --nxc-red: #ff5757;
    --nxc-red-dim: rgba(255, 87, 87, 0.12);
    --nxc-text: #f2efe7;
    --nxc-text-2: #c1bdcf;
    --nxc-text-3: #6b6878;
    --nxc-rule: rgba(255, 255, 255, 0.06);
    --nxc-rule-strong: rgba(255, 255, 255, 0.14);
    --nxc-font-display: 'Bricolage Grotesque', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --nxc-font-body: 'Bricolage Grotesque', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --nxc-font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
    --nxc-font-serif: 'Microsoft YaHei UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
    --nxc-gutter: clamp(20px, 4vw, 64px);
    --nxc-content-w: 1480px;
    position: relative;
    background: var(--nxc-bg);
    color: var(--nxc-text);
    font-family: var(--nxc-font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-feature-settings: 'ss01', 'ss02';
    letter-spacing: -0.005em;
}
.nx-contrib *, .nx-contrib *::before, .nx-contrib *::after { box-sizing: border-box; }
.nx-contrib a { color: inherit; text-decoration: none; }

.nx-contrib::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--nxc-rule) 1px, transparent 1px),
        linear-gradient(to bottom, var(--nxc-rule) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 15%, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 15%, black 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.nx-contrib::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 30% 0%, var(--nxc-signal-dim) 0%, transparent 35%),
        radial-gradient(circle at 80% 90%, var(--nxc-indigo-dim) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.nxc-noise {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.nxc-italic {
    font-family: var(--nxc-font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--nxc-signal);
}
.nxc-signal-text { color: var(--nxc-signal); }

/* ═══ HUD ═══ */
.nxc-hud {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    padding: 14px var(--nxc-gutter);
    background: rgba(7, 8, 13, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--nxc-rule);
}
.nxc-hud__brand { display: flex; align-items: baseline; gap: 10px; }
.nxc-hud__icon { width: 22px; height: 22px; flex-shrink: 0; }
.nxc-hud__name {
    font-family: var(--nxc-font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--nxc-text);
}
.nxc-hud__suffix {
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.05em;
}
.nxc-hud__tag {
    display: inline-flex;
    padding: 2px 8px;
    background: var(--nxc-signal-dim);
    border: 1px solid var(--nxc-signal);
    color: var(--nxc-signal);
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 4px;
}

.nxc-hud__search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--nxc-rule-strong);
    width: min(440px, 100%);
    transition: border-color 0.18s;
}
.nxc-hud__search:focus-within { border-color: var(--nxc-signal); }
.nxc-hud__search-prefix {
    font-family: var(--nxc-font-mono);
    font-size: 12px;
    color: var(--nxc-signal);
}
.nxc-hud__search input {
    flex: 1;
    background: none;
    border: 0;
    outline: 0;
    color: var(--nxc-text);
    font-family: var(--nxc-font-mono);
    font-size: 13px;
    min-width: 0;
}
.nxc-hud__search input::placeholder { color: var(--nxc-text-3); }
.nxc-hud__hotkey {
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    padding: 2px 6px;
    border: 1px solid var(--nxc-rule-strong);
    color: var(--nxc-text-3);
}

.nxc-hud__stats {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: flex-end;
}
.nxc-hud__stat { display: flex; flex-direction: column; gap: 1px; font-family: var(--nxc-font-mono); }
.nxc-hud__stat-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--nxc-text-3);
    text-transform: uppercase;
}
.nxc-hud__stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--nxc-text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nxc-dot-pulse {
    width: 6px;
    height: 6px;
    background: var(--nxc-signal);
    border-radius: 50%;
    flex-shrink: 0;
    animation: nxc-pulse 1.6s ease-in-out infinite;
}
@keyframes nxc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

/* ═══ Main ═══ */
.nxc-main {
    position: relative;
    z-index: 2;
    max-width: var(--nxc-content-w);
    margin: 0 auto;
    padding: 24px var(--nxc-gutter) 80px;
}

/* 面包屑 */
.nxc-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.nxc-crumb a:hover { color: var(--nxc-signal); }
.nxc-crumb__sep { color: var(--nxc-rule-strong); }
.nxc-crumb__active { color: var(--nxc-signal); }

/* ═══ Flash 提示 ═══ */
.nxc-flash {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 22px;
    border: 1px solid var(--nxc-rule-strong);
    margin-bottom: 36px;
    background: rgba(0, 0, 0, 0.3);
}
.nxc-flash--ok {
    border-color: var(--nxc-signal);
    background: var(--nxc-signal-dim);
}
.nxc-flash--warn {
    border-color: var(--nxc-amber);
    background: var(--nxc-amber-dim);
}
.nxc-flash--err {
    border-color: var(--nxc-red);
    background: var(--nxc-red-dim);
}
.nxc-flash__icon {
    font-size: 22px;
    text-align: center;
}
.nxc-flash--ok .nxc-flash__icon { color: var(--nxc-signal); }
.nxc-flash--warn .nxc-flash__icon { color: var(--nxc-amber); }
.nxc-flash--err .nxc-flash__icon { color: var(--nxc-red); }
.nxc-flash__body { display: flex; flex-direction: column; gap: 4px; }
.nxc-flash__body strong {
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--nxc-text);
}
.nxc-flash__body span {
    font-family: var(--nxc-font-body);
    font-size: 13px;
    color: var(--nxc-text-2);
}

/* ═══ Hero ═══ */
.nxc-hero {
    padding-top: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--nxc-rule-strong);
    margin-bottom: 48px;
}
.nxc-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--nxc-font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--nxc-signal);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.nxc-hero__chip::before {
    content: '◉';
    color: var(--nxc-signal);
    animation: nxc-pulse 1.6s ease-in-out infinite;
}
.nxc-hero__chip-action {
    padding: 3px 10px;
    background: var(--nxc-signal);
    color: var(--nxc-bg);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nxc-hero__title {
    font-family: var(--nxc-font-display);
    font-weight: 800;
    font-size: clamp(40px, 6.2vw, 92px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    max-width: 920px;
    color: var(--nxc-text);
    margin: 0;
}
.nxc-hero__title .nxc-italic {
    color: var(--nxc-signal);
}

.nxc-hero__sub {
    margin: 22px 0 0;
    font-family: var(--nxc-font-serif);
    font-style: italic;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--nxc-text-2);
    max-width: 720px;
}

.nxc-hero__stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 36px;
    font-family: var(--nxc-font-mono);
}
.nxc-hero__stat { display: flex; flex-direction: column; gap: 4px; }
.nxc-hero__stat-label {
    font-size: 10px;
    color: var(--nxc-text-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nxc-hero__stat-value {
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 26px;
    color: var(--nxc-text);
    letter-spacing: -0.02em;
}
.nxc-hero__stat-unit {
    font-size: 14px;
    color: var(--nxc-text-3);
    font-family: var(--nxc-font-mono);
    font-weight: 400;
}

/* ═══ Type tabs ═══ */
.nxc-type-tabs {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--nxc-rule);
    border: 1px solid var(--nxc-rule-strong);
}
.nxc-type-tab {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 18px;
    background: var(--nxc-bg);
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}
.nxc-type-tab:hover { background: var(--nxc-bg-elev); }
.nxc-type-tab.is-active {
    background: var(--nxc-signal-dim);
    box-shadow: inset 0 -2px 0 var(--nxc-signal);
}
.nxc-type-tab__icon {
    font-size: 28px;
    line-height: 1;
    color: var(--nxc-text-3);
    text-align: center;
    transition: color 0.15s;
}
.nxc-type-tab:hover .nxc-type-tab__icon,
.nxc-type-tab.is-active .nxc-type-tab__icon { color: var(--nxc-signal); }

.nxc-type-tab__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nxc-type-tab__cue {
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-text-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nxc-type-tab.is-active .nxc-type-tab__cue { color: var(--nxc-signal); }
.nxc-type-tab__label {
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--nxc-text);
    letter-spacing: -0.01em;
}
.nxc-type-tab__desc {
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* ═══ Body grid ═══ */
.nxc-body-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ═══ Form ═══ */
.nxc-form {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Fieldset */
.nxc-fieldset {
    position: relative;
    border: 1px solid var(--nxc-rule-strong);
    background: rgba(0, 0, 0, 0.2);
    padding: 28px 32px 30px;
}
.nxc-fieldset::before,
.nxc-fieldset::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--nxc-signal);
}
.nxc-fieldset::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.nxc-fieldset::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.nxc-fieldset__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--nxc-rule);
}
.nxc-fieldset__index {
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-signal);
    font-weight: 600;
    letter-spacing: 0.1em;
}
.nxc-fieldset__title {
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--nxc-text);
    margin: 0;
}
.nxc-fieldset__hint {
    margin-left: auto;
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-text-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nxc-fieldset__hint--required { color: var(--nxc-amber); }

/* Field */
.nxc-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nxc-field + .nxc-field,
.nxc-field-row + .nxc-field,
.nxc-field + .nxc-field-row,
.nxc-field-row + .nxc-field-row { margin-top: 20px; }
.nxc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nxc-field__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-family: var(--nxc-font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--nxc-text-2);
    letter-spacing: -0.005em;
}
.nxc-field__req {
    color: var(--nxc-red);
    margin-left: 4px;
}
.nxc-field__counter {
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
}
.nxc-field__counter.is-ok { color: var(--nxc-signal); }
.nxc-field__counter.is-warn { color: var(--nxc-amber); }
.nxc-field__counter.is-over { color: var(--nxc-red); }

.nxc-field__input,
.nxc-field__textarea,
.nxc-field__select {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--nxc-rule-strong);
    color: var(--nxc-text);
    font-family: var(--nxc-font-mono);
    font-size: 14px;
    padding: 12px 16px;
    outline: 0;
    transition: all 0.18s;
    letter-spacing: 0.005em;
    border-radius: 0;
}
.nxc-field__input:focus,
.nxc-field__textarea:focus,
.nxc-field__select:focus {
    border-color: var(--nxc-signal);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 1px var(--nxc-signal-dim);
}
.nxc-field__input::placeholder,
.nxc-field__textarea::placeholder { color: var(--nxc-text-3); }
.nxc-field__textarea {
    min-height: 100px;
    resize: vertical;
    font-family: var(--nxc-font-body);
    line-height: 1.65;
}
.nxc-field__textarea--large { min-height: 140px; }
.nxc-field__hint {
    margin: 4px 0 0;
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.02em;
}
.nxc-field__hint::before { content: '◇ '; color: var(--nxc-signal); }

/* Channel pick (12 grid) */
.nxc-channel-pick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--nxc-rule);
    border: 1px solid var(--nxc-rule-strong);
}
.nxc-cp-cell {
    position: relative;
    padding: 14px 12px;
    background: var(--nxc-bg);
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
    border: 0;
}
.nxc-cp-cell:hover { background: var(--nxc-bg-elev); }
.nxc-cp-cell:has(input:checked),
.nxc-cp-cell.is-active {
    background: var(--nxc-signal-dim);
    box-shadow: inset 0 0 0 1px var(--nxc-signal);
}
.nxc-cp-cell input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.nxc-cp-cell__ch {
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-text-3);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.nxc-cp-cell:has(input:checked) .nxc-cp-cell__ch,
.nxc-cp-cell.is-active .nxc-cp-cell__ch { color: var(--nxc-signal); }
.nxc-cp-cell__name {
    font-family: var(--nxc-font-display);
    font-weight: 600;
    font-size: 13px;
    color: var(--nxc-text-2);
    letter-spacing: -0.005em;
}
.nxc-cp-cell:has(input:checked) .nxc-cp-cell__name,
.nxc-cp-cell.is-active .nxc-cp-cell__name { color: var(--nxc-text); }

/* Tag axes */
.nxc-tag-axes {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.nxc-tag-axis {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 14px;
    align-items: start;
}
.nxc-tag-axis__name {
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 6px;
}
.nxc-tag-axis__items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.nxc-chip-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nxc-rule-strong);
    font-family: var(--nxc-font-display);
    font-size: 12px;
    font-weight: 500;
    color: var(--nxc-text-2);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}
.nxc-chip-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nxc-chip-toggle:hover { border-color: var(--nxc-signal); color: var(--nxc-signal); }
.nxc-chip-toggle:has(input:checked),
.nxc-chip-toggle.is-active {
    background: var(--nxc-signal);
    color: var(--nxc-bg);
    border-color: var(--nxc-signal);
}

/* Submit bar */
.nxc-submit-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.nxc-cta-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--nxc-signal);
    border: 0;
    color: var(--nxc-bg);
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: all 0.2s;
}
.nxc-cta-submit::before { content: '◉ '; }
.nxc-cta-submit::after { content: ' →'; font-family: var(--nxc-font-mono); }
.nxc-cta-submit:hover {
    box-shadow: 0 0 32px rgba(0, 229, 176, 0.5);
    transform: translateY(-1px);
}
.nxc-cta-submit:active { transform: translateY(0); }
.nxc-cta-cancel {
    font-family: var(--nxc-font-mono);
    font-size: 12px;
    color: var(--nxc-text-3);
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    transition: color 0.18s;
}
.nxc-cta-cancel:hover { color: var(--nxc-text-2); }
.nxc-submit-bar__legal {
    margin-left: auto;
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-text-3);
    letter-spacing: 0.04em;
}

/* ═══ Right sticky info panel ═══ */
.nxc-info-panel {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.nxc-info-block {
    border: 1px solid var(--nxc-rule-strong);
    background: rgba(0, 0, 0, 0.2);
}
.nxc-info-block__header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--nxc-rule);
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nxc-info-block__header::before { content: '◇ '; color: var(--nxc-signal); }
.nxc-info-block__body { padding: 20px 22px; }

/* Timeline */
.nxc-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.nxc-timeline__step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    position: relative;
}
.nxc-timeline__step::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    width: 1px;
    bottom: -18px;
    background: var(--nxc-rule-strong);
}
.nxc-timeline__step:last-child::after { display: none; }
.nxc-timeline__num {
    width: 30px;
    height: 30px;
    border: 1px solid var(--nxc-rule-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--nxc-signal);
    background: var(--nxc-bg);
    position: relative;
    z-index: 1;
}
.nxc-timeline__step--done .nxc-timeline__num {
    background: var(--nxc-signal);
    color: var(--nxc-bg);
    border-color: var(--nxc-signal);
}
.nxc-timeline__body { padding-top: 4px; }
.nxc-timeline__title {
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--nxc-text);
    letter-spacing: -0.005em;
}
.nxc-timeline__desc {
    margin: 4px 0 0;
    font-family: var(--nxc-font-serif);
    font-style: italic;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--nxc-text-2);
}
.nxc-timeline__time {
    margin-top: 6px;
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-signal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Exclude list */
.nxc-exclude-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nxc-exclude-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: baseline;
    font-family: var(--nxc-font-body);
    font-size: 13.5px;
    color: var(--nxc-text-2);
    line-height: 1.5;
}
.nxc-exclude-list li::before {
    content: '✕';
    color: var(--nxc-red);
    font-family: var(--nxc-font-mono);
    font-size: 12px;
    font-weight: 600;
}
.nxc-exclude-list li strong {
    color: var(--nxc-text);
    font-weight: 600;
}

/* Recent list */
.nxc-recent-list {
    display: flex;
    flex-direction: column;
}
.nxc-recent {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-top: 1px dashed var(--nxc-rule);
    cursor: pointer;
    transition: opacity 0.18s;
}
.nxc-recent:first-child { border-top: 0; padding-top: 0; }
.nxc-recent:last-child { padding-bottom: 0; }
.nxc-recent:hover .nxc-recent__name { color: var(--nxc-signal); }
.nxc-recent__logo {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--nxc-indigo), var(--nxc-signal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nxc-font-display);
    font-weight: 700;
    font-size: 12px;
    color: var(--nxc-bg);
}
.nxc-recent__body { min-width: 0; }
.nxc-recent__name {
    font-family: var(--nxc-font-display);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--nxc-text);
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s;
}
.nxc-recent__ch {
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-text-3);
    letter-spacing: 0.05em;
    margin-top: 2px;
}
.nxc-recent__time {
    font-family: var(--nxc-font-mono);
    font-size: 10px;
    color: var(--nxc-signal);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ═══ Footer HUD ═══ */
.nxc-footer-hud {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--nxc-rule-strong);
    padding: 32px var(--nxc-gutter);
    margin-top: 80px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}
.nxc-footer-hud__row {
    max-width: var(--nxc-content-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    font-family: var(--nxc-font-mono);
    font-size: 11px;
    color: var(--nxc-text-3);
    letter-spacing: 0.05em;
}
.nxc-footer-hud__left, .nxc-footer-hud__right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.nxc-footer-hud__right { justify-content: flex-end; }
.nxc-footer-hud__left span::before {
    content: '◢ ';
    color: var(--nxc-signal);
}
.nxc-footer-hud__brand {
    font-family: var(--nxc-font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--nxc-text);
    letter-spacing: -0.01em;
}

/* ═══ Light theme ═══ */
[data-theme="light"] body.nx-contrib-enabled { background: #faf9f5; }
[data-theme="light"] .nx-contrib {
    --nxc-bg: #faf9f5;
    --nxc-bg-elev: #ffffff;
    --nxc-text: #14151b;
    --nxc-text-2: #3e3f49;
    --nxc-text-3: #6b6878;
    --nxc-rule: rgba(15, 16, 20, 0.08);
    --nxc-rule-strong: rgba(15, 16, 20, 0.16);
    --nxc-signal: #009474;
    --nxc-signal-dim: rgba(0, 148, 116, 0.10);
    --nxc-signal-bg: rgba(0, 148, 116, 0.18);
    --nxc-indigo: #4a5be8;
    --nxc-indigo-dim: rgba(74, 91, 232, 0.10);
}
[data-theme="light"] .nxc-hud { background: rgba(250, 249, 245, 0.85); }
[data-theme="light"] .nxc-fieldset { background: #ffffff; }
[data-theme="light"] .nxc-info-block { background: #ffffff; }
[data-theme="light"] .nxc-field__input,
[data-theme="light"] .nxc-field__textarea { background: #ffffff; }

/* ═══ Animations ═══ */
@keyframes nxc-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.nxc-crumb { animation: nxc-fadeUp 0.5s ease-out 0.1s backwards; }
.nxc-flash { animation: nxc-fadeUp 0.5s ease-out 0.1s backwards; }
.nxc-hero > * { animation: nxc-fadeUp 0.6s ease-out backwards; }
.nxc-hero > *:nth-child(1) { animation-delay: 0.2s; }
.nxc-hero > *:nth-child(2) { animation-delay: 0.3s; }
.nxc-hero > *:nth-child(3) { animation-delay: 0.4s; }
.nxc-hero > *:nth-child(4) { animation-delay: 0.5s; }
.nxc-hero > *:nth-child(5) { animation-delay: 0.55s; }
.nxc-fieldset { animation: nxc-fadeUp 0.6s ease-out backwards; }
.nxc-fieldset:nth-child(2) { animation-delay: 0.5s; }
.nxc-fieldset:nth-child(3) { animation-delay: 0.6s; }
.nxc-fieldset:nth-child(4) { animation-delay: 0.7s; }
.nxc-fieldset:nth-child(5) { animation-delay: 0.8s; }
.nxc-info-panel { animation: nxc-fadeUp 0.8s ease-out 0.5s backwards; }

@media (prefers-reduced-motion: reduce) {
    .nx-contrib * { animation: none !important; transition: none !important; }
}

/* ═══ Responsive ═══ */
@media (max-width: 1100px) {
    .nxc-hud { grid-template-columns: 1fr auto; gap: 16px; padding: 12px var(--nxc-gutter); }
    .nxc-hud__stats { display: none; }
    .nxc-hud__search { width: 280px; }
    .nxc-body-grid { grid-template-columns: 1fr; }
    .nxc-info-panel { position: relative; top: 0; }
    .nxc-channel-pick { grid-template-columns: repeat(3, 1fr); }
    .nxc-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .nxc-type-tabs { grid-template-columns: repeat(2, 1fr); }
    .nxc-footer-hud__row { grid-template-columns: 1fr; text-align: center; }
    .nxc-footer-hud__left, .nxc-footer-hud__right { justify-content: center; }
}
@media (max-width: 640px) {
    .nxc-hud { grid-template-columns: 1fr; gap: 10px; }
    .nxc-hud__brand { justify-content: center; }
    .nxc-hud__search { width: 100%; }
    .nxc-hero__title { font-size: 40px; }
    .nxc-hero__sub { font-size: 18px; }
    .nxc-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .nxc-hero__stat-value { font-size: 22px; }
    .nxc-type-tabs { grid-template-columns: 1fr; }
    .nxc-type-tab { grid-template-columns: 32px 1fr; padding: 14px; }
    .nxc-type-tab__icon { font-size: 22px; }
    .nxc-type-tab__label { font-size: 14px; }
    .nxc-channel-pick { grid-template-columns: repeat(2, 1fr); }
    .nxc-tag-axis { grid-template-columns: 1fr; gap: 6px; }
    .nxc-field-row { grid-template-columns: 1fr; }
    .nxc-fieldset { padding: 22px 20px 24px; }
    .nxc-submit-bar__legal { margin-left: 0; flex-basis: 100%; }
}
