/* ================================================================
   Sarcha · Espace personnel · pages du menu du compte
   (commandes, photos, paramètres, connexion, profil, communauté)
   Complète espace.css, même DA : traits fins, tableaux encre,
   coins de viseur, surlignage dégradé.
   ================================================================ */

/* ── Menu du compte : entrée admin, lien vers le profil ────────── */
.admin-only { display: none !important; }
html.is-admin .admin-only { display: grid !important; }
.menu-compte .mc-id { text-decoration: none; color: var(--ink); }
.menu-compte a.mc-id:hover b { text-decoration: underline; text-underline-offset: 3px; }
.mc-id i { display: block; font-style: normal; font-size: 12.5px; color: var(--acc); font-family: var(--titre); font-weight: 600; margin-top: 2px; }
.menu-compte nav a.mc-admin { background: var(--bg-2); }
.menu-compte nav a.mc-admin em { font: 600 10px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); background: var(--degrade); padding: 4px 6px; }
.menu-compte nav .mc-sep { display: block; height: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.side a.side-admin { color: var(--ink); }
.side a.side-admin em { font: 600 10px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); background: var(--degrade); padding: 4px 6px; }
/* déconnecté : simple icône, comme sur l'accueil */
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; color: inherit; border: 1px solid currentColor; opacity: .85; text-decoration: none; }
.icon-btn:hover { opacity: 1; color: inherit; }
.icon-btn svg { width: 17px; height: 17px; }
.avatar { position: relative; overflow: hidden; flex: none; }
.avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; }

