/* ════════════════════════════════════════
   채팅 이모티콘 — public/css/office-chat-sticker.css  (2026-10-28 · office-chat-sticker.js)
   · 입력칸 위 판(탭 · 그림 칸 · 미리보기) · 대화창의 이모티콘(말풍선 없이 그림만)
════════════════════════════════════════ */
/* 대화창 — 그림만 */
.oc-sticker { display: block; width: 140px; height: 140px; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* 😊 단추 — 📎 와 같은 모양, 판이 열려 있으면 색 */
.oc-stk-btn { align-self: center; }
.oc-stk-btn.is-on { background: #E8EEF5; color: #2F557F; }

/* 판 — 입력칸 바로 위(채팅 칸의 세로 흐름 안, 메시지 칸이 그만큼 줄어든다) */
.oc-stk-pane { flex-shrink: 0; height: 268px; display: flex; flex-direction: column; border-top: 1px solid #dfe5ec; background: #fafbfc; }
.oc-stk-tabs { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #eef0f3; }
.oc-stk-tab { border: 1px solid #dfe5ec; background: #fff; border-radius: 14px; padding: 4px 12px; font-family: inherit; font-size: 12.5px; color: #4a5568; cursor: pointer; white-space: nowrap; }
.oc-stk-tab.is-on { background: #2F557F; border-color: #2F557F; color: #fff; font-weight: 700; }
.oc-stk-close { margin-left: auto; border: none; background: transparent; color: #8a94a1; font-size: 16px; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.oc-stk-close:hover { background: #eef3f8; color: #2F557F; }
.oc-stk-grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; padding: 8px 10px 10px; align-content: start; }
.oc-stk-cell { border: none; background: transparent; border-radius: 10px; padding: 2px; cursor: pointer; aspect-ratio: 1 / 1; }
.oc-stk-cell:hover, .oc-stk-cell:focus-visible { background: #E8EEF5; outline: none; }
.oc-stk-cell img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.oc-stk-empty { grid-column: 1 / -1; text-align: center; color: #98a2af; font-size: 13px; padding: 40px 10px; line-height: 1.6; }

/* 미리보기 — 크게 · 한 번 더 누르면 보내기 */
.oc-stk-preview { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px; }
.oc-stk-big { width: 180px; height: 180px; object-fit: contain; cursor: pointer; }
.oc-stk-pv-side { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 120px; }
.oc-stk-pv-text { font-size: 13px; color: #667085; text-align: center; }

/* 휴대폰 */
@media (max-width: 700px) {
  .oc-sticker { width: 120px; height: 120px; }
  .oc-stk-pane { height: 42vh; max-height: 320px; }
  .oc-stk-grid { grid-template-columns: repeat(4, 1fr); }
  .oc-stk-preview { gap: 12px; }
  .oc-stk-big { width: 150px; height: 150px; }
}
