/* Preserve the supplied logo's exact alpha artwork while painting it in the community palette. */
.post-video,
.video-preview {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #241b21;
  border-radius: 10px;
  margin: 16px 0;
}
.video-preview { max-height: 280px; }
.video-preview[hidden], .upload-progress[hidden], .remove-media[hidden] { display: none; }
.upload-progress { padding: 12px; background: var(--ivory); border-radius: 8px; }
.upload-progress progress { width: 100%; accent-color: var(--pink); }
.upload-progress p { font-size: 12px; margin: 8px 0; }
.form-field > label { display: flex; align-items: center; gap: 7px; }
.remove-media { align-self: start; margin-top: 8px; }
@media (max-width: 430px) {
  .composer .icon-btn.media-post-button { display: inline-flex; flex-shrink: 0; }
  .composer-prompt { min-width: 0; }
}

:root {
  --brand-gradient: linear-gradient(115deg, var(--pink) 7%, var(--blush) 48%, var(--gold) 95%);
}

.gradient-logo {
  display: block;
  position: absolute;
  width: 223px;
  height: 223px;
  left: -16px;
  top: -70px;
  background: var(--brand-gradient);
  -webkit-mask: url('/assets/beautifully-flourish-logo.png') center / contain no-repeat;
  mask: url('/assets/beautifully-flourish-logo.png') center / contain no-repeat;
}

.brand-with-wordmark > span:last-child,
.brand-with-wordmark small,
.auth-brand-wordmark strong,
.auth-mobile-brand {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.brand-with-wordmark small,
.auth-mobile-brand small {
  background: linear-gradient(115deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.auth-logo-frame .gradient-logo {
  width: 260px;
  height: 260px;
  left: -19px;
  top: -82px;
}

.mobile-bf-logo .gradient-logo {
  width: 87px;
  height: 87px;
  left: -6px;
  top: -27px;
}

.hero-photo.butterfly-hero {
  background: linear-gradient(145deg, var(--ivory), #fce1ee 58%, var(--baby));
  opacity: 1;
}

.hero-photo.butterfly-hero::after { display: none; }

.hero-photo.butterfly-hero img {
  object-fit: contain;
  object-position: center;
  padding: 18px 24px 42px;
  filter: drop-shadow(0 9px 12px rgb(144 63 102 / 12%));
}

.auth-flower.auth-butterfly {
  border: 0;
  border-radius: 0;
  object-fit: contain;
  right: -20px;
  bottom: 45px;
  transform: rotate(-10deg);
  opacity: 1;
  filter: drop-shadow(0 10px 15px rgb(144 63 102 / 12%));
}

@media (max-width: 1180px) {
  .brand-logo-frame .gradient-logo {
    width: 202px;
    height: 202px;
    left: -15px;
    top: -64px;
  }
}

@media (max-width: 760px) {
  .hero-photo.butterfly-hero img { padding: 12px 4px; }
}

@media (forced-colors: active) {
  .brand-with-wordmark > span:last-child,
  .brand-with-wordmark small,
  .auth-brand-wordmark strong,
  .auth-mobile-brand,
  .auth-mobile-brand small {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
  .gradient-logo { background: CanvasText; }
}

/* Authentication pages use a single centered Sister Circle wordmark. */
.auth-screen {
  min-height: 100svh;
  background: linear-gradient(90deg, #f9e3ec 50%, #fffdfc 50%);
}

.auth-page-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 26px 24px;
  background: transparent;
  border: 0;
}

.auth-sister-brand {
  display: inline-flex;
  justify-content: center;
  text-align: center;
}

.auth-sister-brand strong {
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.8px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.auth-screen .auth-layout,
.auth-screen .auth-story,
.auth-screen .auth-form-panel {
  min-height: calc(100svh - 112px);
}

.auth-screen .auth-story { padding: 40px 52px 28px; }
.auth-screen .auth-story-copy { padding: 0 0 64px; }
.auth-screen .auth-form-panel { padding: 28px 48px 60px; }
.auth-screen .auth-form-inner { padding: 16px 0; }

@media (max-width: 980px) {
  .auth-screen .auth-story { padding: 32px; }
  .auth-screen .auth-form-panel { padding: 28px 32px 60px; }
}

@media (max-width: 760px) {
  .auth-screen { background: #fffdfc; }
  .auth-page-brand { min-height: 94px; padding: 24px 16px; }
  .auth-sister-brand strong { font-size: 38px; letter-spacing: -1.3px; }
  .auth-screen .auth-layout,
  .auth-screen .auth-form-panel { min-height: calc(100svh - 94px); }
  .auth-screen .auth-form-panel { padding: 30px 24px 70px; }
  .auth-screen .auth-form-panel::after { display: none; }
  .auth-screen .auth-form-inner { padding: 12px 0 26px; }
}

@media (forced-colors: active) {
  .auth-sister-brand strong {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
