/* NOVTINIS 1.0.79 — Actions avis : aucun dépassement mobile KH / KO.
 * Feuille chargée après le bundle single-listing et le rail 1.0.76.
 * Les deux réactions occupent la première rangée, le signalement la seconde.
 * Les badges fixes d'avis sont gérés par le dictionnaire, pas par ce CSS. */
@media (max-width: 520px) {
  body.single-listing .single-review-item .nt-review-reactions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 10px !important;
    row-gap: 9px !important;
    margin: 12px 12px 5px !important;
    padding: 0 !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-reaction-btn {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: center !important;
    column-gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 7px 8px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-reaction-btn > span {
    display: inline-flex !important;
    flex: none !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    width: 18px !important;
    font-size: 16px !important;
    overflow: visible !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-reaction-btn > strong {
    display: block !important;
    min-width: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-reaction-btn > em {
    flex: none !important;
    min-width: 22px !important;
    width: auto !important;
    height: 22px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-report-btn {
    grid-column: 1 / -1 !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    white-space: normal !important;
    padding: 7px 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-report-btn > strong {
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-report-panel,
  body.single-listing .single-review-item .nt-review-reactions > .nt-review-reaction-msg {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }
}
