/* =========================================================
   CMX Clip Grid – Report Bridge
   Positions the flag button on cards and in the modal.
   All rules scoped to bridge-specific classes only.
========================================================= */

/* ===== Card: flag sits left of the fav heart ===== */

.cmx-card__report {
  position: absolute;
  right: 50px;
  bottom: 16px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: rgba(240, 32, 32, .85);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  opacity: .8;
  transition: transform .18s ease, opacity .18s ease;
}

/* No fav heart present — shift to where the heart would sit */
.cmx-card__report--solo {
  right: 14px;
}

.cmx-card__report:hover {
  transform: scale(1.18);
  opacity: 1;
  color: rgb(240, 32, 32);
}

.cmx-card__report svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ===== Modal: flag sits next to the fav heart ===== */

.cmx-modal__meta-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cmx-modal__report {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: rgba(240, 32, 32, .85);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  opacity: .8;
  transition: transform .18s ease, opacity .18s ease;
}

.cmx-modal__report:hover {
  transform: scale(1.18);
  opacity: 1;
  color: rgb(240, 32, 32);
}

.cmx-modal__report svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ===== Breakpoints matching clip-grid.css ===== */

@media (max-width: 980px) {
  .cmx-card__report {
    right: 46px;
  }
}

@media (max-width: 560px) {
  .cmx-card__report {
    right: 46px;
  }
  .cmx-card__report svg {
    width: 16px;
    height: 16px;
  }
}

/* 767px: modal meta stacks — keep heart + flag in one row regardless */
@media (max-width: 767px) {
  .cmx-modal__meta-right {
    flex-direction: row;
  }
}
