/* ==========================================================================
   compte.css — Chronoverse, comptes (02/11/2026)
   Ce que toutes les pages partagent : l'agent dans la barre et son menu, l'avatar, le carton
   d'annonce, les fenêtres (partage, signalement) et la section « Le verdict » des fiches d'œuvre.
   Les pages des comptes (connexion, dossier, réglages, partage) ont en plus profil.css.
   DA TVA : la barre est un bandeau de noyer, le menu un moniteur à phosphore ambre, les fenêtres
   des formulaires du TVA sur papier manille. L'accent (orange) ne sert qu'à ce qui s'active.
   ========================================================================== */

/* ── L'avatar : un portrait du site dans un anneau, ou l'initiale sur un écusson de noyer ── */
.mvc-avatar {
    --t: 40px;
    position: relative; flex: 0 0 auto; display: inline-grid; place-items: center;
    width: var(--t); height: var(--t); border-radius: 50%; overflow: hidden;
    background: var(--tva-noyer, #2a1c12);
    /* 29/11/2026 : le cerclage était une ombre (box-shadow), que la règle « aucune ombre » de tva.css efface : sur la
       barre brune, une pastille sans portrait devenait un rond invisible. Une vraie bordure, qui n'est pas une ombre. */
    box-sizing: border-box;
}
/* Le cerclage ambré, là seulement où la pastille se perdrait sinon : dans la barre, et sans portrait (initiale). */
.mvc-nav .mvc-avatar, .mvc-avatar.sans-image { border: 2px solid var(--tva-ambre, #f0a23a); }
.mvc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mvc-avatar.est-miss { background: #f3e9d4; }
.mvc-avatar.est-miss img { object-fit: contain; object-position: center 20%; transform: scale(1.18); }
.mvc-avatar i {
    display: none; font-style: normal; font-family: var(--font-display); font-weight: 900;
    font-size: calc(var(--t) * 0.5); line-height: 1; color: var(--tva-ambre, #f0a23a);
}
.mvc-avatar.sans-image i { display: block; }

/* ── Dans la barre ─────────────────────────────────────────────────── */
.mvc-nav { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.mvc-connexion {
    background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px;
    border: 1px solid var(--lb-border); border-radius: var(--rayon-bouton); color: var(--lb-muted-clair); text-decoration: none;
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
    transition: color var(--dur-1), border-color var(--dur-1), background var(--dur-1);
}
.mvc-connexion:hover, .mvc-connexion.active { color: var(--lb-white); border-color: var(--lb-white); }
.mvc-connexion:focus-visible, .mvc-moi:focus-visible { outline: 2px solid var(--tva-ambre, var(--accent-texte)); outline-offset: 2px; }
.mvc-moi {
    position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 3px 12px 3px 4px;
    background: transparent; border: 1px solid transparent; border-radius: var(--rayon-bouton); cursor: pointer; color: var(--lb-white);
    transition: border-color var(--dur-1), background var(--dur-1);
}
.mvc-moi:hover, .mvc-moi[aria-expanded="true"] { border-color: var(--lb-border); background: rgba(255, 233, 191, 0.06); }
/* L'enveloppe de la messagerie (03/11/2026), à gauche de l'agent. */
.mvc-messages { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 4px; border-radius: 50%; color: var(--lb-muted-clair); }
.mvc-messages:hover, .mvc-messages.active { color: var(--lb-white); background: rgba(255, 233, 191, 0.06); }
.mvc-messages:focus-visible { outline: 2px solid var(--tva-ambre, var(--accent-texte)); outline-offset: 2px; }
.mvc-messages .mvc-pastille { position: absolute; right: -2px; top: -1px; box-shadow: 0 0 0 2px var(--tva-noyer, var(--bg-dark)); }
.mvc-moi-nom { font-family: var(--font-ui); font-weight: 600; font-size: 0.8rem; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvc-pastille {
    display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--doom-green); color: var(--on-accent); font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; line-height: 1;
}
.mvc-moi > .mvc-pastille { position: absolute; left: 22px; top: -2px; box-shadow: 0 0 0 2px var(--tva-noyer, var(--bg-dark)); }

/* Le menu : un petit moniteur du TVA, sous l'avatar. */
.mvc-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 300; width: 286px;
    background: var(--bg-card); color: var(--lb-text); border: 1px solid var(--lb-border); border-top: 3px solid var(--doom-green);
    border-radius: 10px; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.7); overflow: hidden;
    animation: mvc-volet var(--dur-2, 200ms) var(--ease-out) both;
}
.mvc-menu[hidden] { display: none; }
@keyframes mvc-volet { from { opacity: 0; transform: translateY(-6px); } }
.mvc-menu-tete { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px dashed var(--lb-border); }
.mvc-menu-tete div { display: flex; flex-direction: column; min-width: 0; }
.mvc-menu-tete b { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; line-height: 1; text-transform: uppercase; color: var(--lb-white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvc-menu-tete span { margin-top: 4px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--lb-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvc-menu ul { list-style: none; margin: 0; padding: 6px 0; }
.mvc-menu li a, .mvc-menu li button {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 40px; padding: 0 16px;
    background: none; border: 0; text-align: left; cursor: pointer; text-decoration: none; color: var(--lb-text);
    font-family: var(--font-ui); font-weight: 600; font-size: 0.86rem;
}
.mvc-menu li a:hover, .mvc-menu li button:hover, .mvc-menu li a:focus-visible, .mvc-menu li button:focus-visible { background: rgba(255, 233, 191, 0.07); color: var(--lb-white); outline: none; }
.mvc-menu li:last-child:not(:first-child) { border-top: 1px dashed var(--lb-border); margin-top: 4px; padding-top: 4px; }
.mvc-menu-sync { margin: 0; padding: 9px 16px 11px; background: rgba(0, 0, 0, 0.18); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.03em; color: var(--lb-muted); }
.mvc-menu-sync::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--tva-ambre, var(--doom-green)); vertical-align: 1px; }

/* Le sommaire du téléphone : l'agent en tête de tiroir. */
.mvc-tiroir { display: flex; align-items: center; gap: 10px; padding: 4px 0 14px; margin-bottom: 6px; border-bottom: var(--trait); }
/* Le tiroir répartit ses enfants (space-between) : la marge auto garde le sommaire collé sous l'agent. */
.mvc-tiroir ~ nav { margin-bottom: auto; }
.mvc-tiroir .mvc-tiroir-moi { flex: 1; min-width: 0; display: flex !important; align-items: center !important; gap: 12px !important; padding: 8px 4px !important; font: inherit !important; text-transform: none !important; }
.mvc-tiroir-moi span { display: flex; flex-direction: column; min-width: 0; }
.mvc-tiroir-moi b { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; line-height: 1; text-transform: uppercase; color: var(--lb-white); }
.mvc-tiroir-moi i { font-style: normal; font-family: var(--font-mono); font-size: 0.7rem; color: var(--lb-muted); margin-top: 3px; }
.mvc-tiroir .mvc-tiroir-lien { flex: 0 0 auto; display: inline-flex !important; padding: 8px 12px !important; border: var(--trait); border-radius: var(--rayon-bouton); font-family: var(--font-mono) !important; font-size: 0.7rem !important; text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 720px) {
    .mvc-nav { margin-left: auto; }
    .mvc-nav + .mv8-loupe, .mvc-nav ~ .mv8-loupe { margin-left: 0 !important; }
    .mvc-moi-nom, .mvc-connexion span { display: none; }
    .mvc-connexion { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
    .mvc-moi { padding: 4px; }
    .mvc-menu { position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 8px); width: auto; }
}

/* ── Le carton d'annonce : il tombe de la barre, pour ne croiser ni l'annonce des badges ni Miss Minutes (en bas) ── */
.mvc-carton {
    position: fixed; left: 50%; top: calc(var(--nav-h, 64px) + 14px); z-index: 9100;
    display: flex; align-items: center; gap: 12px; max-width: min(460px, calc(100vw - 32px)); padding: 10px 16px 10px 12px;
    background: var(--bg-card); color: var(--lb-white); border: 1px solid var(--lb-border); border-left: 4px solid var(--tva-ambre, var(--doom-green));
    border-radius: 10px; box-shadow: var(--ombre-levee); font-size: 0.9rem;
    transform: translate(-50%, -40px); opacity: 0; pointer-events: none;
    transition: transform 0.45s cubic-bezier(.2, .9, .3, 1.15), opacity 0.3s;
}
.mvc-carton.est-la { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.mvc-carton img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.mvc-carton a { margin-left: 6px; color: var(--tva-ambre, var(--accent-texte)); font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .mvc-carton { transition: opacity 0.2s; transform: translate(-50%, 0); } }

/* ── Les fenêtres : un formulaire du TVA posé sur la table ─────────── */
.mvc-fenetre {
    /* La remise à zéro des marges de style.css retirait le centrage natif de <dialog>. */
    position: fixed; inset: 0; margin: auto; height: fit-content;
    width: min(540px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 26px 22px 34px;
    background-color: var(--bg-card); color: var(--lb-text); border: 2px solid var(--lb-border); border-radius: 12px;
    background-image: linear-gradient(to right, var(--doom-green) 0 8px, transparent 8px);
    box-shadow: 0 30px 60px -20px rgba(28, 19, 13, 0.6);
}
.mvc-fenetre::backdrop { background: rgba(28, 19, 13, 0.62); }
.mvc-fenetre[open] { animation: mvc-fenetre var(--dur-3, 320ms) var(--ease-out) both; }
@keyframes mvc-fenetre { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.mvc-fenetre-fermer {
    position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
    border: var(--trait); background: var(--bg-dark); color: var(--lb-white); cursor: pointer; font-size: 0.9rem;
}
.mvc-fenetre-fermer:hover { border-color: var(--lb-white); }
.mvc-fenetre-sur { margin: 0; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-texte); }
.mvc-fenetre-titre { margin: 6px 40px 10px 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 0.92; text-transform: uppercase; color: var(--lb-white); }
.mvc-fenetre-texte { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.5; color: var(--lb-muted-clair); }
.mvc-fenetre-texte a { color: var(--accent-texte); }
.mvc-fenetre-pied { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mvc-fenetre :focus-visible { outline: 2px solid var(--accent-texte); outline-offset: 2px; }
.mvc-choix { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mvc-choix legend { padding: 0; margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lb-muted); }
.mvc-choix label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 13px; border: 2px solid var(--lb-border); border-radius: 8px; background: var(--bg-dark); cursor: pointer; transition: border-color var(--dur-1); }
.mvc-choix label:hover { border-color: var(--lb-muted); }
.mvc-choix label:has(input:checked) { border-color: var(--doom-green); background: color-mix(in srgb, var(--doom-green) 7%, var(--bg-card)); }
.mvc-choix input { margin-top: 3px; accent-color: var(--doom-green); width: 17px; height: 17px; flex: 0 0 auto; }
.mvc-choix span { display: flex; flex-direction: column; gap: 2px; }
.mvc-choix b { font-family: var(--font-ui); font-size: 0.92rem; color: var(--lb-white); }
.mvc-choix i { font-style: normal; font-size: 0.82rem; color: var(--lb-muted-clair); }
.mvc-lien { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--lb-border); }
.mvc-lien label { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lb-muted); }
.mvc-lien div { display: flex; flex-wrap: wrap; gap: 8px; }
.mvc-lien input { flex: 1 1 220px; min-width: 0; min-height: 42px; padding: 0 12px; border: 2px solid var(--lb-border); border-radius: 6px; background: #fff8ea; color: var(--lb-white); font-family: var(--font-mono); font-size: 0.8rem; }
.mvc-lien .mv9-bouton { padding: 10px 16px; }
.mvc-lien .mv9-bouton::after { content: none; }
.mvc-champ { display: flex; flex-direction: column; gap: 6px; }
.mvc-champ > span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lb-muted); }
.mvc-champ textarea, .mvc-champ input, .mvc-champ select {
    width: 100%; box-sizing: border-box; padding: 10px 12px; border: 2px solid var(--lb-border); border-radius: 6px;
    background: #fff8ea; color: var(--lb-white); font: inherit; font-size: 0.95rem; resize: vertical;
}
.mvc-champ + .mvc-champ { margin-top: 12px; }
.mvc-champ textarea:focus, .mvc-champ input:focus, .mvc-champ select:focus { outline: none; border-color: var(--doom-green); }
.mvc-erreur { margin: 12px 0 0; padding: 9px 12px; border-radius: 6px; background: rgba(181, 73, 26, 0.1); border-left: 3px solid var(--doom-green); color: var(--accent-texte); font-size: 0.88rem; }
.mvc-erreur[hidden] { display: none; }

/* ── LE VERDICT : la note et l'avis sur la fiche d'une œuvre (notes-oeuvre.js) ── */
.vd-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px; }
.vd-moi, .vd-tribunal { min-width: 0; }
.vd-sur { margin: 0 0 10px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lb-muted); }
.vd-etoiles { display: flex; gap: 2px; margin: 0 0 4px -4px; }
.vd-etoile {
    width: 46px; height: 46px; padding: 0; display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer;
    color: var(--lb-border); transition: transform var(--dur-1) var(--ease-out), color var(--dur-1);
}
.vd-etoile svg { width: 34px; height: 34px; fill: currentColor; stroke: var(--lb-muted); stroke-width: 1.2; }
.vd-etoile.pleine { color: var(--doom-green); }
.vd-etoile.pleine svg { stroke: var(--tva-noyer, var(--lb-white)); }
.vd-etoile:hover { transform: scale(1.12) rotate(-4deg); }
.vd-etoile:focus-visible { outline: 2px solid var(--accent-texte); outline-offset: 1px; border-radius: 6px; }
.vd-etoiles.survol .vd-etoile { color: var(--lb-border); }
.vd-etoiles.survol .vd-etoile.allumee { color: var(--doom-green-soft, var(--doom-green)); }
.vd-mot { margin: 0 0 14px; min-height: 1.3em; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--lb-muted-clair); }
.vd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vd-vu {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; cursor: pointer;
    border: 2px solid var(--lb-border); border-radius: 6px; background: var(--bg-dark); color: var(--lb-white);
    font-family: var(--font-ui); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.vd-vu[aria-pressed="true"] { background: var(--doom-green); border-color: var(--doom-green); color: var(--on-accent); }
.vd-vu:hover { border-color: var(--lb-white); }
.vd-avis textarea { min-height: 96px; }
.vd-avis-pied { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.vd-avis-pied small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--lb-muted); }
.vd-avis-pied .mv9-bouton { padding: 9px 16px; font-size: 0.78rem; }
.vd-avis-pied .mv9-bouton::after { content: none; }
.vd-invite { margin: 0; padding: 12px 14px; border: 2px dashed var(--lb-border); border-radius: 8px; font-size: 0.88rem; color: var(--lb-muted-clair); }
.vd-invite a { color: var(--accent-texte); font-weight: 600; }

.vd-tribunal { padding-left: 26px; border-left: 2px dashed var(--lb-border); }
.vd-chiffres { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.vd-moyenne { display: flex; align-items: baseline; gap: 6px; }
.vd-moyenne b { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 7vw, 4.8rem); line-height: 0.8; color: var(--lb-white); }
.vd-moyenne span { font-family: var(--font-mono); font-size: 0.9rem; color: var(--lb-muted); }
.vd-compte { margin: 0 0 4px; font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.6; color: var(--lb-muted); }
.vd-compte b { color: var(--lb-white); font-weight: 500; }
.vd-barres { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-width: 360px; }
.vd-barres li { display: grid; grid-template-columns: 2.4em 1fr 2.4em; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--lb-muted); }
.vd-barres i { display: block; height: 9px; border-radius: 5px; background: var(--bg-elevated); overflow: hidden; }
.vd-barres i span { display: block; height: 100%; background: var(--tva-noyer, var(--lb-white)); border-radius: 5px; }
.vd-barres li:first-child i span { background: var(--doom-green); }
.vd-vide { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--lb-muted-clair); }
.vd-titre-liste { margin: 22px 0 10px; font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lb-muted); }
.vd-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vd-avis-carte { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 14px; background: var(--bg-dark); border: 1px solid var(--lb-border); border-radius: 8px; }
.vd-avis-carte .mvc-avatar { grid-row: span 2; }
.vd-avis-tete { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.vd-avis-tete a { font-family: var(--font-ui); font-weight: 700; font-size: 0.88rem; color: var(--lb-white); text-decoration: none; }
.vd-avis-tete a:hover { color: var(--accent-texte); }
.vd-avis-tete time { font-family: var(--font-mono); font-size: 0.68rem; color: var(--lb-muted); }
.vd-mini { display: inline-flex; gap: 1px; color: var(--doom-green); }
.vd-mini svg { width: 13px; height: 13px; fill: currentColor; }
.vd-mini .eteinte { color: var(--lb-border); }
.vd-avis-texte { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.04rem; line-height: 1.4; color: var(--lb-text); white-space: pre-line; overflow-wrap: anywhere; }
.vd-avis-vu { font-family: var(--font-mono); font-size: 0.68rem; color: var(--lb-muted); }
/* Sous un avis (03/11/2026) : un cœur pour l'aimer, un drapeau pour le signaler */
.mvc-avis-outils { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; vertical-align: middle; }
.mvc-avis-outils button, .mvc-avis-outils > span { display: inline-flex; align-items: center; gap: 4px; min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 15px; background: none; color: var(--lb-muted); font: 600 0.72rem var(--font-mono); }
.mvc-avis-outils button { cursor: pointer; transition: color var(--dur-1), background var(--dur-1); }
.mvc-avis-outils button:hover { background: var(--bg-elevated); color: var(--lb-white); }
.mvc-avis-outils button:focus-visible { outline: 2px solid var(--accent-texte); outline-offset: 1px; }
.mvc-avis-coeur[aria-pressed="true"] { color: var(--accent-texte); }
.mvc-avis-coeur[aria-pressed="true"] svg { fill: currentColor; }
.mvc-avis-drapeau:hover { color: var(--accent-texte) !important; }
.mvc-avis-outils span:empty { display: none; }
@media (max-width: 860px) {
    .vd-grille { grid-template-columns: 1fr; }
    .vd-tribunal { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 2px dashed var(--lb-border); }
}

/* ── Ma collection : le bouton « Partager » d'un marathon, l'en-tête synchronisé ── */
.coll-m-partager {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; cursor: pointer;
    border: 2px solid var(--lb-border); border-radius: 6px; background: var(--bg-dark); color: var(--lb-white);
    font-family: var(--font-ui); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.coll-m-partager:hover { border-color: var(--doom-green); color: var(--accent-texte); }
.coll-m-partager.est-partage { background: var(--tva-noyer, var(--lb-white)); border-color: var(--tva-noyer, var(--lb-white)); color: var(--tva-ambre, var(--bg-dark)); }
.mvc-coll-compte { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px 8px 8px; border: 2px solid var(--lb-border); border-radius: var(--rayon-bouton); background: var(--bg-card); text-decoration: none; color: var(--lb-text); font-size: 0.86rem; }
.mvc-coll-compte b { color: var(--lb-white); }
.mvc-coll-compte:hover { border-color: var(--doom-green); }
.vd-discussions { margin: 18px 0 0; }
.vd-discussions a { font-family: var(--font-ui); font-weight: 700; color: var(--accent-texte); text-decoration: none; }
.vd-discussions a:hover { text-decoration: underline; }

/* ── Le portillon (03/11/2026) : sans compte, on regarde mais on n'agit pas ── */
/* Une page réservée (<body data-compte="…">) reste cachée le temps de savoir qui est là ; 4 s au plus si compte.js manque. */
html:not(.mvc-agent):not(.mvc-verrouille) body[data-compte] > :not(.lb-nav):not(#mv-curtain):not(script) { visibility: hidden; animation: mvc-montrer 0s 4s forwards; }
@keyframes mvc-montrer { to { visibility: visible; } }
/* Un visiteur : seuls la barre, le portillon, le pied et Miss Minutes restent. */
html.mvc-verrouille body > :not(.lb-nav):not(.mvc-portillon-page):not(.mv-pied):not(#mv9-tiroir):not(.mm-compagne):not(dialog):not(script):not(.mvc-carton):not(#mv-curtain) { display: none !important; }
.mvc-portillon-page { min-height: calc(100vh - var(--nav-h, 64px) - 120px); display: grid; place-items: center; padding: clamp(28px, 6vw, 72px) 16px; }
.mvc-portillon-carte {
    width: min(560px, 100%); padding: 28px 28px 24px 38px; position: relative;
    background-color: var(--bg-card); border: 2px solid var(--lb-border); border-radius: 12px;
    background-image: linear-gradient(to right, var(--doom-green) 0 10px, transparent 10px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.mvc-portillon-carte .mvc-fenetre-titre { margin-right: 0; }
.mvc-portillon .mvc-fenetre-pied .mv9-bouton, .mvc-portillon-carte .mvc-fenetre-pied .mv9-bouton { text-decoration: none; }

/* 28/11/2026 : le retour à la console, pour le compte 0000 en visite sur le site. */
.mvc-retour-admin { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 10px;
    border-radius: 999px; background: var(--doom-green); color: var(--on-accent); font-family: var(--font-ui); font-weight: 700; font-size: 0.86rem; text-decoration: none; }
.mvc-retour-admin:hover { filter: brightness(1.08); }
.mvc-retour-admin:focus-visible { outline: 2px solid var(--accent-texte); outline-offset: 3px; }
@media print { .mvc-retour-admin { display: none; } }

/* 29/11/2026 : dans le sommaire du téléphone, le dossier prend toute sa ligne et les boutons (Messages, Ma collection,
   Réglages) se rangent en dessous, à largeur égale : sur une seule ligne, ils recouvraient le nom et le pseudo. */
.mvc-tiroir { flex-wrap: wrap; row-gap: 10px; }
.mvc-tiroir .mvc-tiroir-moi { flex: 1 1 100%; }
.mvc-tiroir .mvc-tiroir-lien { flex: 1 1 0; min-width: 0; justify-content: center; align-items: center; text-align: center; white-space: nowrap; align-self: stretch; }
/* Petit écran : le libellé passe sur deux lignes plutôt que d'être coupé (« Ma collection » à 320 px). */
@media (max-width: 360px) { .mvc-tiroir .mvc-tiroir-lien { white-space: normal; line-height: 1.25; padding: 7px 6px !important; letter-spacing: 0.04em; } }
