/* nfstudy-lab replica overrides */
.resume-card,
.creator-rail-item,
.collection-card,
.minimal-course-card,
.collection-card-fav,
.card-heart {
  cursor: pointer;
}
.creator-rail-avatar {
  overflow: hidden;
}
.creator-rail-avatar img,
.collection-cover img,
.minimal-course-cover img,
.resume-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-flag {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nf-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 12px);
  max-width: min(92vw, 520px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(17, 16, 28, 0.92);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}
.nf-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.minimal-course-cover .cover-img,
.resume-cover .cover-img {
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #1f5b50;
  outline-offset: 2px;
}
@media (max-width: 960px) {
  .nf-toast {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 620px) {
  .home-hero,
  .theme-light .home-hero,
  html.nf-light .home-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 22px 18px;
  }
  .home-hero > div,
  .theme-light .home-hero > div,
  html.nf-light .home-hero > div {
    width: 100%;
    min-width: 0;
  }
  .home-hero h1,
  .theme-light .home-hero h1,
  html.nf-light .home-hero h1 {
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -0.02em;
  }
  .home-hero h1 em,
  .theme-light .home-hero h1 em,
  html.nf-light .home-hero h1 em {
    font-size: 28px;
    white-space: normal;
  }
  .home-hero > div > span,
  .theme-light .home-hero > div > span,
  html.nf-light .home-hero > div > span {
    margin-top: 10px;
    font-size: 12px;
  }
  .home-hero > aside.home-learning-stats,
  .theme-light .home-hero > aside.home-learning-stats,
  html.nf-light .home-hero > aside.home-learning-stats {
    width: 100%;
    height: auto;
    min-height: 0;
    align-self: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
  }
  .home-learning-stats article {
    width: 100%;
  }
  .home-learning-stats .hero-total-overview,
  .theme-light .home-learning-stats .hero-total-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .home-learning-stats .hero-today-overview,
  .theme-light .home-learning-stats .hero-today-overview,
  .home-learning-stats .hero-total-overview > section,
  .theme-light .home-learning-stats .hero-total-overview > section {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nf-toast,
  .pf-transcript {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}

