/* ===========================
   Upload Preview
   _bak/board-layout.css 목록 구조 참고
   =========================== */

.emoticon-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    min-height: 156px;
}

.emoticon-preview-item {
    display: grid;
    grid-template-rows: 96px 38px 34px;
    gap: 8px;
    border: 1px solid var(--md-outline);
    border-radius: var(--md-radius-lg);
    padding: 10px;
    background: var(--md-surface);
    box-shadow: var(--md-shadow-soft);
}

.emoticon-preview-item.is-invalid {
    border-color: #f0b4b4;
    background: #fffafa;
}

.emoticon-preview-item img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    justify-self: center;
}

.emoticon-preview-item span,
.emoticon-result-grid figcaption {
    overflow: hidden;
    color: var(--emoticon-admin-text, #59616f);
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.emoticon-preview-item button {
    min-height: 34px;
    background: var(--md-surface);
    color: var(--emoticon-admin-text, #59616f);
    font-weight: 400;
}

.emoticon-preview-nav {
    justify-content: space-between;
}
