/* Emoji seçici — sadece bilgisayar (mouse/hover destekli) cihazlarda görünür */
.gm-emoji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (hover: none), (pointer: coarse) {
  .gm-emoji-btn { display: none !important; }
}

.gm-emoji-popover {
  position: fixed;
  z-index: 20000;
  width: 280px;
  max-height: 260px;
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15,23,42,.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  animation: gmEmojiPopIn .15s cubic-bezier(.4,0,.2,1) both;
}

@keyframes gmEmojiPopIn {
  from { opacity: 0; transform: translateY(4px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

html.dark .gm-emoji-popover {
  background: #131828;
  border-color: #1E2D4A;
  box-shadow: 0 12px 36px rgba(0,0,0,.45);
}

.gm-emoji-tabs {
  display: flex;
  gap: 2px;
  padding: 6px 6px 0;
  border-bottom: 1px solid var(--border, #e2e8f0);
  flex-shrink: 0;
}

html.dark .gm-emoji-tabs { border-bottom-color: #1E2D4A; }

.gm-emoji-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  font-size: 1.05rem;
  padding: 6px 0 8px;
  cursor: pointer;
  opacity: .55;
  transition: opacity .15s, background .15s;
}

.gm-emoji-tab:hover { opacity: .85; background: var(--gray-100, #f1f5f9); }
.gm-emoji-tab.active { opacity: 1; background: var(--blue-50, #eff6ff); }
html.dark .gm-emoji-tab:hover { background: #1A2236; }
html.dark .gm-emoji-tab.active { background: #0D1829; }

.gm-emoji-body {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 8px;
}

.gm-emoji-item {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  padding: 6px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .12s;
}

.gm-emoji-item:hover { background: var(--gray-100, #f1f5f9); }
html.dark .gm-emoji-item:hover { background: #1A2236; }
