/* The same My Page invitation on the general and qualification home pages. */
.dm-learning-site .home-habit { display: flex; align-items: center; min-height: 133px; padding: 18px 9% 18px 21%; gap: 20px; border-radius: 22px; background: #f9f5e9 url('/games/common/site/images/home-habit.webp') center / cover no-repeat; }
.dm-learning-site .home-habit .habit-copy { min-width: 0; }
.dm-learning-site .home-habit p.habit-eyebrow { display: inline-block; margin: 0 0 7px; padding: 1px 12px; border: 1px solid #e8e0cb; border-radius: 20px; background: #f4f0e4eb; color: #536772; font-size: 10px; font-weight: 700; }
.dm-learning-site .home-habit h2 { font-size: 24px; }
.dm-learning-site .home-habit p { font-size: 12px; color: #4e6472; }
.dm-learning-site .home-habit .site-button { min-height: 52px; padding-inline: 24px; font-size: 14px; border-color: #9bbfc3; background: #fffffff5; color: #246565; }
.dm-learning-site .home-habit .site-button:hover { background: #edf6f2; }
@media (max-width: 1050px) {
  .dm-learning-site .home-habit { padding-left: 18%; padding-right: 5%; }
  .dm-learning-site .home-habit h2 { font-size: 21px; }
}
@media (max-width: 760px) {
  .dm-learning-site .home-habit { display: flex; flex-direction: column; align-items: stretch; padding: 24px; gap: 17px; background-image: linear-gradient(#fffdf3df, #fffdf3b8), url('/games/common/site/images/home-habit.webp'); background-position: center; }
  .dm-learning-site .home-habit .site-button { width: 100%; margin: 0; }
  .dm-learning-site .home-habit h2 { font-size: 22px; }
}
@media (max-width: 370px) {
  .dm-learning-site .home-habit { padding: 22px 18px; }
  .dm-learning-site .home-habit h2 { font-size: 20px; }
}
