/* Thème « bleu » de l'écran Paramètres, appliqué aux autres écrans (profil, commerce, notifications, fil, signaler).
   À charger APRÈS shop.css. Les champs de saisie restent blancs, texte foncé (var(--ink)), pour la lisibilité. */
:root { color-scheme: dark; --navy: var(--nx-text); --mute: var(--nx-text-soft); --line: var(--nx-line); --tint: var(--nx-surface); --card: var(--nx-surface); --accent: var(--nx-blue-light); --bg: var(--nx-bg-2); --ph: var(--nx-surface-2); --soft: color-mix(in srgb, var(--nx-blue) 16%, transparent); --ink: var(--nx-text); --blue: var(--nx-blue); }
body { background: radial-gradient(120% 80% at 50% 0%, var(--nx-surface), var(--nx-bg-2) 60%) no-repeat var(--nx-bg-2); background-attachment: fixed; color: var(--navy); min-height: 100vh; }
a { color: var(--nx-text-dim); }
h1 { color: var(--nx-text); } .lead, .empty, footer { color: var(--mute); }
.card, .post, .review, .rcard { background: var(--card); color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.card h1, .card h2, .post-body { color: var(--navy); } .card p, .post-date, .card label { color: var(--mute); }
.card .err, .err { color: var(--nx-red); }
.okmsg { color: var(--nx-green); }
.btn { background: var(--blue); color: var(--nx-white); } .btn.ghost { background: var(--soft); color: var(--nx-text-soft); } .btn.danger { background: color-mix(in srgb, var(--nx-red) 16%, transparent); color: var(--nx-red); }
.badge { background: color-mix(in srgb, var(--nx-green) 18%, transparent); color: var(--nx-green); }
.banner { background: color-mix(in srgb, var(--nx-amber) 12%, transparent); color: var(--nx-amber); } .banner a { color: var(--nx-amber); }
.reply { background: color-mix(in srgb, var(--nx-strong) 4%, transparent); border: 1px solid var(--line); } .reply p { color: var(--navy); }
.tile { background: var(--ph); color: var(--navy); }
.tabs button { color: var(--nx-text-soft); border-color: var(--line); }
.linkbtn { color: var(--mute); }
.star { color: var(--nx-text-dim); } .star.on { color: var(--nx-amber); }
dialog { color-scheme: dark; }
.card input[type=text], .card input[type=url], .card input[type=tel], .card select, .card textarea, #review-form textarea, #review-form input[type=text], #report-form textarea { background: var(--nx-surface); color: var(--nx-text); }
.card .kinds legend, .hint { color: var(--mute); }
.card label.check, .card .check { color: var(--navy); }
.slot { border-top-color: var(--line); color: var(--navy); } .slot small { color: var(--mute); }
.post-shop { color: var(--nx-text-dim); }
.logo { display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; border-radius: 50%; background: var(--nx-surface-2); color: var(--nx-text); font-weight: 700; }
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcheck { width: 22px; height: 22px; flex: none; }
.silhouette { display: inline-flex; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 30%, var(--nx-blue), var(--nx-surface) 78%); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--nx-blue) 35%, transparent); overflow: hidden; align-items: center; justify-content: center; }
.silhouette svg { width: 58%; height: 58%; fill: none; stroke: none; }      /* petit bonhomme au centre du cercle */
.silhouette svg .sh { fill: var(--nx-strong); }      /* bonhomme blanc (bleu nuit en thème clair, pour rester visible) */

/* Badges de progression (Contributeur / Expert local / Top Expert) */
.rbadge { display: inline-flex; align-items: center; gap: .25rem; margin-left: .4rem; padding: .08rem .5rem .08rem .35rem; border-radius: 999px; font-size: .78rem; font-weight: 700; vertical-align: middle; white-space: nowrap; line-height: 1.4; }
.rbadge svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.rbadge.contributor { background: color-mix(in srgb, var(--nx-amber) 18%, transparent); color: var(--nx-amber); }
.rbadge.local_expert { background: color-mix(in srgb, var(--nx-blue) 20%, transparent); color: var(--nx-text-dim); }
.rbadge.top_expert { background: linear-gradient(90deg, color-mix(in srgb, var(--nx-amber) 28%, transparent), color-mix(in srgb, var(--nx-amber) 14%, transparent)); color: var(--nx-amber); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nx-amber) 35%, transparent); }
.bprog { margin: 0 0 1rem; padding: .6rem .85rem; border-radius: 14px; border: 1px solid var(--nx-line); background: linear-gradient(165deg, color-mix(in srgb, var(--nx-blue) 28%, transparent), color-mix(in srgb, var(--nx-bg-2) 75%, transparent)); text-align: left; }
.bprog-top { display: flex; align-items: center; gap: .3rem; } .bprog-top b { font-size: .85rem; } .bprog-top .rbadge { margin-left: auto; }
.bprog-sum { margin: .2rem 0 0; font-size: .82rem; opacity: .85; } .bprog-how { margin-top: .4rem; font-size: .85rem; } .bprog-how summary { cursor: pointer; font-weight: 600; } .bprog-how ul { margin: .4rem 0 0; padding-left: 1.1rem; } .bprog-how li { margin: .15rem 0; }
.bprog-bar { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--nx-strong) 9%, transparent); margin: .45rem 0 .35rem; overflow: hidden; } .bprog-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--nx-blue), var(--nx-surface-2)); }
.bprog p { margin: 0; color: var(--nx-text-soft); font-size: .78rem; line-height: 1.35; }
