html{--riix-access-tip-font:16px;--riix-access-tip-leading:24px;--riix-access-tip-pad:8px}
@media(min-width:769px){html{--riix-access-tip-font:17px;--riix-access-tip-leading:24px;--riix-access-tip-pad:8px}}
/* One geometry for login and entitlement notices across every content outlet. */
html body .dx-course-tip-surface:not(.riix-mpg-notice),
html body .dx-main .dx-prose .riix-access-body-locked.dx-course-tip-surface,
html body .dx-search-access-tip,
html body .dx-account-access-tip {
  box-sizing:border-box!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:var(--riix-access-tip-pad) 12px!important;
  font-size:var(--riix-access-tip-font)!important;font-weight:400!important;line-height:var(--riix-access-tip-leading)!important;
}
html body .dx-course-tip-surface:not(.riix-mpg-notice)>.dx-course-tip-copy,
html body .dx-main .dx-prose .riix-access-body-locked.dx-course-tip-surface>.dx-course-tip-copy,
html body .dx-course-tip-surface:not(.riix-mpg-notice)>.dx-course-tip-copy *,
html body .dx-search-access-tip,
html body .dx-search-access-tip *,
html body .dx-account-access-tip p,
html body .dx-account-access-tip p * {
  font-size:var(--riix-access-tip-font)!important;font-weight:400!important;line-height:var(--riix-access-tip-leading)!important;
  color:#1A1A1A!important;-webkit-text-fill-color:#1A1A1A!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important;
}
html body .dx-course-tip-surface:is(.is-member-required,.is-student-required),
html body .dx-home-access-tip-shell.is-paid .dx-course-tip-surface,
html body .dx-riix-access-tip-shell.is-paid .dx-course-tip-surface,
html body .dx-search-access-tip:not(.is-public),
html body .dx-account-access-tip.is-paid {
  background:linear-gradient(rgba(255,64,19,.2),rgba(255,64,19,.2)),#FFF!important;
}
html body .dx-course-tip-surface.is-wechat-tip,
html body .dx-home-access-tip-shell.is-login .dx-course-tip-surface,
html body .dx-riix-access-tip-shell.is-login .dx-course-tip-surface,
html body .dx-search-access-tip.is-public,
html body .dx-account-access-tip.is-login {
  background:#9CF29F!important;
}

/* Shared notice motion: rise gently into place, then fade back out. */
html body :is(.dx-home-access-tip-shell,.dx-riix-access-tip-shell,.dx-photo-access-tip-shell){
  transform:translate(-50%,0)!important;
}
html body .dx-course-locked-tip-shell{transform:none!important}
html body :is(.dx-home-access-tip-shell,.dx-riix-access-tip-shell,.dx-photo-access-tip-shell,.dx-course-locked-tip-shell,.dx-search-access-tip,.dx-account-access-tip),
html body .dx-course-login-notice-shell .dx-course-login-notice{
  opacity:0;translate:0 8px;
  transition:opacity 320ms ease,translate 360ms cubic-bezier(.22,1,.36,1),grid-template-rows 340ms cubic-bezier(.22,1,.36,1)!important;
}
html body :is(.dx-home-access-tip-shell,.dx-riix-access-tip-shell,.dx-photo-access-tip-shell,.dx-course-locked-tip-shell,.dx-search-access-tip,.dx-account-access-tip).is-visible,
html body .dx-course-login-notice-shell.is-visible .dx-course-login-notice{
  opacity:1;translate:0 0;
}
html body :is(.dx-home-access-tip-shell,.dx-riix-access-tip-shell,.dx-photo-access-tip-shell,.dx-course-locked-tip-shell,.dx-search-access-tip,.dx-account-access-tip).is-closing,
html body .dx-course-login-notice-shell.is-closing .dx-course-login-notice{
  opacity:0;translate:0 8px;
}
html body .dx-course-login-notice-shell:not(.riix-content-interaction-login-notice-shell):not(.dx-mentor-video-login-notice) .dx-course-login-notice{
  transform:translate(-50%,0)!important;
}
html body .dx-course-login-notice-shell.is-intro-video-notice:not(.riix-content-interaction-login-notice-shell):not(.dx-mentor-video-login-notice) .dx-course-login-notice{
  transform:translate(-50%,calc(-50% - 13px))!important;
}
html body .dx-main .dx-mentor-page .dx-mentor-video-login-notice .dx-course-login-notice{
  transform:translate(-50%,calc(-100% - 10px))!important;
}
html body .dx-video-show-row-panel .dx-video-show-row-access .dx-course-tip-surface{
  opacity:1;translate:0 0;
  transition:opacity 320ms ease,translate 360ms cubic-bezier(.22,1,.36,1)!important;
}
html body .dx-video-show-row-panel:is(.is-collapsed,.is-relocating,.is-switching) .dx-video-show-row-access .dx-course-tip-surface{
  opacity:0;translate:0 8px;
}
@media(prefers-reduced-motion:reduce){
  html body :is(.dx-home-access-tip-shell,.dx-riix-access-tip-shell,.dx-photo-access-tip-shell,.dx-course-locked-tip-shell,.dx-search-access-tip,.dx-account-access-tip),
  html body .dx-video-show-row-panel .dx-video-show-row-access .dx-course-tip-surface,
  html body .dx-course-login-notice-shell .dx-course-login-notice{transition:none!important;translate:none!important}
}
