/*
 * Fil Penta Com de l'appli : chaque publication en carte (coins arrondis, fond légèrement relevé), actions en icônes,
 * zone de commentaire repliée, séance de Mon carnet en carte à la couleur du sport (js/pentacom.js, carteSeance).
 * Limité à #pm-pc-fil : les autres pages qui utilisent css/pentacom.css ne changent pas. Marche en mode sombre et jour.
 */
#pm-pc-fil .pm-post { margin: 0 12px 12px; padding: 14px 14px 8px; border: 1px solid var(--rule); border-radius: 20px; background: var(--ink2); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#pm-pc-fil .pm-post-auteur a { font-size: 15px; }
#pm-pc-fil .pm-post-meta { font-size: 12px; }
#pm-pc-fil .pm-post-texte { font-size: 15.5px; }

/* En-tête : enregistrer + menu « ⋯ » */
#pm-pc-fil .pm-post-outils { align-items: center; }
#pm-pc-fil .pm-post-outils button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: color-mix(in srgb, var(--white) 55%, transparent); font-size: 16px; }
#pm-pc-fil .pm-post-outils button.actif { color: var(--blue); }
.pm-post-menu-wrap { position: relative; }
.pm-post-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 30; min-width: 170px; padding: 6px; border: 1px solid var(--rule); border-radius: 14px; background: var(--ink2); }
.pm-post-menu[hidden] { display: none; }
#pm-pc-fil .pm-post-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: auto; padding: 10px 12px; border-radius: 10px; color: var(--white); font: 600 14px/1.2 Inter, system-ui, sans-serif; text-align: left; }
#pm-pc-fil .pm-post-menu button:active { background: var(--ink3); }

/* Médias et liens arrondis */
#pm-pc-fil .pm-post-media { border-radius: 14px; }
#pm-pc-fil .pm-post-lien { border-radius: 14px; background: var(--ink3); border: 0; }

/* Actions : icônes sans cadre, compteurs à côté */
#pm-pc-fil .pm-post-compteurs { display: none; }
#pm-pc-fil .pm-post-actions { align-items: center; gap: 4px; margin-top: 10px; padding: 6px 0 2px; border-top: 1px solid var(--rule); }
#pm-pc-fil .pm-post-actions .pm-react-wrap { flex: none; }
#pm-pc-fil .pm-post-actions button, #pm-pc-fil .pm-post-actions .pm-react-wrap > button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: color-mix(in srgb, var(--white) 70%, transparent); font: 700 13.5px/1 Inter, system-ui, sans-serif; }
#pm-pc-fil .pm-post-actions button:active { background: var(--ink3); }
#pm-pc-fil .pm-post-actions .pm-react-wrap > button.actif { color: var(--blue); background: var(--blue-dim); }
#pm-pc-fil .pm-post-actions .pm-react-choix button { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 21px; }
#pm-pc-fil .pm-react-choix { border-radius: 999px; padding: 4px 6px; }
#pm-pc-fil .pm-post-resume { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--white) 55%, transparent); white-space: nowrap; }
#pm-pc-fil .pm-post-saisie[hidden] { display: none; }
#pm-pc-fil .pm-post-saisie input, #pm-pc-fil .pm-post-saisie button { border-radius: 999px; }
#pm-pc-fil .pm-post-commentaires { border-top: 0; }

/* Séance de Mon carnet */
.pm-seance { margin-top: 2px; padding: 14px; border-radius: 16px; background: var(--seance, #0f2a4a); color: #fff; white-space: normal; }
.pm-seance-haut strong { display: block; margin-top: 4px; font: 800 21px/1.15 Inter, system-ui, sans-serif; }
.pm-seance-etiquette { font: 800 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.pm-seance-chiffres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pm-seance-chiffres span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.2); font: 700 13px/1 Inter, system-ui, sans-serif; }
.pm-seance-notes { margin: 10px 0 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; opacity: .95; }
.pm-seance-mots { margin: 8px 0 0; font-size: 13px; }
.pm-post-texte .pm-seance-mots a { color: #fff; opacity: .85; }

/* Squelette arrondi comme les cartes */
#pm-pc-fil .pm-pc-attente { margin: 0 12px 12px; border-radius: 20px; }
