/* NUIT — métal · électronique sombre · expérimental · dream pop
   Habit sombre par défaut : indigo électrique sur bleu nuit, halos, titres espacés. */

[data-theme="nuit"] {
    --th-bg: #0a0c16;
    --th-surface: #121626;
    --th-surface-2: #1a2036;
    --th-border: #262e4a;
    --th-text: #dfe4f5;
    --th-muted: #8b93b5;
    --th-accent: #6c7ae0;
    --th-accent-2: #46c8c0;
    --th-title-font: 'Share Tech Mono', ui-monospace, monospace;
    --th-body-font: 'Inter', system-ui, sans-serif;
    --th-radius: 6px;
    --th-tracking: 3px;
}

[data-theme="nuit"][data-variant="light"] {
    --th-bg: #eef0fa;
    --th-surface: #ffffff;
    --th-surface-2: #e2e6f7;
    --th-border: #c6cdec;
    --th-text: #1a1f36;
    --th-muted: #666e91;
    --th-accent: #4a5ad0;
    --th-accent-2: #2a9d97;
}

/* Signature : halo lumineux, filet fin, badge à lueur. */
[data-theme="nuit"] body,
[data-theme="nuit"] .theme-surface {
    background-image: radial-gradient(ellipse at 50% -10%, color-mix(in srgb, var(--th-accent) 22%, transparent), transparent 60%);
}

[data-theme="nuit"] .theme-title,
[data-theme="nuit"] h1 {
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 0 18px color-mix(in srgb, var(--th-accent) 45%, transparent);
}

[data-theme="nuit"] .theme-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--th-accent), var(--th-accent-2), transparent);
}

[data-theme="nuit"] .theme-badge {
    box-shadow: 0 0 14px color-mix(in srgb, var(--th-accent) 40%, transparent);
}
