/* Empêche l’illustration du signalement rapide de recouvrir son texte. */
.quick-report {
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
}

.quick-report > div {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.quick-report-copy span {
  display: block;
}

.quick-report-copy span + span {
  text-wrap: balance;
}

.quick-report img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
  max-height: 230px;
  margin: 0 -10px -18px 0;
  object-fit: contain;
  align-self: end;
  justify-self: end;
}

@media (min-width: 721px) and (max-width: 1100px) {
  .quick-report {
    grid-template-columns: minmax(0, 1fr) 130px;
  }

  .quick-report img {
    max-width: 170px;
    max-height: 170px;
    margin: 0 -8px -10px 0;
  }
}

@media (max-width: 720px) {
  .quick-report {
    grid-template-columns: 1fr;
  }

  .quick-report img {
    display: none;
  }
}

/* La navigation mobile reste toujours ancrée en bas, sans recouvrir l'en-tête. */
@media (max-width: 900px) {
  .topbar {
    backdrop-filter: none;
  }

  .main-nav {
    top: auto !important;
    bottom: 0 !important;
    height: auto !important;
  }
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 430px) {
  .topbar {
    height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .account-actions .ghost {
    padding-inline: 8px;
    font-size: 12px;
  }
}
