.home-photo-guide-backdrop {
  z-index: 190;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.home-photo-guide-backdrop.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.home-photo-guide-backdrop.is-open .home-photo-guide-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.home-photo-guide-sheet {
  display: flex;
  width: min(94vw, 31rem) !important;
  max-height: min(92dvh, 44rem);
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(0.34rem) scale(0.97);
  opacity: 0;
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease;
}

body.photo-guide-open {
  overflow: hidden;
}

.home-photo-guide-header {
  flex-shrink: 0;
  padding: 1rem 1rem 0.65rem !important;
}

.home-photo-guide-title {
  font-size: 1.08rem !important;
  line-height: 1.2 !important;
}

.home-photo-guide-subtitle {
  margin-top: 0.35rem !important;
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
}

.home-photo-guide-close {
  width: 1.85rem !important;
  height: 1.85rem !important;
}

.home-photo-guide-steps {
  flex: 0 1 auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 0.72rem !important;
  padding: 0 0.9rem 0.75rem !important;
}

.home-photo-guide-step {
  display: grid;
  grid-template-columns: minmax(5.75rem, 7.25rem) minmax(0, 1fr);
  align-items: stretch;
  overflow: visible;
}

.home-photo-guide-example {
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #100f13;
  padding: 0;
}

.home-photo-guide-example-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none !important;
  margin: 0;
  object-fit: cover !important;
  object-position: center;
}

.home-photo-guide-copy {
  display: flex;
  align-items: flex-start;
  align-self: center;
  padding: 0.72rem 0.78rem 0.78rem !important;
  gap: 0.58rem !important;
}

.home-photo-guide-copy > div {
  min-width: 0;
}

.home-photo-guide-copy h3 {
  font-size: 0.88rem !important;
  line-height: 1.3 !important;
}

.home-photo-guide-copy p {
  margin-top: 0.32rem !important;
  font-size: 0.76rem !important;
  line-height: 1.48 !important;
}

.home-photo-guide-step-index {
  width: 1.28rem !important;
  height: 1.28rem !important;
  font-size: 0.74rem !important;
  margin-top: 0.08rem;
}

.home-photo-guide-bad-mark {
  width: 1.75rem !important;
  height: 1.75rem !important;
  top: 0.45rem !important;
  right: 0.45rem !important;
}

.home-photo-guide-bad-mark .material-symbols-outlined {
  font-size: 1.1rem !important;
}

.home-photo-guide-action {
  flex-shrink: 0;
  min-height: 2.55rem !important;
  margin: 0 0.9rem 0.85rem !important;
  font-size: 0.92rem !important;
}

@media (max-width: 560px) {
  .home-photo-guide-sheet {
    width: min(96vw, 28rem) !important;
  }

  .home-photo-guide-step {
    grid-template-columns: minmax(5rem, 6.25rem) minmax(0, 1fr);
  }

  .home-photo-guide-copy {
    padding: 0.62rem 0.65rem 0.68rem !important;
  }

  .home-photo-guide-copy h3 {
    font-size: 0.82rem !important;
  }

  .home-photo-guide-copy p {
    font-size: 0.72rem !important;
  }
}

@media (max-height: 760px) {
  .home-photo-guide-header {
    padding: 0.8rem 0.9rem 0.5rem !important;
  }

  .home-photo-guide-steps {
    gap: 0.58rem !important;
    padding-bottom: 0.6rem !important;
  }

  .home-photo-guide-step {
    grid-template-columns: minmax(5.25rem, 6.5rem) minmax(0, 1fr);
  }
}
