.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.mc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #ece7cf; border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.mc-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 37, 73, .1); }
.mc-card:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.mc-thumb { height: 190px; padding: 8px; border-bottom: 1px solid #f3efdc; pointer-events: none; }
.mc-body { padding: 12px 14px 4px; flex: 1; }
.mc-kind { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #1a8a79; background: #e6faf7; border-radius: 4px; padding: 2px 7px; }
.mc-title { font-size: 14.5px; font-weight: 700; color: #1f2937; line-height: 1.35; margin-top: 7px; }
.mc-meta { font-size: 11.5px; color: #9ca3af; margin-top: 4px; }
.mc-tools { display: flex; gap: 4px; padding: 8px 10px 10px; }
.mc-tools button { width: 32px; height: 32px; border-radius: 8px; color: #6b7280; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: background .15s, color .15s; }
.mc-tools button:hover { background: #f5f1df; color: var(--dark-purple); }
.mc-tools button[data-a="delete"] { margin-left: auto; }
.mc-tools button[data-a="delete"]:hover { background: #fee2e2; color: #dc2626; }
.mc-empty { text-align: center; padding: 56px 20px; border: 2px dashed #e6e0c4; border-radius: 16px; color: #6b7280; }
.mc-empty h3 { font-size: 1.1rem; font-weight: 800; color: var(--dark-purple); margin-bottom: 6px; }
.mc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 16px; border-top: 1px solid #ebe5cb; font-size: 12.5px; color: #9ca3af; }
/* the dashboard's filter-button look */
.mc-upload { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #4b5563; background: transparent; border: 1px solid #e5e7eb; border-radius: 999px; padding: 5px 13px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.mc-upload i { font-size: 11px; }
.mc-upload:hover { border-color: var(--pink); color: var(--pink); }
.mc-msg { font-weight: 600; }
.mc-msg.ok { color: #059669; }
.mc-msg.err { color: #c2410c; }