/* ── Bandeau des pages (même forme que le tableau de bord) ─────── */
.band .wrap.page-top { padding-bottom: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.band .actions-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.band .btn--ghost { color: var(--band-ink); border-color: var(--band-ink); }
.band .btn--ghost::before { --c: var(--band-ink); }
.band .btn--ghost:hover { color: var(--band-ink); border-color: var(--band-ink); background: color-mix(in srgb, var(--band-ink) 8%, transparent); }
.retour { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 14px; font: 600 13px/1.2 var(--titre); color: var(--band-ink-2); text-decoration: none; }
.retour:hover { color: var(--band-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Onglets (en cours / historique, abonnés / abonnements) ────── */
.onglets { display: flex; gap: 0; border-bottom: 1.5px solid var(--ink); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.onglets button { position: relative; padding: 12px 18px 13px; background: none; border: 0; color: var(--ink-3); font: 600 14px/1 var(--titre); letter-spacing: .02em; cursor: pointer; white-space: nowrap; }
.onglets button b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; font-size: 12px; background: var(--bg-3); color: var(--ink); }
.onglets button[aria-selected="true"] { color: var(--ink); }
.onglets button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 4px; background: var(--orange); }
.onglets button[aria-selected="true"] b { background: var(--jaune); color: var(--encre); }
.onglets button:hover { color: var(--ink); }
.panneau[hidden] { display: none; }

/* ── Commandes en cartes ───────────────────────────────────────── */
.cmds { display: grid; gap: 18px; }
.cmd { background: var(--card); border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.cmd-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 22px; background: var(--t-bar); color: var(--t-bar-fg); }
.cmd-head .ref { display: flex; align-items: baseline; gap: 14px; font: 600 12px/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.cmd-head .ref a { color: inherit; font-size: 18px; letter-spacing: -.01em; text-transform: none; text-decoration: none; }
.cmd-head .ref a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmd .pill { background: var(--bg-3); color: var(--ink); }
.pill--cours { background: var(--jaune) !important; color: var(--encre) !important; }
.pill--fini { background: var(--ok-bg) !important; color: var(--ok-ink) !important; }
.pill--annule { background: var(--bg-3) !important; color: var(--ink-3) !important; }
.cmd-body { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 20px 22px 22px; align-items: end; }
.cmd-produits { display: grid; gap: 14px; }
.cmd-produit { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.cmd-produit img, .cmd-produit .vignette { width: 64px; height: 64px; object-fit: cover; background: var(--bg-3); }
.cmd-produit b { display: block; font: 700 16.5px/1.3 var(--titre); letter-spacing: -.01em; }
.cmd-produit span { font-size: 13.5px; color: var(--ink-2); }
.places { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.places small { font: 600 11px/1 var(--titre); letter-spacing: .06em; padding: 5px 7px; border: 1px solid var(--line-2); color: var(--ink-2); }
.cmd-side { display: grid; justify-items: end; gap: 14px; }
.cmd-side strong { font: 700 28px/1 var(--titre); letter-spacing: -.03em; }
.cmd-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: flex-end; }
.cmd .progres { margin-top: 0; padding: 0 22px 18px; }
.vide { display: grid; justify-items: start; gap: 12px; padding: 26px; border: 1.5px dashed var(--line-2); }
.vide h3 { font-size: 22px; }
.vide p { color: var(--ink-2); max-width: 56ch; }

/* ── Détail d'une commande ─────────────────────────────────────── */
.detail { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; align-items: start; }
.bloc { background: var(--card); border: 1.5px solid var(--ink); }
.bloc-bar { padding: 10px 22px; background: var(--t-bar); color: var(--t-bar-fg); font: 600 12.5px/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.bloc-corps { padding: 20px 22px 22px; display: grid; gap: 16px; }
.ligne { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ligne:last-child { border-bottom: 0; padding-bottom: 0; }
.ligne img { width: 64px; height: 64px; object-fit: cover; }
.ligne b { display: block; font: 700 16px/1.3 var(--titre); }
.ligne span { font-size: 13.5px; color: var(--ink-2); }
.ligne strong { font: 700 18px/1 var(--titre); }
.participants { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.participants li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 8px 10px; background: var(--bg-2); }
.participants li b { font: 600 13.5px/1.3 var(--titre); }
.totaux { display: grid; gap: 8px; }
.totaux div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.totaux .total { padding-top: 12px; border-top: 1.5px solid var(--ink); color: var(--ink); font: 700 22px/1 var(--titre); }
.adresse { font-style: normal; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.adresse b { color: var(--ink); font-family: var(--titre); }
.pile { display: grid; gap: 22px; }

/* ── Vos photos : galeries privées ─────────────────────────────── */
.galerie { background: var(--card); border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.galerie-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1.5px solid var(--ink); }
.galerie-head h3 { font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: -.02em; }
.galerie-head p { font: 600 13px/1.3 var(--titre); color: var(--ink-2); margin-top: 4px; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; padding: 16px; }
.grille figure { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-3); }
.grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.grille figure:hover img { transform: scale(1.04); }
.grille figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px; background: linear-gradient(transparent, rgba(7,10,18,.78)); color: #FBFAF7; font: 600 12px/1.2 var(--titre); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.grille figure:hover figcaption, .grille figure:focus-within figcaption { opacity: 1; transform: none; }
.grille figcaption a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; background: var(--jaune); color: var(--encre); text-decoration: none; }
.grille figcaption a:hover { background: #FFFFFF; color: var(--encre); }
.grille figcaption svg { width: 14px; height: 14px; }
.galerie-pied { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 22px 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.galerie.expiree .grille img { filter: grayscale(.6) brightness(.9); }
.alerte { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 22px; background: var(--bg-2); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.alerte b { color: var(--ink); font-family: var(--titre); }

/* ── Paramètres : sections repliables, formulaires ─────────────── */
.reglages { display: grid; gap: 14px; }
.reglage { background: var(--card); border: 1.5px solid var(--ink); }
.reglage > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px 22px; }
.reglage > summary::-webkit-details-marker { display: none; }
.reglage > summary svg { width: 20px; height: 20px; color: var(--acc); }
.reglage > summary b { display: block; font: 700 19px/1.2 var(--titre); letter-spacing: -.02em; }
.reglage > summary span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.reglage > summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.reglage[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.reglage[open] > summary { border-bottom: 1.5px solid var(--ink); }
.reglage > summary:hover b { text-decoration: underline; text-underline-offset: 4px; }
.reglage-corps { padding: 22px; display: grid; gap: 26px; }
.sous-bloc { display: grid; gap: 14px; }
.sous-bloc + .sous-bloc { padding-top: 24px; border-top: 1px solid var(--line); }
.sous-bloc h4 { font-size: 16px; letter-spacing: -.01em; }
.sous-bloc > p { font-size: 14px; color: var(--ink-2); max-width: 62ch; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.champ { display: grid; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label { font: 600 12px/1.2 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.champ input, .champ textarea, .champ select { width: 100%; padding: 12px 14px; background: var(--bg); color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 0; font: 400 15px/1.4 var(--texte); }
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 35%, transparent); }
.champ small { font-size: 12.5px; color: var(--ink-3); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.photo-profil { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
.photo-profil .avatar { width: 96px; height: 96px; font-size: 34px; }
.photo-profil .form-actions .lien { color: var(--ink-3); border-bottom-color: var(--ink-3); }
/* choix privé / visible, interrupteurs */
.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choix label { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-2); cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.choix label b { display: block; font: 700 15px/1.3 var(--titre); color: var(--ink); }
.choix input { margin-top: 3px; accent-color: var(--orange); }
.choix label:has(input:checked) { border-color: var(--ink); background: var(--bg-2); box-shadow: inset 4px 0 0 var(--orange); }
.coche { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.coche input { accent-color: var(--orange); margin-top: 3px; }
.interrupteur { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.interrupteur:last-of-type { border-bottom: 0; }
.interrupteur b { display: block; font: 600 15px/1.3 var(--titre); }
.interrupteur span { font-size: 13px; color: var(--ink-3); }
.switch { position: relative; width: 46px; height: 26px; appearance: none; -webkit-appearance: none; margin: 0; background: var(--bg-3); border: 1.5px solid var(--line-2); border-radius: 26px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink-3); transition: transform .2s, background-color .2s; }
.switch:checked { background: var(--orange); border-color: var(--orange); }
.switch:checked::after { transform: translateX(20px); background: var(--encre); }
/* carnet d'adresses, moyens de paiement */
.cartes-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.carte-mini { display: grid; gap: 6px; padding: 16px; border: 1.5px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.carte-mini b { font: 700 15px/1.3 var(--titre); color: var(--ink); }
.carte-mini .tag { justify-self: start; font: 600 10.5px/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; padding: 4px 6px; background: var(--jaune); color: var(--encre); }
.carte-mini .liens { display: flex; gap: 14px; margin-top: 6px; }
.carte-mini .liens a { font: 600 13px/1.2 var(--titre); color: var(--ink); }
.carte-ajout { display: grid; place-items: center; min-height: 120px; border: 1.5px dashed var(--line-2); font: 600 14px/1.2 var(--titre); color: var(--ink-2); text-decoration: none; }
.carte-ajout:hover { border-color: var(--ink); color: var(--ink); }
.statut { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--titre); }
.statut i { width: 9px; height: 9px; border-radius: 50%; background: #3B8A47; }
.zone-danger { padding: 16px; border: 1.5px solid var(--line-2); display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.zone-danger b { color: var(--ink); font-family: var(--titre); }

/* ── Connexion / inscription ───────────────────────────────────── */
.auth { max-width: 620px; margin: -46px auto 80px; position: relative; z-index: 2; background: var(--card); border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.auth .onglets { margin: 0; border-bottom-width: 1.5px; }
.auth .onglets button { flex: 1; padding: 18px; font-size: 15px; }
.auth-corps { padding: 26px 28px 30px; display: grid; gap: 18px; }
.auth h2 { font-size: 26px; }
.auth .sous { color: var(--ink-2); font-size: 14.5px; margin-top: -8px; }
.auth .btn { width: 100%; }
.auth .lien-discret { font: 600 13.5px/1.3 var(--titre); color: var(--ink-2); }
.auth .lien-discret:hover { color: var(--ink); }
.auth-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.auth-sep { display: flex; align-items: center; gap: 14px; font: 600 11px/1 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth h3.titre-bloc { font: 600 12px/1.2 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.message { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--ok-bg); color: var(--ok-ink); font-size: 14.5px; }
.message b { font-family: var(--titre); }
.band.band--court { padding-bottom: 80px; }
.band--court .page-top { justify-items: center; text-align: center; grid-template-columns: 1fr; }

/* ── Profil (le sien ou celui d'un membre) ─────────────────────── */
.profil-top { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding-bottom: 30px; }
.gros-avatar { position: relative; width: clamp(110px, 13vw, 160px); aspect-ratio: 1; }
.gros-avatar .avatar { width: 100%; height: 100%; font-size: 52px; border: 1.5px solid var(--band-ink); }
.gros-avatar::after { content: ""; position: absolute; inset: -12px; pointer-events: none; --c: var(--band-ink);
  background:
    linear-gradient(var(--c), var(--c)) top left / 20px 2px no-repeat, linear-gradient(var(--c), var(--c)) top left / 2px 20px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 20px 2px no-repeat, linear-gradient(var(--c), var(--c)) top right / 2px 20px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 20px 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 2px 20px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 20px 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 2px 20px no-repeat; }
.profil-id .eyebrow { margin-bottom: 10px; }
.profil-id h1 { font-size: clamp(38px, 5.4vw, 72px); }
.profil-id .bio { margin-top: 12px; max-width: 56ch; color: var(--band-ink-2); font-size: 15.5px; }
.profil-id .pill { margin-top: 14px; }
.pill--visible { background: var(--encre) !important; color: #FBFAF7 !important; }
[data-theme="nuit"] .pill--visible { background: #EFEBE3 !important; color: var(--encre) !important; }
.profil-actions { display: grid; gap: 10px; justify-items: end; }
.btn--suivi { background: transparent; color: var(--band-ink); border-color: var(--band-ink); }
.btn--suivi::before { --c: var(--band-ink); }
.btn--suivi:hover { background: transparent; color: var(--band-ink); border-color: var(--band-ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--band-ink); }
.stat { display: flex; align-items: baseline; gap: 12px; padding: 18px 0 20px; text-decoration: none; color: var(--band-ink); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.stat + .stat { border-left: 1.5px solid color-mix(in srgb, var(--band-ink) 25%, transparent); padding-left: 28px; }
.stat b { font: 700 clamp(38px, 4.4vw, 56px)/.9 var(--titre); letter-spacing: -.06em; }
.stat span { font: 700 17px/1.15 var(--titre); }
.stat small { display: block; font: 500 13px/1.3 var(--texte); color: var(--band-ink-2); margin-top: 4px; }
.stat:hover span { text-decoration: underline; text-underline-offset: 4px; }
[data-theme="nuit"] .stat b { color: var(--jaune); }

/* ── Membres (annuaire, abonnés, abonnements) ──────────────────── */
.membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.membre { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 4px 14px; align-items: center; padding: 16px; background: var(--card); border: 1.5px solid var(--line-2); transition: border-color .2s, transform .2s; }
.membre:hover { border-color: var(--ink); transform: translateY(-2px); }
.membre .avatar { grid-row: 1 / 3; width: 56px; height: 56px; font-size: 20px; }
.membre a.nom { font: 700 16.5px/1.2 var(--titre); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.membre a.nom:hover { text-decoration: underline; text-underline-offset: 3px; }
.membre .meta { font-size: 12.5px; color: var(--ink-3); }
.membre p { grid-column: 1 / -1; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.membre .suivre { grid-column: 1 / -1; margin-top: 10px; justify-self: start; }
.btn--petit { min-height: 36px; padding: .45em 1em; font-size: 13px; }
.btn--petit::before { inset: 4px; } .btn--petit:hover::before { inset: -6px; }
.btn.suivi { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.suivi::before { --c: var(--ink-3); }
.recherche { display: flex; gap: 12px; margin-bottom: 20px; }
.recherche input { flex: 1; padding: 12px 14px 12px 42px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23807a6e' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 14px center / 18px no-repeat; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 0; font: 400 15px/1.4 var(--texte); }
.recherche input:focus { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 35%, transparent); }
.note { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 22px; background: var(--degrade); color: var(--encre); }
.note b { font-family: var(--titre); }
.note .btn { background: var(--encre); color: #FBFAF7; border-color: var(--encre); }
.note .btn::before { --c: #FDA925; }
.note .btn:hover { background: #1B2236; border-color: #1B2236; color: #FBFAF7; }
.note .btn:hover::before { --c: var(--encre); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .band .wrap.page-top { grid-template-columns: 1fr; }
  .band .actions-top { justify-content: flex-start; }
  .cmd-body { grid-template-columns: 1fr; }
  .cmd-side { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .champs, .choix { grid-template-columns: 1fr; }
  .profil-top { grid-template-columns: auto 1fr; }
  .profil-actions { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { display: none; }
  .ligne { grid-template-columns: 52px 1fr; } .ligne strong { grid-column: 2; }
  .auth { margin: -40px 12px 60px; }
  .auth-corps { padding: 22px 18px 24px; }
  .grille { grid-template-columns: repeat(2, 1fr); }
}
