/* Mon univers — keep the approved hero layout intact and only center the whole composition vertically. */
@media (min-width:1301px){
  html body #moi>.hero[data-moi-premium-shell]>div:first-child,
  html body #moi>.hero[data-moi-premium-shell]>.u4-hero-board{
    transform:translateY(60px)!important;
  }
}

/* Mon univers forms — same Inter / black / white / gray language as the site. */
html body .moi-modalback{
  background:rgba(0,0,0,.48)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.05)!important;
  backdrop-filter:blur(18px) saturate(1.05)!important;
}

html body .moi-modal{
  width:min(680px,calc(100vw - 32px))!important;
  background:#fff!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:32px!important;
  padding:24px!important;
  box-shadow:0 30px 90px rgba(0,0,0,.16)!important;
  font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

html body .moi-modal,
html body .moi-modal *{
  font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

html body .moi-modalhead{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0 0 20px!important;
  padding-bottom:16px!important;
  border-bottom:1px solid #e5e5ea!important;
}

html body .moi-modalhead h2{
  margin:0!important;
  color:#050505!important;
  font-size:28px!important;
  line-height:1.08!important;
  font-weight:700!important;
  letter-spacing:-.045em!important;
}

html body .moi-form{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  margin-top:0!important;
}

html body .moi-form label{
  display:grid!important;
  gap:7px!important;
  color:#3a3a3c!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:650!important;
}

html body .moi-form input,
html body .moi-form select,
html body .moi-form textarea{
  width:100%!important;
  box-sizing:border-box!important;
  min-height:50px!important;
  padding:13px 15px!important;
  background:#fff!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:18px!important;
  outline:none!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:450!important;
}

html body .moi-form textarea{
  min-height:124px!important;
  border-radius:22px!important;
  resize:vertical!important;
}

html body .moi-form input::placeholder,
html body .moi-form textarea::placeholder{
  color:#86868b!important;
  opacity:1!important;
}

html body .moi-form input:focus,
html body .moi-form select:focus,
html body .moi-form textarea:focus{
  border-color:#050505!important;
  box-shadow:0 0 0 3px rgba(0,0,0,.08)!important;
}

html body .moi-modal button{
  border-radius:999px!important;
  font-weight:650!important;
}

html body .moi-modal .primary{
  background:#050505!important;
  color:#fff!important;
  border:1px solid #050505!important;
  padding:12px 18px!important;
  box-shadow:none!important;
}

html body .moi-modal .soft{
  background:#f5f5f7!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  padding:10px 15px!important;
  box-shadow:none!important;
}

html body .moi-modal .primary:hover,
html body .moi-modal .soft:hover{
  opacity:.76!important;
}

html body .moi-full{
  grid-column:1/-1!important;
}

/* Mon univers media editor — remove the legacy beige palette completely. */
html body .moi-modalback .univers-media-editor-v2{
  background:#f5f5f7!important;
  background-image:none!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:24px!important;
  box-shadow:none!important;
  padding:18px!important;
}
html body .moi-modalback .univers-media-head-v2 b{
  color:#050505!important;
  font-weight:700!important;
}
html body .moi-modalback .univers-media-head-v2 small,
html body .moi-modalback .univers-media-editor-v2 [style*="var(--mut"]{
  color:#6e6e73!important;
}
html body .moi-modalback .univers-media-actions-v2 button,
html body .moi-modalback .univers-media-editor-v2 .soft{
  background:#fff!important;
  background-image:none!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:999px!important;
  box-shadow:none!important;
}
html body .moi-modalback .univers-media-actions-v2 button:hover,
html body .moi-modalback .univers-media-editor-v2 .soft:hover{
  background:#e9e9ed!important;
  color:#050505!important;
  border-color:#b8b8bd!important;
  opacity:1!important;
  transform:none!important;
}
html body .moi-modalback .univers-media-row-v2{
  background:#fff!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
html body .moi-modalback .univers-media-row-v2 button{
  color:#050505!important;
  background:transparent!important;
}
html body .moi-modalback .univers-recording-v2{
  background:#e9e9ed!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:18px!important;
}
html body .univers-viewer-v2{
  background:#fff!important;
  color:#050505!important;
  border:1px solid #d1d1d6!important;
  border-radius:28px!important;
  font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html body .univers-viewer-v2 *{
  font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html body .univers-viewer-head-v2 h2{
  color:#050505!important;
  font-weight:700!important;
}
html body .univers-viewer-close-v2,
html body .univers-audio-v2{
  background:#fff!important;
  color:#050505!important;
  border-color:#d1d1d6!important;
}
html body .univers-viewer-close-v2{border-radius:999px!important;}
html body .univers-audio-v2{border-radius:18px!important;}
html body .univers-media-more-v2{
  background:#f5f5f7!important;
  color:#6e6e73!important;
  border-color:#d1d1d6!important;
  border-radius:18px!important;
}

@media(max-width:680px){
  html body .moi-modal{
    width:calc(100vw - 20px)!important;
    padding:18px!important;
    border-radius:26px!important;
  }
  html body .moi-form{
    grid-template-columns:1fr!important;
  }
  html body .moi-full{
    grid-column:1!important;
  }
  html body .moi-modalback .univers-media-editor-v2{
    border-radius:20px!important;
    padding:15px!important;
  }
}

html[data-lce-theme="dark"] body .moi-modal{
  background:#0b0b0c!important;
  color:#fff!important;
  border-color:#2c2c2e!important;
}
html[data-lce-theme="dark"] body .moi-modalhead{
  border-color:#2c2c2e!important;
}
html[data-lce-theme="dark"] body .moi-modalhead h2{
  color:#fff!important;
}
html[data-lce-theme="dark"] body .moi-form label{
  color:#d1d1d6!important;
}
html[data-lce-theme="dark"] body .moi-form input,
html[data-lce-theme="dark"] body .moi-form select,
html[data-lce-theme="dark"] body .moi-form textarea{
  background:#1c1c1e!important;
  color:#fff!important;
  border-color:#3a3a3c!important;
}
html[data-lce-theme="dark"] body .moi-modal .primary{
  background:#fff!important;
  color:#000!important;
  border-color:#fff!important;
}
html[data-lce-theme="dark"] body .moi-modal .soft{
  background:#1c1c1e!important;
  color:#fff!important;
  border-color:#3a3a3c!important;
}
html[data-lce-theme="dark"] body .moi-modalback .univers-media-editor-v2{
  background:#1c1c1e!important;
  color:#fff!important;
  border-color:#3a3a3c!important;
}
html[data-lce-theme="dark"] body .moi-modalback .univers-media-head-v2 b{
  color:#fff!important;
}
html[data-lce-theme="dark"] body .moi-modalback .univers-media-actions-v2 button,
html[data-lce-theme="dark"] body .moi-modalback .univers-media-row-v2{
  background:#0b0b0c!important;
  color:#fff!important;
  border-color:#3a3a3c!important;
}
