/* ==========================================================================
   Hiding a meme, and the list of what is hidden.

   The button joins copy and download on the opened meme, so it inherits
   .ma-btn and only says what is different about it: this one takes something
   away, and should not look like the two next to it.
   ========================================================================== */

.ma-btn.mh-hide:hover {
  background: #ff5c5c;
  border-color: #ff5c5c;
  color: #000;
}

.ma-btn.mh-hide:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ------------------------------------------------------------- the list --- */

.mh-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.mh-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
}

.mh-thumb {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 4px;
  object-fit: cover;
  /* Hidden means hidden: a reminder of which meme it is, not a showing of it. */
  opacity: 0.65;
}

.mh-who {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mh-name {
  overflow: hidden;
  color: var(--text-primary, #fff);
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-by {
  color: var(--text-secondary, #808080);
  font-size: 0.72rem;
}

.mh-by b {
  color: #19e3ff;
  font-weight: 600;
}

.mh-back {
  flex: none;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
}

@media (max-width: 480px) {
  .mh-row {
    flex-wrap: wrap;
  }

  .mh-who {
    flex-basis: 60%;
  }
}
