/* ===== Emoji Picker Gizmo ===== */

.emoji-full { max-width: 760px; margin: 0 auto; }

/* === Search === */
.emoji-full__search {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    margin: 0.75rem 0 1rem;
}
.emoji-full__search:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* === Recent === */
.emoji-full__recent {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.emoji-full__recent-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.emoji-full__recent-row {
    display: flex;
    gap: 0.15rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

/* === Category chips === */
.emoji-full__chips {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.emoji-chip {
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.emoji-chip:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.emoji-chip--active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}
.emoji-chip--active:hover { color: #fff; }

/* === Status line === */
.emoji-full__status {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
    min-height: 1rem;
}

/* === Grid === */
.emoji-full__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 0.15rem;
}
.emoji-btn {
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1.6;
    padding: 0.15rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.emoji-btn:hover {
    background: var(--bg-secondary);
    transform: scale(1.25);
}
.emoji-btn:active { transform: scale(1.05); }

/* === Copy toast === */
.emoji-full__toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 100;
    pointer-events: none;
}

@media (max-width: 575px) {
    .emoji-full__grid { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); }
    .emoji-btn { font-size: 1.3rem; }
}
