.feed-tutorial {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 88%;
  min-height: 88%;
  padding: 28px 1rem 25px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1028 0%, #0e0e0e 45%, #0e0e0e 100%);
  font-family: Poppins, system-ui, sans-serif;
  z-index: 5;
}

.feed-tutorial::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0), rgba(14, 14, 14, 0.75));
}

.feed-tutorial-locked {
  overflow-y: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

.feed-tutorial-locked > [data-tutorial-peek="1"] {
  pointer-events: none !important;
  user-select: none;
}

.feed-tutorial__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 360px;
  padding-top: 4px;
  text-align: center;
}

.feed-tutorial__title {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.feed-tutorial__intro {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #9ca3af;
}

.feed-tutorial__steps {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.feed-tutorial__step {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.875rem;
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.feed-tutorial__step-num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  min-width: 1.65rem;
  min-height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #9333ea, #ef4444);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.feed-tutorial__step strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.1rem;
}

.feed-tutorial__step > div > span {
  display: block;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #9ca3af;
}

.feed-tutorial__cta {
  width: 100%;
  border: none;
  border-radius: 0.875rem;
  padding: 0.85rem 0.75rem;
  margin: 0;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  line-height: 1.25;
  background: linear-gradient(135deg, #9333ea, #a855f7 40%, #ef4444);
  box-shadow: 0 10px 28px -8px rgba(147, 51, 234, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feed-tutorial__cta:active {
  transform: scale(0.98);
}

.feed-tutorial__hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.feed-tutorial--hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
