/* Emojis pour bio : compléments à /polices/pl-app.css */
.em-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.em-grid button { height: 50px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; font-size: 26px; line-height: 1; padding: 0; transition: transform .08s, border-color .15s; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.em-grid button:hover { border-color: #cfc4ff; }
.em-grid button:active { transform: scale(.9); }
.em-grid button.copied { border-color: var(--ok); background: #f0fdf4; }
.em-sec { content-visibility: auto; contain-intrinsic-size: auto 260px; }
.em-sec h2 { margin: 18px 2px 8px; font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.em-combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.em-combos button { height: 50px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; font-size: 22px; letter-spacing: 2px; white-space: nowrap; overflow: hidden; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.em-combos button.copied { border-color: var(--ok); background: #f0fdf4; }
.em-skins { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; font-size: 12px; font-weight: 800; color: var(--mute); }
.em-skins button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); padding: 0; }
.em-skins button.on { box-shadow: 0 0 0 3px var(--v); }
.em-hide { display: none !important; }
/* composeur en bas d'écran */
.em-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: flex; gap: 6px; align-items: center; transform: translateY(110%); transition: transform .25s; }
.em-tray.on { transform: none; }
.em-tray .txt { flex: 1; min-width: 0; font-size: 22px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.em-tray .txt::-webkit-scrollbar { display: none; }
.em-tray button { flex: none; height: 40px; min-width: 40px; border-radius: 12px; border: 1px solid var(--line); background: #faf8ff; font-size: 15px; }
.em-tray button.cp { background: linear-gradient(135deg, var(--v), var(--v2)); border-color: transparent; color: #fff; font-weight: 900; font-size: 13px; padding: 0 14px; }
@media (min-width: 960px) { .em-tray { left: auto; right: 24px; bottom: 20px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(30, 16, 80, .15); width: 460px; } }
body.pl { padding-bottom: 70px; }
