/**
 * Menu d'actions et confirmation de suppression des publications.
 *
 * Les variables sont portees par la publication et ses aperçus pour que le menu,
 * les titres et la confirmation gardent l'identite visuelle de leur auteur. L'action
 * destructive reste volontairement rouge, quelle que soit cette identite.
 */

.post-media[data-profil],
.post {
  --fl-post-accent: var(--fl-color-entity-particulier-clair, #00a2b7);
  --fl-post-accent-soft: var(--fl-color-entity-particulier-fonce, #63dbeb);
  --fl-post-accent-strong: color-mix(in srgb, var(--fl-post-accent) 82%, #003b43);
  --fl-post-actions-ink: #102f38;
  --fl-post-actions-muted: #5c7078;
  --fl-post-actions-border: #dce8eb;
  --fl-post-actions-surface: #ffffff;
  --fl-post-actions-danger: #b42318;
}

.post-media[data-profil="user"],
.post-media[data-profil="particulier"],
.post[data-profil="user"],
.post[data-profil="particulier"] {
  --fl-post-accent: var(--fl-color-entity-particulier-clair, #00a2b7);
  --fl-post-accent-soft: var(--fl-color-entity-particulier-fonce, #63dbeb);
  --fl-post-accent-strong: color-mix(in srgb, var(--fl-post-accent) 82%, #003b43);
}

.post-media[data-profil="particulierpro"],
.post[data-profil="particulierpro"] {
  --fl-post-accent: var(--fl-color-entity-particulierpro-clair, #198fd8);
  --fl-post-accent-soft: var(--fl-color-entity-particulierpro-fonce, #7acbff);
  --fl-post-accent-strong: #116ba5;
}

.post-media[data-profil="association"],
.post[data-profil="association"] {
  --fl-post-accent: var(--fl-color-entity-association-fonce, #ffc107);
  --fl-post-accent-soft: var(--fl-color-entity-association-clair, #ffd600);
  --fl-post-accent-strong: #795900;
}

.post-media[data-profil="collectivite"],
.post[data-profil="collectivite"] {
  --fl-post-accent: var(--fl-color-entity-collectivite-fonce, #0fc990);
  --fl-post-accent-soft: var(--fl-color-entity-collectivite-clair, #47e7b2);
  --fl-post-accent-strong: #087455;
}

.post-media[data-profil="enseignement"],
.post[data-profil="enseignement"] {
  --fl-post-accent: var(--fl-color-entity-enseignement-fonce, #aa4eb1);
  --fl-post-accent-soft: var(--fl-color-entity-enseignement-clair, #c07dc5);
  --fl-post-accent-strong: #78317f;
}

.post-media[data-profil="entreprise"],
.post[data-profil="entreprise"] {
  --fl-post-accent: var(--fl-color-entity-entreprise-fonce, #1b118d);
  --fl-post-accent-soft: var(--fl-color-entity-entreprise-clair, #726ad3);
  --fl-post-accent-strong: #1b118d;
}

.post-media[data-profil="etat"],
.post[data-profil="etat"] {
  --fl-post-accent: var(--fl-color-entity-etat-fonce, #df4b4b);
  --fl-post-accent-soft: var(--fl-color-entity-etat-clair, #f27a7a);
  --fl-post-accent-strong: #9c2c2c;
}

.post-media[data-profil="presse"],
.post[data-profil="presse"] {
  --fl-post-accent: var(--fl-color-entity-presse-fonce, #f59b35);
  --fl-post-accent-soft: var(--fl-color-entity-presse-clair, #fdbb73);
  --fl-post-accent-strong: #94520c;
}

.post-media[data-profil="professionliberale"],
.post[data-profil="professionliberale"] {
  --fl-post-accent: var(--fl-color-entity-professionliberale-fonce, #f16bc3);
  --fl-post-accent-soft: var(--fl-color-entity-professionliberale-clair, #faa7df);
  --fl-post-accent-strong: #96296f;
}

/* L'aperçu partagé conserve l'entité de l'auteur d'origine. */
.post-media[data-profil] .post-media-meta > .title {
  color: var(--fl-post-accent);
}

.post-media[data-profil] .post-media-meta > .title:hover,
.post-media[data-profil] .post-media-meta > .title:focus-visible {
  color: var(--fl-post-accent-strong);
}

body.night-mode .post-media[data-profil] .post-media-meta > .title {
  color: var(--fl-post-accent-soft);
}

.post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #60747c;
  font-size: 17px;
  line-height: 1;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger:hover,
.post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger.show,
.post-meta .fl-post-actions-menu.show .fl-post-actions-menu__trigger {
  border-color: color-mix(in srgb, var(--fl-post-accent) 26%, #dce8eb);
  background: color-mix(in srgb, var(--fl-post-accent-soft) 15%, #fff);
  color: var(--fl-post-accent-strong);
  transform: translateY(-1px);
}

.post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger:focus-visible {
  outline: 3px solid var(--fl-post-accent-strong);
  outline-offset: 3px;
}

.fl-post-actions-menu__panel {
  box-sizing: border-box;
  width: min(336px, calc(100vw - 24px));
  max-height: min(72vh, 620px);
  padding: 0 0 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--fl-post-accent) 18%, #dce8eb);
  border-radius: 20px;
  background: var(--fl-post-actions-surface);
  box-shadow: 0 22px 54px rgba(16, 47, 56, .18), 0 4px 14px rgba(16, 47, 56, .08);
  scrollbar-color: color-mix(in srgb, var(--fl-post-accent) 42%, #cbd7db) transparent;
  scrollbar-width: thin;
}

.fl-post-actions-menu__panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--fl-post-accent), var(--fl-post-accent-soft));
  content: "";
}

.fl-post-actions-menu__header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--fl-post-accent) 14%, #e5edef);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--fl-post-accent-soft) 22%, transparent), transparent 9rem),
    rgba(255, 255, 255, .97);
  color: var(--fl-post-actions-ink);
}

.fl-post-actions-menu__header strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.fl-post-actions-menu__eyebrow {
  color: var(--fl-post-accent-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fl-post-actions-menu__panel .dropdown-item {
  box-sizing: border-box;
  width: calc(100% - 16px);
  min-height: 46px;
  margin: 3px 8px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--fl-post-actions-ink);
  white-space: normal;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.fl-post-actions-menu__panel .dropdown-item:hover,
.fl-post-actions-menu__panel .dropdown-item:focus,
.fl-post-actions-menu__panel .dropdown-item:focus-visible {
  border-color: color-mix(in srgb, var(--fl-post-accent) 22%, #dce8eb);
  background: color-mix(in srgb, var(--fl-post-accent-soft) 12%, #fff);
  color: var(--fl-post-accent-strong);
  outline: 0;
  transform: translateX(2px);
}

[dir="rtl"] .fl-post-actions-menu__panel .dropdown-item:hover,
[dir="rtl"] .fl-post-actions-menu__panel .dropdown-item:focus,
[dir="rtl"] .fl-post-actions-menu__panel .dropdown-item:focus-visible {
  transform: translateX(-2px);
}

.fl-post-actions-menu__panel .dropdown-item:focus-visible {
  box-shadow: inset 0 0 0 2px var(--fl-post-accent-strong);
}

.fl-post-actions-menu__panel .action {
  display: flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.fl-post-actions-menu__panel .action .main-icon {
  flex: 0 0 auto;
  margin-inline: 0 11px !important;
  color: var(--fl-post-accent-strong) !important;
  fill: var(--fl-post-accent-strong) !important;
}

.fl-post-actions-menu__panel .action .main-icon * {
  color: inherit !important;
  fill: currentColor !important;
}

.fl-post-actions-menu__panel .action-desc {
  padding-block-start: 3px;
  padding-inline-start: 31px;
  color: var(--fl-post-actions-muted);
  font-size: 11px;
  line-height: 1.35;
}

.fl-post-actions-menu__panel .dropdown-divider {
  margin: 7px 18px;
  border-color: color-mix(in srgb, var(--fl-post-accent) 13%, #dfe8eb);
}

.fl-post-actions-menu__panel .fl-post-actions-menu__item--danger {
  color: var(--fl-post-actions-danger);
}

.fl-post-actions-menu__panel .fl-post-actions-menu__item--danger .main-icon,
.fl-post-actions-menu__panel .fl-post-actions-menu__item--danger .main-icon * {
  color: var(--fl-post-actions-danger) !important;
  fill: var(--fl-post-actions-danger) !important;
}

.fl-post-actions-menu__panel .fl-post-actions-menu__item--danger:hover,
.fl-post-actions-menu__panel .fl-post-actions-menu__item--danger:focus,
.fl-post-actions-menu__panel .fl-post-actions-menu__item--danger:focus-visible {
  border-color: #f4c7c3;
  background: #fff2f0;
  color: #8f1c13;
}

/* Confirmation de suppression dediee. */
#modal[data-fl-post-delete-modal] .modal-dialog,
.fl-post-delete-dialog {
  width: min(520px, calc(100% - 28px));
  max-width: 520px;
  margin-inline: auto;
}

#modal[data-fl-post-delete-modal] .modal-content,
.fl-post-delete-surface {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(10, 35, 43, .28);
}

.fl-post-delete-modal {
  --fl-post-delete-accent: var(--fl-color-entity-particulier-clair, #00a2b7);
  --fl-post-delete-accent-soft: var(--fl-color-entity-particulier-fonce, #63dbeb);
  --fl-post-delete-accent-strong: color-mix(in srgb, var(--fl-post-delete-accent) 82%, #003b43);
  --fl-post-delete-danger: #b42318;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--fl-post-delete-accent) 18%, #dce8eb);
  border-radius: 24px;
  background: #fff;
  color: #102f38;
}

.fl-post-delete-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 17px;
  border-bottom: 1px solid color-mix(in srgb, var(--fl-post-delete-accent) 15%, #e0e9ec);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--fl-post-delete-accent-soft) 30%, transparent), transparent 13rem),
    linear-gradient(135deg, color-mix(in srgb, var(--fl-post-delete-accent-soft) 11%, #fff), #fff 70%);
}

.fl-post-delete-modal__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--fl-post-delete-accent-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fl-post-delete-modal__title {
  margin: 0;
  color: #102f38;
  font-size: clamp(21px, 4vw, 26px);
  font-weight: 800;
  line-height: 1.2;
}

.fl-post-delete-modal__close {
  flex: 0 0 auto;
  margin-block-start: -2px;
  margin-inline-end: -4px;
  padding: 10px;
  border-radius: 12px;
}

.fl-post-delete-modal__close:focus-visible {
  outline: 3px solid var(--fl-post-delete-accent-strong);
  outline-offset: 2px;
  box-shadow: none;
}

.fl-post-delete-modal__body {
  padding: 24px;
}

.fl-post-delete-modal__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border: 1px solid color-mix(in srgb, var(--fl-post-delete-accent) 22%, #dce8eb);
  border-radius: 28px;
  background: color-mix(in srgb, var(--fl-post-delete-accent-soft) 12%, #fff);
  color: var(--fl-post-delete-accent-strong);
}

.fl-post-delete-modal__document {
  font-size: 38px;
  line-height: 1;
}

.fl-post-delete-modal__trash {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--fl-post-delete-danger);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(180, 35, 24, .24);
}

.fl-post-delete-modal__context {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 11px;
  color: #60747c;
  font-size: 12px;
}

.fl-post-delete-modal__context strong {
  max-width: 70%;
  overflow: hidden;
  color: var(--fl-post-delete-accent-strong);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fl-post-delete-modal__description {
  max-width: 390px;
  margin: 0 auto;
  color: #334b54;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.fl-post-delete-modal__warning,
.fl-post-delete-modal__status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #f3d3cf;
  border-radius: 14px;
  background: #fff5f3;
  color: #8f1c13;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.fl-post-delete-modal__status.x-hidden {
  display: none;
}

.fl-post-delete-modal__warning i {
  margin-top: 2px;
}

.fl-post-delete-modal__status[data-state="loading"] {
  border-color: color-mix(in srgb, var(--fl-post-delete-accent) 22%, #dce8eb);
  background: color-mix(in srgb, var(--fl-post-delete-accent-soft) 10%, #fff);
  color: var(--fl-post-delete-accent-strong);
}

.fl-post-delete-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 22px;
  border-top: 1px solid color-mix(in srgb, var(--fl-post-delete-accent) 13%, #e2eaed);
  background: #f8fbfc;
}

.fl-post-delete-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.fl-post-delete-modal__button--secondary {
  border-color: color-mix(in srgb, var(--fl-post-delete-accent) 20%, #d3dfe3);
  background: #fff;
  color: var(--fl-post-delete-accent-strong);
}

.fl-post-delete-modal__button--secondary:hover:not(:disabled) {
  border-color: var(--fl-post-delete-accent);
  background: color-mix(in srgb, var(--fl-post-delete-accent-soft) 10%, #fff);
  transform: translateY(-1px);
}

.fl-post-delete-modal__button--danger {
  border-color: var(--fl-post-delete-danger);
  background: var(--fl-post-delete-danger);
  color: #fff;
  box-shadow: 0 10px 24px rgba(180, 35, 24, .2);
}

.fl-post-delete-modal__button--danger:hover:not(:disabled) {
  border-color: #8f1c13;
  background: #8f1c13;
  color: #fff;
  box-shadow: 0 12px 28px rgba(143, 28, 19, .25);
  transform: translateY(-1px);
}

.fl-post-delete-modal__button:focus-visible {
  outline: 3px solid var(--fl-post-delete-accent-strong);
  outline-offset: 3px;
}

.fl-post-delete-modal__button:disabled,
.fl-post-delete-modal__close:disabled {
  cursor: wait;
  opacity: .62;
}

.fl-post-delete-modal__button-loader {
  display: none;
  width: 15px;
  height: 15px;
  margin-inline-start: 9px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fl-post-delete-spin .75s linear infinite;
}

.fl-post-delete-modal__button--danger[data-loading="true"] .fl-post-delete-modal__button-loader {
  display: inline-block;
}

@keyframes fl-post-delete-spin {
  to { transform: rotate(360deg); }
}

body.night-mode .post {
  --fl-post-actions-ink: #f1f7f8;
  --fl-post-actions-muted: #b7c6ca;
  --fl-post-actions-border: #42545b;
  --fl-post-actions-surface: #1f2b31;
}

body.night-mode .post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger {
  color: #c1d0d4;
}

body.night-mode .post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger:hover,
body.night-mode .post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger.show,
body.night-mode .post-meta .fl-post-actions-menu.show .fl-post-actions-menu__trigger {
  border-color: color-mix(in srgb, var(--fl-post-accent-soft) 38%, #42545b);
  background: color-mix(in srgb, var(--fl-post-accent) 20%, #1f2b31);
  color: color-mix(in srgb, var(--fl-post-accent-soft) 74%, #fff);
}

body.night-mode .fl-post-actions-menu__panel {
  border-color: color-mix(in srgb, var(--fl-post-accent) 30%, #42545b);
  background: #1f2b31;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}

body.night-mode .fl-post-actions-menu__header {
  border-color: color-mix(in srgb, var(--fl-post-accent) 24%, #42545b);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--fl-post-accent) 24%, transparent), transparent 9rem),
    rgba(31, 43, 49, .98);
  color: #f1f7f8;
}

body.night-mode .fl-post-actions-menu__eyebrow,
body.night-mode .fl-post-actions-menu__panel .dropdown-item:hover,
body.night-mode .fl-post-actions-menu__panel .dropdown-item:focus,
body.night-mode .fl-post-actions-menu__panel .dropdown-item:focus-visible {
  color: color-mix(in srgb, var(--fl-post-accent-soft) 76%, #fff);
}

body.night-mode .post-meta .fl-post-actions-menu .fl-post-actions-menu__trigger:focus-visible {
  outline-color: color-mix(in srgb, var(--fl-post-accent-soft) 76%, #fff);
}

body.night-mode .fl-post-actions-menu__panel .dropdown-item:focus-visible {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--fl-post-accent-soft) 76%, #fff);
}

body.night-mode .fl-post-actions-menu__panel .dropdown-item:hover,
body.night-mode .fl-post-actions-menu__panel .dropdown-item:focus,
body.night-mode .fl-post-actions-menu__panel .dropdown-item:focus-visible {
  border-color: color-mix(in srgb, var(--fl-post-accent-soft) 30%, #42545b);
  background: color-mix(in srgb, var(--fl-post-accent) 19%, #263840);
}

body.night-mode .fl-post-actions-menu__panel .action .main-icon,
body.night-mode .fl-post-actions-menu__panel .action .main-icon * {
  color: color-mix(in srgb, var(--fl-post-accent-soft) 76%, #fff) !important;
  fill: currentColor !important;
}

body.night-mode .fl-post-actions-menu__panel .dropdown-divider {
  border-color: #42545b;
}

body.night-mode .fl-post-actions-menu__panel .fl-post-actions-menu__item--danger,
body.night-mode .fl-post-actions-menu__panel .fl-post-actions-menu__item--danger .main-icon,
body.night-mode .fl-post-actions-menu__panel .fl-post-actions-menu__item--danger .main-icon * {
  color: #ff9c94 !important;
  fill: currentColor !important;
}

body.night-mode .fl-post-actions-menu__panel .fl-post-actions-menu__item--danger:hover,
body.night-mode .fl-post-actions-menu__panel .fl-post-actions-menu__item--danger:focus,
body.night-mode .fl-post-actions-menu__panel .fl-post-actions-menu__item--danger:focus-visible {
  border-color: #7f3631;
  background: #442723;
  color: #ffb2ac !important;
}

body.night-mode .fl-post-delete-modal {
  border-color: color-mix(in srgb, var(--fl-post-delete-accent) 34%, #42545b);
  background: #1f2b31;
  color: #eef6f7;
}

body.night-mode .fl-post-delete-modal__header {
  border-color: #42545b;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--fl-post-delete-accent) 26%, transparent), transparent 13rem),
    linear-gradient(135deg, #263840, #1f2b31 70%);
}

body.night-mode .fl-post-delete-modal__title {
  color: #f5f9fa;
}

body.night-mode .fl-post-delete-modal__eyebrow,
body.night-mode .fl-post-delete-modal__context strong,
body.night-mode .fl-post-delete-modal__status[data-state="loading"] {
  color: color-mix(in srgb, var(--fl-post-delete-accent-soft) 76%, #fff);
}

body.night-mode .fl-post-delete-modal__close {
  background-color: transparent;
  filter: invert(1) grayscale(100%) brightness(200%);
}

body.night-mode .fl-post-delete-modal__visual {
  border-color: color-mix(in srgb, var(--fl-post-delete-accent-soft) 34%, #42545b);
  background: color-mix(in srgb, var(--fl-post-delete-accent) 18%, #263840);
  color: color-mix(in srgb, var(--fl-post-delete-accent-soft) 76%, #fff);
}

body.night-mode .fl-post-delete-modal__trash {
  border-color: #1f2b31;
}

body.night-mode .fl-post-delete-modal__context,
body.night-mode .fl-post-delete-modal__description {
  color: #c1d0d4;
}

body.night-mode .fl-post-delete-modal__warning,
body.night-mode .fl-post-delete-modal__status {
  border-color: #74413b;
  background: #402725;
  color: #ffb2ac;
}

body.night-mode .fl-post-delete-modal__status[data-state="loading"] {
  border-color: color-mix(in srgb, var(--fl-post-delete-accent-soft) 32%, #42545b);
  background: color-mix(in srgb, var(--fl-post-delete-accent) 18%, #263840);
}

body.night-mode .fl-post-delete-modal__footer {
  border-color: #42545b;
  background: #263840;
}

body.night-mode .fl-post-delete-modal__button--secondary {
  border-color: #53676f;
  background: #1f2b31;
  color: #eef6f7;
}

body.night-mode .fl-post-delete-modal__button--secondary:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--fl-post-delete-accent-soft) 55%, #53676f);
  background: color-mix(in srgb, var(--fl-post-delete-accent) 17%, #263840);
  color: #fff;
}

body.night-mode .fl-post-delete-modal__close:focus-visible,
body.night-mode .fl-post-delete-modal__button:focus-visible {
  outline-color: color-mix(in srgb, var(--fl-post-delete-accent-soft) 76%, #fff);
}

@media (max-width: 575.98px) {
  .fl-post-actions-menu__panel {
    width: min(328px, calc(100vw - 20px));
    max-height: min(68vh, 540px);
    border-radius: 18px;
  }

  .fl-post-actions-menu__panel .dropdown-item {
    min-height: 48px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #modal[data-fl-post-delete-modal] .modal-dialog,
  .fl-post-delete-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .fl-post-delete-modal,
  #modal[data-fl-post-delete-modal] .modal-content,
  .fl-post-delete-surface {
    border-radius: 20px;
  }

  .fl-post-delete-modal__header {
    padding: 19px 18px 15px;
  }

  .fl-post-delete-modal__body {
    padding: 21px 18px 18px;
  }

  .fl-post-delete-modal__visual {
    width: 78px;
    height: 78px;
    border-radius: 23px;
  }

  .fl-post-delete-modal__footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 18px 18px;
  }

  .fl-post-delete-modal__button {
    width: 100%;
    min-height: 50px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .fl-post-actions-menu__trigger,
  .fl-post-actions-menu__panel .dropdown-item,
  .fl-post-delete-modal__button {
    transition: none !important;
    transform: none !important;
  }

  .fl-post-delete-modal__button-loader {
    animation: none !important;
    border-color: rgba(255, 255, 255, .75);
  }
}

@media (forced-colors: active) {
  .fl-post-actions-menu__trigger,
  .fl-post-actions-menu__panel,
  .fl-post-actions-menu__panel .dropdown-item,
  .fl-post-delete-modal,
  .fl-post-delete-modal__button {
    border: 1px solid CanvasText;
  }

  .fl-post-actions-menu__panel .dropdown-item:focus-visible,
  .fl-post-delete-modal__button:focus-visible,
  .fl-post-delete-modal__close:focus-visible {
    outline: 3px solid Highlight;
  }
}
