/* Unicode local: sin imágenes externas ni cambios a la identidad CHAYTU. */
.emoji-composer { position: relative; min-width: 0; }
.composer-panel .chat-form { min-width: 0; }
.composer-panel .chat-form input { min-width: 0; }
.emoji-toggle { flex: 0 0 44px; min-height: 44px; align-self: center; display: grid; place-items: center; padding: 8px; border: 1px solid #3b6655; border-radius: 9px; background: #123426; color: #b6f4d5; cursor: pointer; }
.emoji-toggle .ui-icon { width: 24px; height: 24px; }
.emoji-toggle:hover:not(:disabled), .emoji-toggle[aria-expanded="true"] { background: #20543f; border-color: #83d8b6; }
.emoji-toggle:disabled { opacity: .4; cursor: default; }
.composer-panel .send-button { flex-shrink: 0; }
.emoji-picker { position: absolute; bottom: 100%; left: 0; width: min(380px, 100%); max-height: min(340px, 50vh); max-height: min(340px, 50dvh); overflow-y: auto; padding: 14px; background: #0d1c22; border: 1px solid #4b9877; border-radius: 14px; box-shadow: 0 -10px 35px #0008; }
.emoji-picker-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.emoji-picker-header strong { font: 600 15px var(--sans); color: #c3f4df; }
.emoji-picker-header button { min-width: 44px; min-height: 44px; border: 1px solid #3d5e54; background: #112a23; border-radius: 8px; color: #dbf4e8; cursor: pointer; font: 12px var(--sans); }
.emoji-categories { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.emoji-category { flex: 1 1 auto; min-height: 44px; padding: 8px; border: 1px solid #304b42; background: #101d24; color: #a7c8ba; border-radius: 8px; cursor: pointer; font: 12px var(--sans); }
.emoji-category[aria-pressed="true"] { background: #1d4c37; color: #d8ffeb; border-color: #79caa5; }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 4px; }
.emoji-option { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 5px; border: 1px solid transparent; border-radius: 8px; background: #16272d; cursor: pointer; font: 25px 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.emoji-option:hover { background: #254535; border-color: #76b695; }
.emoji-picker button:focus-visible, .emoji-toggle:focus-visible { outline: 2px solid #a4f6d4; outline-offset: -3px; }
.emoji-picker-status { margin: 10px 0 0; color: #f3c199; font-size: 12px; line-height: 1.5; }
.emoji-picker-status:empty { display: none; }
@media (max-width: 580px) { .emoji-toggle { flex-basis: 44px; padding: 6px; } .emoji-picker { width: 100%; } }
