.mobile-app-nudge {
  width: min(calc(100% - 16px), 560px);
  max-width: none;
  max-height: calc(100dvh - 16px);
  margin: auto auto 8px;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 -18px 60px rgba(24, 20, 17, .24);
  animation: mobile-app-nudge-rise .32s cubic-bezier(.2, .85, .32, 1) both;
}

.mobile-app-nudge::backdrop {
  background: rgba(15, 12, 10, .68);
  backdrop-filter: blur(3px);
  animation: mobile-app-nudge-backdrop .24s ease-out both;
}

.mobile-app-nudge__content {
  position: relative;
  padding: 28px 24px max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.mobile-app-nudge__close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}

.mobile-app-nudge__close svg {
  width: 20px;
  height: 20px;
}

.mobile-app-nudge__identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-inline: 52px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.mobile-app-nudge__identity img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.mobile-app-nudge h2 {
  margin: 0;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.mobile-app-nudge p {
  max-width: 440px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.mobile-app-nudge__store-link {
  min-height: 54px;
  margin-top: 24px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #ad4218;
  border-radius: 8px;
  background: #ad4218;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.mobile-app-nudge__store-link svg {
  width: 18px;
  height: 18px;
}

.mobile-app-nudge__continue {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-app-nudge__close:focus-visible,
.mobile-app-nudge__store-link:focus-visible,
.mobile-app-nudge__continue:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@keyframes mobile-app-nudge-rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mobile-app-nudge-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}


.bella-welcome .bella-portrait{position:relative;display:block;flex:none;width:70px;height:72px;isolation:isolate}.bella-portrait-ring{position:absolute;inset:10px 4px 0;border:2px solid #d78548;border-radius:50%;overflow:hidden;background:var(--bg)}.bella-welcome .bella-portrait img{position:absolute;width:70px;height:72px;max-width:none;object-fit:contain}.bella-portrait-ring img{top:-10px;left:-4px}.bella-portrait-pop{inset:0;z-index:2;clip-path:inset(0 0 52% 0)}.bella-welcome .bella-guidance{max-width:250px;color:var(--muted);font-size:15px;font-weight:650;line-height:1.45}.hero>div:first-child{position:relative;isolation:isolate}.hero>div:first-child::before{content:"";position:absolute;inset:-60px -26px -35px;z-index:-1;background:url('/studio/assets/homepage-bodygraph-bg-dark-v1.webp') center right/auto 100% no-repeat;opacity:.26;mask-image:linear-gradient(90deg,transparent,#000 60%,#000)}[data-theme=light] .hero>div:first-child::before{background-image:url('/studio/assets/homepage-bodygraph-bg-v1.webp');opacity:.34;mix-blend-mode:multiply}.mobile-app-nudge:not([open]){display:none}.mobile-app-nudge__continue{border:0;background:transparent;cursor:pointer}.mobile-app-nudge__close{cursor:pointer}.mobile-app-nudge__identity{padding-inline:34px}.mobile-app-nudge h2{color:var(--ink)!important}@media(max-width:800px){.hero>div:first-child::before{inset:-25px -18px -12px;background-position:66% center;opacity:.28}.bella-welcome{gap:16px}.bella-welcome .bella-guidance{font-size:14px;max-width:220px}.bella-welcome .bella-portrait{width:70px;height:72px}}@media(prefers-reduced-motion:reduce){.mobile-app-nudge,.mobile-app-nudge::backdrop{animation:none}}
.hero>div:first-child::before{mask-image:radial-gradient(ellipse at 64% 50%,#000 32%,transparent 76%)}
