:root {
  --mobile-nav-media-polish-release: "20260727-mobile-nav-media-polish-os-2345";
  --gn-mobile-menu-dark: rgba(33, 13, 28, 0.96);
  --gn-mobile-menu-dark-strong: rgba(49, 19, 42, 0.98);
  --gn-mobile-menu-text: #fff4fa;
  --gn-mobile-menu-muted: #e9c8d8;
}

@media (max-width: 980px) {
  html[data-theme="dark"] body.launch-body .launch-nav.open,
  html[data-theme="dark"] body.launch-body.launch-mobile-menu-open .launch-nav,
  body[data-theme="dark"].launch-body .launch-nav.open,
  body[data-theme="dark"].launch-body.launch-mobile-menu-open .launch-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    width: 100%;
    border: 1px solid rgba(232, 183, 90, 0.18);
    border-radius: 12px;
    background:
      linear-gradient(135deg, rgba(35, 13, 29, 0.98), rgba(20, 7, 17, 0.96)),
      rgba(20, 7, 17, 0.96);
    padding: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      0 18px 40px rgba(0, 0, 0, 0.22);
  }

  html[data-theme="dark"] body.launch-body .launch-nav.open > a,
  html[data-theme="dark"] body.launch-body.launch-mobile-menu-open .launch-nav > a,
  body[data-theme="dark"].launch-body .launch-nav.open > a,
  body[data-theme="dark"].launch-body.launch-mobile-menu-open .launch-nav > a {
    min-width: 0;
    min-height: 46px;
    border: 1px solid rgba(255, 129, 186, 0.28) !important;
    background:
      linear-gradient(135deg, var(--gn-mobile-menu-dark-strong), var(--gn-mobile-menu-dark)) !important;
    color: var(--gn-mobile-menu-text) !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 10px 20px rgba(0, 0, 0, 0.16);
  }

  html[data-theme="dark"] body.launch-body .launch-nav.open > a:hover,
  html[data-theme="dark"] body.launch-body .launch-nav.open > a.active,
  html[data-theme="dark"] body.launch-body.launch-mobile-menu-open .launch-nav > a:hover,
  html[data-theme="dark"] body.launch-body.launch-mobile-menu-open .launch-nav > a.active,
  body[data-theme="dark"].launch-body .launch-nav.open > a:hover,
  body[data-theme="dark"].launch-body .launch-nav.open > a.active,
  body[data-theme="dark"].launch-body.launch-mobile-menu-open .launch-nav > a:hover,
  body[data-theme="dark"].launch-body.launch-mobile-menu-open .launch-nav > a.active {
    border-color: rgba(255, 129, 186, 0.6) !important;
    background:
      linear-gradient(135deg, rgba(255, 93, 157, 0.44), rgba(232, 183, 90, 0.24)) !important;
    color: #fff9fc !important;
  }

  .launch-body .launch-nav.open > a:last-child:nth-child(odd),
  .launch-body.launch-mobile-menu-open .launch-nav > a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  html[data-theme="dark"] body.launch-body .launch-mobile-toggle,
  html[data-theme="dark"] body.launch-body .launch-theme-toggle,
  body[data-theme="dark"].launch-body .launch-mobile-toggle,
  body[data-theme="dark"].launch-body .launch-theme-toggle {
    border-color: rgba(255, 129, 186, 0.3) !important;
    background:
      linear-gradient(135deg, rgba(48, 20, 42, 0.96), rgba(28, 11, 24, 0.96)) !important;
    color: var(--gn-mobile-menu-text) !important;
  }
}

.launch-body :is(
  .launch-hero-media,
  .book-hero-photo,
  .launch-service-card picture,
  .launch-split-media picture,
  .launch-inspiration-prompt picture,
  .provider-pitch picture,
  .portfolio-studio-preview-media,
  .provider-catalog-media
) {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 106, 168, 0.12), rgba(232, 183, 90, 0.1)),
    rgba(38, 15, 32, 0.12);
}

.launch-body .launch-hero-media {
  position: relative;
  display: block;
  isolation: isolate;
}

.launch-body .launch-hero-media > picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}

.launch-body :is(
  .launch-hero-media > picture > img,
  .book-hero-photo img,
  .launch-service-card picture > img,
  .launch-split-media picture > img,
  .launch-inspiration-prompt picture > img,
  .provider-pitch picture > img,
  .portfolio-studio-preview-media img,
  .provider-catalog-media img
) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 980px) {
  .launch-body .launch-hero-media {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 10.6 !important;
    max-height: min(56vh, 440px);
    border-radius: 16px;
  }

  .launch-body .launch-hero-media > picture > img {
    object-position: center 42% !important;
  }
}

@media (max-width: 640px) {
  .launch-body .launch-hero-media {
    aspect-ratio: 16 / 10.8 !important;
    max-height: 390px;
  }

  .launch-body .launch-hero-media > picture > img {
    object-position: center 38% !important;
  }

  .launch-body .launch-hero-floating {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px;
  }
}
