/* =====================================================================
   Ferramentas dentro da janela do funil: tela cheia, sem rolagem,
   com clima suculento (vídeo = pêssego/cereja, imagem = melão)
   ===================================================================== */
.lm-funnel {
  --tk-grad: var(--j-juice);
  --tk-ink: #2a0712;
  --tk-accent: var(--j-peach);
  --tk-glow: rgba(255, 45, 98, 0.45);
  --tk-soft: rgba(255, 122, 89, 0.14);
  --tk-line: rgba(255, 156, 122, 0.4);
}

.lm-funnel[data-kind="image"] {
  --tk-grad: var(--j-juice-green);
  --tk-ink: #16240a;
  --tk-accent: var(--j-pickle);
  --tk-glow: rgba(166, 222, 85, 0.4);
  --tk-soft: rgba(166, 222, 85, 0.13);
  --tk-line: rgba(166, 222, 85, 0.42);
}

/* ---------- Cartões de tipo: imagens da própria ferramenta alternando ---------- */
.lm-funnel-card__media {
  overflow: hidden;
}

.lm-funnel-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.9s ease, transform 6s ease-out;
}

.lm-funnel-card__media img:not([src]) {
  visibility: hidden;
}

.lm-funnel-card__media img.is-front {
  opacity: 1;
  transform: scale(1.02);
}

.lm-funnel-card:hover .lm-funnel-card__media img.is-front {
  transform: scale(1.08);
  transition: opacity 0.9s ease, transform 0.6s ease;
}

.lm-funnel-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.lm-funnel-card__media video.is-playing {
  opacity: 1;
}

.lm-funnel-card:hover .lm-funnel-card__media video.is-playing {
  transform: scale(1.1);
  transition: opacity 0.6s ease, transform 4s ease-out;
}

.lm-funnel-card__media::after {
  z-index: 1;
}

.lm-funnel-card__info,
.lm-funnel-card__check {
  z-index: 2;
}

/* ---------- Janela ---------- */
.lm-funnel.is-tool .lm-funnel__sheet {
  width: min(calc(100% - 2rem), 70rem);
  height: min(calc(100% - 2rem), 50rem);
  padding: 0.9rem 1.3rem 1.1rem;
  overflow: hidden;
  isolation: isolate;
}

.lm-funnel.is-tool .lm-funnel__sheet::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  left: 50%;
  width: 70%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tk-glow), transparent 75%);
  opacity: 0.35;
  filter: blur(30px);
  transform: translateX(-50%);
  animation: lm-tool-breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.lm-funnel.is-tool .lm-funnel__top {
  min-height: 2.2rem;
}

.lm-funnel.is-tool .lm-funnel__close {
  top: 0.8rem;
  right: 0.9rem;
  z-index: 3;
}

.lm-funnel.is-tool .lm-funnel__tool {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0.55rem 0 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.lm-funnel.is-tool .lm-funnel__tool::-webkit-scrollbar {
  display: none;
}

/* Frutas flutuando no fundo da ferramenta */
.lm-funnel__tool::before,
.lm-funnel__tool::after {
  position: absolute;
  z-index: 0;
  font-size: 4.4rem;
  line-height: 1;
  filter: drop-shadow(0 0.8rem 1.4rem rgba(0, 0, 0, 0.45));
  opacity: 0.16;
  pointer-events: none;
}

.lm-funnel__tool::before {
  content: "🍑";
  bottom: 4.5rem;
  left: -0.6rem;
  animation: lm-hero-float-a 7s ease-in-out infinite;
}

.lm-funnel__tool::after {
  content: "🍒";
  top: 3.2rem;
  right: -0.4rem;
  font-size: 3.4rem;
  animation: lm-hero-float-b 8s ease-in-out infinite;
}

body[data-lm-tool="pornVideo"] .lm-funnel__tool::before,
body[data-lm-tool="pornImage"] .lm-funnel__tool::before { content: "🍆"; }
body[data-lm-tool="pornVideo"] .lm-funnel__tool::after,
body[data-lm-tool="pornImage"] .lm-funnel__tool::after { content: "💦"; }
body[data-lm-tool="shorts"] .lm-funnel__tool::before { content: "🍒"; }
body[data-lm-tool="shorts"] .lm-funnel__tool::after { content: "🍌"; }
body[data-lm-tool="undress"] .lm-funnel__tool::after { content: "💋"; }
body[data-lm-tool="clothes"] .lm-funnel__tool::before { content: "🍓"; }
body[data-lm-tool="clothes"] .lm-funnel__tool::after { content: "👙"; }
body[data-lm-tool="body"] .lm-funnel__tool::before { content: "🍈"; }
body[data-lm-tool="body"] .lm-funnel__tool::after { content: "🍑"; }

/* ---------- Estrutura: cabeçalho | etapa (preenche) | rodapé ---------- */
.lm-funnel__tool #feed-list:not(.home-undress-feed),
.lm-funnel__tool .home-photo-shell {
  display: block !important;
}

.lm-funnel__tool #feed-list,
.lm-funnel__tool .home-photo-shell {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  min-height: 27rem;
  margin: 0 !important;
  padding: 0 !important;
  columns: auto !important;
}

.lm-funnel__tool .home-photo-shell > :not(.home-undress-feed) {
  display: none !important;
}

.lm-funnel__tool .home-undress-feed {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) max-content;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.85rem 0.9rem;
  width: 100% !important;
  max-width: 64rem !important;
  height: 100%;
  margin: 0 auto !important;
  padding: 0 0.1rem !important;
}

.lm-funnel__tool .home-undress-feed > * {
  min-width: 0;
  margin: 0 !important;
  animation: none;
}

.lm-funnel__tool .home-undress-feed > .home-undress-feed__header {
  grid-area: 1 / 1 / 2 / 3;
}

.lm-funnel__tool .home-undress-feed > .lm-wz-progress {
  grid-area: 1 / 3 / 2 / 4;
}

.lm-funnel__tool .home-undress-feed > .lm-wz-step,
.lm-funnel__tool .home-undress-feed > .home-porn-card > .lm-wz-step {
  grid-area: 2 / 1 / 3 / 4;
}

.lm-funnel__tool #feed-list .home-porn-card {
  display: contents !important;
}

.lm-funnel__tool .home-undress-feed > .home-undress-generate,
.lm-funnel__tool .home-undress-feed > .home-undress-actions {
  grid-area: 3 / 2 / 4 / 4;
}

.lm-funnel__tool .home-undress-feed > .lm-wz-nav {
  grid-area: 3 / 1 / 4 / 4;
}

.lm-funnel__tool .home-undress-feed > .lm-wz-nav.is-last {
  grid-area: 3 / 1 / 4 / 2;
}

/* ---------- Cabeçalho compacto ---------- */
.lm-funnel__tool .home-undress-feed__header {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.1rem;
  padding: 0 !important;
  text-align: left !important;
}

.lm-funnel .lm-funnel__tool .home-undress-feed__header .home-undress-feed__badge {
  grid-row: 1 / 3;
  display: grid !important;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--tk-grad) !important;
  box-shadow: 0 0.5rem 1.2rem var(--tk-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  animation: lm-tool-jelly 4.5s ease-in-out infinite;
}

.lm-funnel .lm-funnel__tool .home-undress-feed__header .home-undress-feed__badge > :not(.material-symbols-outlined) {
  display: none !important;
}

.lm-funnel .lm-funnel__tool .home-undress-feed__header .home-undress-feed__badge .material-symbols-outlined {
  color: var(--tk-ink) !important;
  font-size: 1.45rem !important;
  font-variation-settings: "FILL" 1, "wght" 600 !important;
}

.lm-funnel__tool .home-undress-feed__header h2 {
  margin: 0 !important;
  overflow: hidden;
  font-family: var(--j-display) !important;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(95deg, var(--j-cream) 30%, var(--tk-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lm-funnel__tool .home-undress-feed__subtitle {
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  color: var(--j-muted) !important;
  font-size: 0.8rem !important;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Progresso das etapas ---------- */
.lm-funnel__tool .lm-wz-progress {
  align-self: center;
  width: auto;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid var(--j-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.lm-funnel__tool .lm-wz-progress__count {
  display: none;
}

.lm-funnel__tool .lm-wz-progress__items {
  gap: 0.2rem;
}

.lm-funnel__tool .lm-wz-progress__item {
  padding: 0.22rem 0.8rem 0.22rem 0.22rem;
  font-size: 0.8rem;
}

.lm-funnel__tool .lm-wz-progress__item.is-active {
  background: var(--tk-soft);
}

.lm-funnel__tool .lm-wz-progress__item.is-active .lm-wz-progress__num {
  background: var(--tk-grad);
  color: var(--tk-ink);
  box-shadow: 0 0 0 4px var(--tk-soft), 0 0 1rem var(--tk-glow);
  animation: lm-tool-pop 2.4s ease-in-out infinite;
}

.lm-funnel__tool .lm-wz-progress__line {
  flex-basis: 1.4rem;
}

.lm-funnel__tool .lm-wz-progress__label {
  overflow: visible;
  text-overflow: clip;
}

.lm-funnel__tool .lm-wz-progress__item.is-done + .lm-wz-progress__line {
  background: var(--tk-grad);
}

/* ---------- Cartão da etapa ---------- */
.lm-funnel__tool .home-undress-feed .lm-wz-step.home-movies-section,
.lm-funnel__tool .home-undress-feed .lm-wz-step.home-porn-section {
  position: relative;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem !important;
  height: 100%;
  min-height: 0;
  padding: 1rem 1.1rem 1.1rem !important;
  overflow: hidden;
  border: 1px solid var(--j-line) !important;
  border-top: 0 !important;
  border-radius: 26px !important;
  background:
    radial-gradient(26rem 12rem at 100% 0%, var(--tk-soft), transparent 70%),
    radial-gradient(20rem 12rem at 0% 100%, rgba(255, 45, 98, 0.07), transparent 70%),
    rgba(255, 236, 228, 0.035) !important;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.lm-funnel__tool .home-undress-feed .lm-wz-step.home-movies-section::before,
.lm-funnel__tool .home-undress-feed .lm-wz-step.home-porn-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: auto !important;
  left: 8% !important;
  right: 8% !important;
  display: block !important;
  width: auto !important;
  height: 2px !important;
  border-radius: 2px;
  background: var(--tk-grad) !important;
  opacity: 0.85;
  box-shadow: 0 0 1rem var(--tk-glow);
}

.lm-funnel__tool .home-movies-section__head,
.lm-funnel__tool .home-porn-section__head {
  align-items: center !important;
  gap: 0.7rem !important;
}

.lm-funnel__tool .home-movies-step,
.lm-funnel__tool .home-porn-step {
  width: 2rem !important;
  height: 2rem !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  font-size: 0.9rem !important;
  box-shadow: 0 0.35rem 0.9rem var(--tk-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.lm-funnel__tool .home-movies-section__head h3,
.lm-funnel__tool .home-porn-section__head h3 {
  font-family: var(--j-display) !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  color: var(--j-cream) !important;
}

.lm-funnel__tool .home-movies-section__head p,
.lm-funnel__tool .home-porn-section__head p {
  margin-top: 0.1rem !important;
  color: var(--j-muted) !important;
  font-size: 0.8rem !important;
}

/* ---------- Carrossel (filmes, estilos, modelos) ---------- */
.lm-funnel__tool .lm-wz-step > .home-hscroll {
  height: 100%;
  min-height: 0;
  align-items: stretch;
}

.lm-funnel__tool .lm-wz-step .home-movies-grid {
  align-items: stretch;
  gap: 0.8rem !important;
  height: 100%;
  max-height: 25rem;
  align-self: center;
  margin: 0 !important;
  padding: 0.5rem 0.4rem !important;
  border: 0 !important;
  background: none !important;
  scroll-padding-inline: 0.4rem;
}

.lm-funnel__tool .lm-wz-step .home-movies-grid .home-movies-card {
  width: auto !important;
  height: 100% !important;
  aspect-ratio: 9 / 14;
  border: 2px solid rgba(255, 236, 228, 0.1) !important;
  border-radius: 22px !important;
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.4);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

.lm-funnel__tool .home-movies-card .home-movies-card__media {
  transition: transform 0.5s ease;
}

.lm-funnel__tool .home-movies-card:hover {
  transform: translateY(-4px) rotate(-1deg) !important;
  border-color: var(--tk-line) !important;
}

.lm-funnel__tool .home-movies-card:hover .home-movies-card__media {
  transform: scale(1.06);
}

.lm-funnel__tool .home-movies-card.is-selected {
  border-color: transparent !important;
  box-shadow: 0 0 0 2px var(--tk-accent), 0 0 1.6rem var(--tk-glow), 0 0.9rem 1.8rem rgba(0, 0, 0, 0.45) !important;
  animation: lm-tool-glow 2.6s ease-in-out infinite;
}

.lm-funnel__tool .home-movies-card.is-selected::before {
  content: "✓" !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  display: grid;
  place-items: center;
  width: 1.7rem !important;
  height: 1.7rem !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink);
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 0.3rem 0.8rem var(--tk-glow), 0 0 0 2px rgba(20, 6, 14, 0.7) !important;
  animation: lm-tool-pop 2.4s ease-in-out infinite;
}

.lm-funnel__tool .home-movies-card__name {
  padding: 2.2rem 0.5rem 0.65rem !important;
  background: linear-gradient(180deg, transparent, rgba(20, 5, 12, 0.92)) !important;
  font-family: var(--j-display);
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.lm-funnel__tool .home-movies-card.is-selected .home-movies-card__name {
  color: var(--tk-accent);
}

.lm-funnel__tool .home-hscroll__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.5rem !important;
  height: 2.5rem;
  border: 1px solid var(--j-line-2) !important;
  border-radius: 50%;
  background: rgba(30, 9, 22, 0.85) !important;
  color: var(--j-cream) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.45);
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lm-funnel__tool .home-hscroll__arrow--prev { left: -0.2rem; }
.lm-funnel__tool .home-hscroll__arrow--next { right: -0.2rem; }

.lm-funnel__tool .home-hscroll__arrow:hover {
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  transform: translateY(-50%) scale(1.08);
}

.lm-funnel__tool .home-hscroll__arrow .material-symbols-outlined {
  font-size: 1.4rem;
  filter: none;
}

/* ---------- Modelo + rosto ---------- */
.lm-funnel__tool .lm-wz-step .home-movies-compose {
  display: grid !important;
  grid-template-columns: auto auto auto !important;
  grid-template-rows: 100% !important;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2.4rem) !important;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.lm-funnel__tool .lm-wz-step .home-movies-preview,
.lm-funnel__tool .lm-wz-step .home-movies-compose .home-movies-face {
  width: auto !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 26rem !important;
  aspect-ratio: 3 / 4 !important;
  justify-self: center;
  align-self: center;
}

.lm-funnel__tool .lm-wz-step .home-movies-preview {
  border: 2px solid rgba(255, 236, 228, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.45);
  transform: rotate(-2.5deg);
  animation: lm-tool-sway 6s ease-in-out infinite;
}

.lm-funnel__tool .lm-wz-step .home-movies-preview__caption {
  font-family: var(--j-display);
  font-size: 0.85rem !important;
  font-weight: 400 !important;
}

.lm-funnel__tool .lm-wz-step .home-movies-face .home-undress-panel__frame {
  border: 2px dashed var(--tk-line) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 38%, var(--tk-soft), transparent 65%),
    rgba(0, 0, 0, 0.25) !important;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.45), 0 0 0 0 var(--tk-glow);
  animation: lm-tool-ring 2.8s ease-out infinite;
}

.lm-funnel__tool .lm-wz-step .home-movies-face.has-media .home-undress-panel__frame {
  border-style: solid !important;
  border-color: var(--tk-accent) !important;
  animation: none;
}

.lm-funnel__tool .lm-wz-step .home-movies-face {
  transform: rotate(2deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lm-funnel__tool .lm-wz-step .home-movies-face:hover {
  transform: rotate(0deg) scale(1.03);
}

.lm-funnel__tool .home-undress-panel__placeholder-icon {
  width: 3.6rem !important;
  height: 3.6rem !important;
  border: 0 !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  box-shadow: 0 0.6rem 1.4rem var(--tk-glow);
  animation: lm-tool-pop 2.4s ease-in-out infinite;
}

.lm-funnel__tool .home-undress-panel__placeholder {
  color: var(--j-cream) !important;
  font-family: var(--j-display);
  font-size: 0.95rem !important;
  font-weight: 400 !important;
}

.lm-funnel__tool .lm-wz-step .home-movies-compose__arrow {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center !important;
  justify-self: center;
  gap: 0.15rem;
  width: auto !important;
  height: auto !important;
  max-width: 5.5rem;
  padding: 0.6rem 0.75rem;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  font-family: var(--j-display);
  font-size: 0.62rem;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 0.6rem 1.4rem var(--tk-glow);
  animation: lm-tool-nudge 1.6s ease-in-out infinite;
}

.lm-funnel__tool .lm-wz-step .home-movies-compose__arrow .material-symbols-outlined {
  color: inherit !important;
  font-size: 1.3rem !important;
  transform: rotate(-90deg) !important;
}

/* ---------- Tags do pornô ---------- */
.lm-funnel__tool .lm-wz-step .home-porn-tags {
  display: block !important;
  height: 100%;
  min-height: 0;
  padding-right: 0.3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  columns: 2 17rem;
  column-gap: 1.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--tk-line) transparent;
}

.lm-funnel__tool .lm-wz-step .home-porn-tags__group {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  break-inside: avoid;
}

.lm-funnel__tool .lm-wz-step .home-porn-tags__group[hidden] {
  display: none !important;
}

.lm-funnel__tool .home-porn-tags__group-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--tk-accent) !important;
  font-family: var(--j-display);
  font-size: 0.74rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
}

.lm-funnel__tool .home-porn-tags__group-label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tk-grad);
  box-shadow: 0 0 0.6rem var(--tk-glow);
}

.lm-funnel__tool .home-porn-tags__chips {
  gap: 0.38rem !important;
}

.lm-funnel__tool .home-porn-tag {
  padding: 0.36rem 0.75rem !important;
  border: 1px solid rgba(255, 236, 228, 0.12) !important;
  background: rgba(255, 236, 228, 0.05) !important;
  color: var(--j-cream) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.lm-funnel__tool .home-porn-tag:hover {
  border-color: var(--tk-line) !important;
  transform: translateY(-1px) scale(1.04);
}

.lm-funnel__tool .home-porn-tag.is-active {
  border-color: transparent !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  box-shadow: 0 0.35rem 0.9rem var(--tk-glow);
  animation: lm-tool-tag 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Tipo de corpo ---------- */
.lm-funnel__tool .lm-wz-step .home-body-options {
  display: grid !important;
  grid-auto-rows: minmax(0, 1fr);
  gap: 0.7rem !important;
  height: 100%;
  min-height: 0;
}

.lm-funnel__tool .lm-wz-step .home-body-dim {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.45rem;
  min-height: 0;
}

.lm-funnel__tool .home-body-dim__label {
  justify-self: start;
  margin: 0 !important;
  padding: 0.25rem 0.7rem !important;
  border: 1px solid var(--tk-line) !important;
  border-radius: 999px !important;
  background: var(--tk-soft) !important;
  color: var(--tk-accent) !important;
  font-family: var(--j-display);
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em;
}

.lm-funnel__tool .lm-wz-step .home-body-dim__grid {
  grid-template-rows: 100%;
  gap: 0.7rem !important;
  height: 100%;
  min-height: 0;
}

.lm-funnel__tool .lm-wz-step .home-body-option-card {
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}

/* ---------- Botão Gerar ---------- */
.lm-funnel__tool .home-undress-actions {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lm-funnel__tool .home-undress-generate {
  position: relative;
  width: 100%;
  min-height: 3.4rem;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  font-family: var(--j-display) !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 0.8rem 1.8rem var(--tk-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  animation: lm-tool-cta 2.6s ease-in-out infinite;
}

.lm-funnel__tool .home-undress-generate .material-symbols-outlined {
  color: inherit !important;
}

.lm-funnel__tool .home-undress-generate::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: lm-fx-sheen 3s ease-in-out infinite;
  pointer-events: none;
}

.lm-funnel__tool .home-undress-generate::before {
  content: "💦";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  font-size: 1.1rem;
  transform: translateY(-50%);
  animation: lm-hero-drop 2.4s ease-in infinite;
}

.lm-funnel__tool .home-undress-generate:disabled {
  animation: none;
  filter: saturate(0.6);
}

/* ---------- Navegação ---------- */
.lm-funnel__tool .lm-wz-nav {
  width: 100%;
  margin: 0 !important;
}

.lm-funnel__tool .lm-wz-nav__back,
.lm-funnel__tool .lm-wz-nav__next {
  min-height: 3.4rem;
}

.lm-funnel__tool .lm-wz-nav.is-last .lm-wz-nav__back {
  flex: 0 0 auto;
  padding: 0 1.3rem;
}

.lm-funnel__tool .lm-wz-nav__next {
  background: var(--tk-grad);
  color: var(--tk-ink);
  box-shadow: 0 0.8rem 1.8rem var(--tk-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---------- Tirar roupa (antes/depois + envio) ---------- */
.lm-funnel__tool .home-undress-feed:has(> .undress-compare) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .home-undress-feed__header {
  grid-area: 1 / 1 / 2 / 3;
}

.lm-funnel__tool .home-undress-feed > .undress-compare {
  grid-area: 2 / 1 / 5 / 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.5rem;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
}

.lm-funnel__tool .undress-compare__caption {
  color: var(--j-muted) !important;
}

.lm-funnel__tool .undress-compare__frame {
  container-type: size;
  justify-self: center;
  width: auto !important;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  border: 2px solid var(--tk-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.5), 0 0 2rem var(--tk-soft) !important;
}

.lm-funnel__tool .undress-compare__img--before {
  width: 100cqw !important;
}

.lm-funnel__tool .undress-compare__handle {
  width: 2.2rem !important;
  height: 2.2rem !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: var(--tk-grad) !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 1.4rem var(--tk-glow) !important;
  animation: lm-tool-pop 2.2s ease-in-out infinite;
}

.lm-funnel__tool .undress-compare__grip {
  height: 0.8rem !important;
  border-color: var(--tk-ink) !important;
}

.lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .home-shorts-dropzone {
  grid-area: 2 / 2 / 3 / 3;
  height: 100%;
}

.lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .home-undress-actions {
  grid-area: 3 / 2 / 4 / 3;
}

.lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .lm-wz-nav {
  grid-area: 4 / 2 / 5 / 3;
}

.lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .lm-wz-nav .lm-wz-nav__back {
  flex: 1;
}

/* ---------- Área de envio (tirar roupa + shorts) ---------- */
.lm-funnel__tool .home-shorts-dropzone {
  min-height: 0 !important;
  border: 2px dashed var(--tk-line) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 50% 35%, var(--tk-soft), transparent 65%),
    rgba(255, 236, 228, 0.03) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, background 0.2s ease !important;
}

.lm-funnel__tool .home-shorts-dropzone:hover,
.lm-funnel__tool .home-shorts-dropzone.is-dragover {
  border-color: var(--tk-accent) !important;
  transform: translateY(-2px) scale(1.01) !important;
}

.lm-funnel__tool .home-shorts-dropzone.has-media {
  border-style: solid !important;
  border-color: var(--tk-accent) !important;
}

.lm-funnel__tool .home-shorts-dropzone__placeholder {
  gap: 0.8rem !important;
}

.lm-funnel__tool .home-shorts-dropzone__icon {
  width: 4.2rem !important;
  height: 4.2rem !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
  box-shadow: 0 0.8rem 1.8rem var(--tk-glow) !important;
  animation: lm-tool-jelly 3.6s ease-in-out infinite;
}

.lm-funnel__tool .home-shorts-dropzone__icon .material-symbols-outlined {
  font-size: 2rem !important;
}

.lm-funnel__tool .home-shorts-dropzone__text {
  max-width: 17rem !important;
  color: var(--j-cream) !important;
  font-family: var(--j-display);
  font-size: 1.05rem !important;
  font-weight: 400 !important;
}

.lm-funnel__tool .home-shorts-dropzone__text strong {
  color: var(--tk-accent) !important;
  font-weight: 400 !important;
}

.lm-funnel__tool .home-shorts-dropzone__hint {
  color: var(--j-muted) !important;
}

/* ---------- Shorts ---------- */
.lm-funnel__tool .home-shorts-feed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.lm-funnel__tool .home-shorts-feed > .home-undress-feed__header {
  grid-area: 1 / 1 / 2 / 2;
}

.lm-funnel__tool .home-shorts-feed > .lm-wz-progress {
  grid-area: 1 / 2 / 2 / 3;
  justify-self: end;
}

.lm-funnel__tool .home-shorts-feed > .home-shorts-hero {
  grid-area: 2 / 1 / 3 / 2;
}

.lm-funnel__tool .home-shorts-feed > .home-shorts-dropzone {
  grid-area: 2 / 2 / 3 / 3;
  height: 100%;
}

.lm-funnel__tool .home-shorts-feed > .home-shorts-controls {
  grid-area: 2 / 1 / 3 / 3;
}

.lm-funnel__tool .home-shorts-feed > .lm-wz-nav,
.lm-funnel__tool .home-shorts-feed > .lm-wz-nav.is-last {
  grid-area: 3 / 1 / 4 / 3;
}

.lm-funnel__tool .home-shorts-hero {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  height: 100%;
  min-height: 0;
  padding: 0 !important;
}

.lm-funnel__tool .home-shorts-stage {
  height: 100%;
  min-height: 0;
}

.lm-funnel__tool .home-shorts-stack {
  width: auto !important;
  height: min(100%, 27rem) !important;
  aspect-ratio: 31 / 41;
}

.lm-funnel__tool .home-shorts-card[data-offset="0"] {
  border-color: var(--tk-accent) !important;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5), 0 0 1.8rem var(--tk-glow) !important;
}

.lm-funnel__tool .home-shorts-nav {
  border: 1px solid var(--j-line-2) !important;
  border-radius: 50% !important;
  background: rgba(30, 9, 22, 0.85) !important;
}

.lm-funnel__tool .home-shorts-nav:hover {
  background: var(--tk-grad) !important;
  color: var(--tk-ink) !important;
}

.lm-funnel__tool .home-shorts-dot.is-active {
  background: var(--tk-grad) !important;
}

.lm-funnel__tool .home-shorts-controls {
  align-self: center;
  justify-self: center;
  width: min(100%, 30rem);
  gap: 1rem !important;
  padding: 1.5rem !important;
  border: 1px solid var(--j-line) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(20rem 10rem at 100% 0%, var(--tk-soft), transparent 70%),
    rgba(255, 236, 228, 0.04) !important;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.35) !important;
}

.lm-funnel__tool .home-shorts-controls::before {
  content: "🍒 🍑 🍌";
  justify-self: center;
  margin: -0.4rem 0 0.2rem;
  font-size: 2.2rem;
  letter-spacing: 0.3rem;
  filter: drop-shadow(0 0.5rem 1rem var(--tk-glow));
  animation: lm-bob 3.2s ease-in-out infinite;
}

.lm-funnel__tool .home-shorts-controls .home-grtkniv-field > span {
  color: var(--tk-accent);
  font-family: var(--j-display);
  font-size: 0.95rem;
}

.lm-funnel__tool .home-shorts-controls select {
  border: 1px solid var(--j-line-2) !important;
  border-radius: 18px !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: var(--j-cream) !important;
  font-family: var(--j-display);
  font-size: 1.1rem !important;
}

/* ---------- Celular ---------- */
@media (max-width: 720px) {
  .lm-funnel.is-tool .lm-funnel__sheet {
    width: 100%;
    height: 100%;
    padding: 0.7rem 0.8rem 0.8rem;
    border-radius: 0;
  }

  .lm-funnel.is-tool .lm-funnel__tool {
    margin-top: 0.4rem;
  }

  .lm-funnel__tool::before,
  .lm-funnel__tool::after {
    font-size: 2.8rem;
    opacity: 0.12;
  }

  .lm-funnel__tool .home-undress-feed {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.6rem;
  }

  .lm-funnel .lm-funnel__tool .home-undress-feed__header .home-undress-feed__badge {
    grid-row: 1;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 12px !important;
  }

  .lm-funnel .lm-funnel__tool .home-undress-feed__header .home-undress-feed__badge .material-symbols-outlined {
    font-size: 1.2rem !important;
  }

  .lm-funnel__tool .home-undress-feed__header h2 {
    font-size: 1.05rem !important;
  }

  .lm-funnel__tool .home-undress-feed__subtitle {
    display: none !important;
  }

  .lm-funnel__tool .home-undress-feed__header {
    grid-template-rows: auto;
  }

  .lm-funnel__tool .lm-wz-progress__label {
    display: none;
  }

  .lm-funnel__tool .lm-wz-progress__item,
  .lm-funnel__tool .lm-wz-progress__item:not(.is-active) {
    padding: 0.15rem;
  }

  .lm-funnel__tool .lm-wz-progress__line {
    flex-basis: 0.7rem;
  }

  .lm-funnel__tool .home-undress-feed .lm-wz-step.home-movies-section,
  .lm-funnel__tool .home-undress-feed .lm-wz-step.home-porn-section {
    padding: 0.85rem 0.75rem 0.8rem !important;
    border-radius: 22px !important;
  }

  .lm-funnel__tool .lm-wz-step .home-movies-grid {
    align-items: center;
    max-height: none;
  }

  .lm-funnel__tool .lm-wz-step .home-movies-grid .home-movies-card {
    max-height: 26rem;
  }

  .lm-funnel__tool .home-hscroll__arrow {
    display: none !important;
  }

  .lm-funnel__tool .lm-wz-step .home-movies-compose {
    grid-template-columns: 100% !important;
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: 0.45rem !important;
  }

  .lm-funnel__tool .lm-wz-step .home-movies-preview {
    transform: rotate(-1.5deg);
    animation: none;
  }

  .lm-funnel__tool .lm-wz-step .home-movies-compose .home-movies-face {
    transform: rotate(1.5deg);
  }

  .lm-funnel__tool .lm-wz-step .home-movies-compose__arrow {
    flex-direction: row;
    max-width: none;
    padding: 0.35rem 0.8rem;
    font-size: 0.66rem;
  }

  .lm-funnel__tool .lm-wz-step .home-movies-compose__arrow .material-symbols-outlined {
    font-size: 1.05rem !important;
    transform: none !important;
  }

  .lm-funnel__tool .lm-wz-step .home-porn-tags {
    columns: 1;
  }

  .lm-funnel__tool .home-porn-tag {
    padding: 0.32rem 0.62rem !important;
    font-size: 0.76rem !important;
  }

  .lm-funnel__tool .lm-wz-step .home-body-dim__grid {
    gap: 0.45rem !important;
  }

  .lm-funnel__tool .home-undress-generate {
    min-height: 3.1rem;
    font-size: 0.95rem !important;
  }

  .lm-funnel__tool .lm-wz-nav__back,
  .lm-funnel__tool .lm-wz-nav__next {
    min-height: 3.1rem;
  }

  .lm-funnel__tool .lm-wz-nav.is-last .lm-wz-nav__back {
    width: 3.1rem;
    padding: 0;
  }

  .lm-funnel__tool .lm-wz-nav.is-last .lm-wz-nav__back span:last-child {
    display: none;
  }

  /* Tirar roupa em coluna */
  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .lm-funnel__tool .home-undress-feed > .undress-compare {
    grid-area: 2 / 1 / 3 / 3;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .home-shorts-dropzone {
    grid-area: 3 / 1 / 4 / 3;
    height: auto;
    flex-direction: row;
    padding: 0.7rem 0.9rem !important;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .home-shorts-dropzone .home-shorts-dropzone__placeholder {
    flex-direction: row;
    gap: 0.7rem !important;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) .home-shorts-dropzone__icon {
    width: 2.6rem !important;
    height: 2.6rem !important;
    border-radius: 14px !important;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) .home-shorts-dropzone__icon .material-symbols-outlined {
    font-size: 1.35rem !important;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) .home-shorts-dropzone__text {
    font-size: 0.9rem !important;
    text-align: left;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .lm-wz-nav {
    grid-area: 4 / 1 / 5 / 2;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .lm-wz-nav .lm-wz-nav__back {
    flex: 0 0 auto;
  }

  .lm-funnel__tool .home-undress-feed:has(> .undress-compare) > .home-undress-actions {
    grid-area: 4 / 2 / 5 / 3;
  }

  /* Shorts em coluna */
  .lm-funnel__tool .home-shorts-feed {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .lm-funnel__tool .home-shorts-feed > .home-shorts-hero {
    grid-area: 2 / 1 / 3 / 3;
  }

  .lm-funnel__tool .home-shorts-feed > .home-shorts-dropzone {
    grid-area: 3 / 1 / 4 / 3;
    height: auto;
    min-height: 5.5rem !important;
    padding: 0.8rem !important;
  }

  .lm-funnel__tool .home-shorts-feed > .home-shorts-dropzone .home-shorts-dropzone__placeholder {
    flex-direction: row;
  }

  .lm-funnel__tool .home-shorts-feed .home-shorts-dropzone__icon {
    width: 2.6rem !important;
    height: 2.6rem !important;
    border-radius: 14px !important;
  }

  .lm-funnel__tool .home-shorts-feed .home-shorts-dropzone__icon .material-symbols-outlined {
    font-size: 1.35rem !important;
  }

  .lm-funnel__tool .home-shorts-feed .home-shorts-dropzone__text {
    font-size: 0.9rem !important;
    text-align: left;
  }

  .lm-funnel__tool .home-shorts-feed > .home-shorts-controls {
    grid-area: 2 / 1 / 4 / 3;
  }

  .lm-funnel__tool .home-shorts-feed > .lm-wz-nav,
  .lm-funnel__tool .home-shorts-feed > .lm-wz-nav.is-last {
    grid-area: 4 / 1 / 5 / 3;
  }
}

/* =====================================================================
   Escolher modelo (faixa etária / etnia / cabelo)
   ===================================================================== */
.model-picker-modal .model-picker-modal__backdrop {
  background: rgba(12, 4, 9, 0.8);
}

.model-picker-modal .model-picker-modal__sheet {
  isolation: isolate;
  border: 1px solid var(--j-line-2) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(34rem 16rem at 75% -8%, rgba(255, 156, 122, 0.22), transparent 70%),
    radial-gradient(22rem 14rem at 0% 100%, rgba(255, 45, 98, 0.16), transparent 70%),
    linear-gradient(180deg, #2a0c20, #16070f) !important;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.model-picker-modal .model-picker-modal__sheet::before {
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--j-juice);
  box-shadow: 0 0 1.2rem rgba(255, 45, 98, 0.6);
}

/* Prévia */
.model-picker-modal .model-picker-modal__preview {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--j-line);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 122, 89, 0.2), transparent 60%),
    rgba(0, 0, 0, 0.18);
}

.model-picker-modal .model-picker-modal__preview::before,
.model-picker-modal .model-picker-modal__preview::after {
  position: absolute;
  z-index: 3;
  line-height: 1;
  filter: drop-shadow(0 0.6rem 1.2rem rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.model-picker-modal .model-picker-modal__preview::before {
  content: "🍑";
  left: 0.6rem;
  bottom: 0.8rem;
  font-size: 2.8rem;
  animation: lm-hero-float-a 6s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__preview::after {
  content: "🍒";
  top: 0.9rem;
  right: 0.7rem;
  font-size: 2.2rem;
  animation: lm-hero-float-b 7s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__preview-frame {
  border: 2px solid rgba(255, 156, 122, 0.45);
  border-radius: 26px;
  background: #1a0812;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.55), 0 0 2.4rem rgba(255, 45, 98, 0.22);
  transform: rotate(-1.2deg);
  animation: lm-tool-frame 7s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__preview-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 35%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: lm-fx-sheen 5s ease-in-out infinite;
  pointer-events: none;
}

.model-picker-modal .model-picker-modal__preview-loading {
  background: rgba(30, 8, 20, 0.6);
}

.model-picker-modal .model-picker-modal__preview-loading p {
  color: var(--j-peach);
  font-family: var(--j-display);
  font-weight: 400;
}

.model-picker-modal .model-picker-modal__spinner {
  border-color: rgba(255, 156, 122, 0.2);
  border-top-color: var(--j-cherry);
  box-shadow: 0 0 1.4rem rgba(255, 45, 98, 0.45);
}

/* Painel */
.model-picker-modal .model-picker-modal__panel {
  background: none;
}

.model-picker-modal .model-picker-modal__header {
  padding: 1.3rem 1.4rem 0.6rem;
}

.model-picker-modal .model-picker-modal__title {
  font-family: var(--j-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(95deg, var(--j-cream) 35%, var(--j-peach));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.model-picker-modal .model-picker-modal__step-meta {
  border: 0;
  border-radius: 999px;
  background: var(--j-juice);
  color: #2a0712;
  font-family: var(--j-display);
  font-weight: 400;
  box-shadow: 0 0.3rem 0.8rem rgba(255, 45, 98, 0.4);
}

.model-picker-modal .model-picker-modal__subtitle {
  color: var(--j-muted);
  font-size: 0.88rem;
}

.model-picker-modal .model-picker-modal__close {
  border: 1px solid var(--j-line-2);
  border-radius: 999px;
  background: var(--j-glass);
  color: var(--j-cream);
}

.model-picker-modal .model-picker-modal__close:hover {
  background: var(--j-juice);
  color: #2a0712;
}

/* Etapas */
.model-picker-modal .model-picker-modal__stepper {
  padding: 0.3rem 1.4rem 0.6rem;
}

.model-picker-modal .model-picker-modal__step {
  flex-direction: row;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem 0.25rem 0.25rem;
  border-radius: 999px;
  color: var(--j-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.model-picker-modal .model-picker-modal__step.is-active {
  background: rgba(255, 122, 89, 0.14);
  color: var(--j-cream);
}

.model-picker-modal .model-picker-modal__step.is-done {
  color: var(--j-pickle);
}

.model-picker-modal .model-picker-modal__step-num {
  font-family: var(--j-display);
  font-weight: 400;
  border-color: var(--j-line-2);
}

.model-picker-modal .model-picker-modal__step.is-active .model-picker-modal__step-num {
  background: var(--j-juice);
  color: #2a0712;
  box-shadow: 0 0 0 4px rgba(255, 45, 98, 0.18), 0 0 1rem rgba(255, 45, 98, 0.45);
  animation: lm-tool-pop 2.4s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__step.is-done .model-picker-modal__step-num {
  border-color: rgba(166, 222, 85, 0.55);
  background: rgba(166, 222, 85, 0.16);
  color: var(--j-pickle);
}

.model-picker-modal .model-picker-modal__step-label {
  max-width: none;
  font-size: 0.78rem;
  white-space: nowrap;
}

.model-picker-modal .model-picker-modal__step-line {
  margin: 0 0.3rem;
  background: var(--j-line-2);
}

.model-picker-modal .model-picker-modal__progress {
  height: 4px;
  margin: 0 1.4rem 0.8rem;
  background: rgba(255, 236, 228, 0.07);
}

.model-picker-modal .model-picker-modal__progress-bar {
  background: var(--j-juice);
  box-shadow: 0 0 0.8rem rgba(255, 45, 98, 0.6);
}

.model-picker-modal .model-picker-modal__picks {
  padding: 0 1.4rem 0.7rem;
}

.model-picker-modal .model-picker-modal__pick {
  border: 1px solid rgba(255, 156, 122, 0.35);
  border-radius: 999px;
  background: rgba(255, 156, 122, 0.1);
  color: var(--j-cream);
}

.model-picker-modal .model-picker-modal__pick-key {
  color: var(--j-peach);
}

/* Opções */
.model-picker-modal .model-picker-modal__body {
  padding: 0 1.4rem 0.9rem;
}

.model-picker-modal .model-picker-modal__chips {
  gap: 0.7rem;
  scrollbar-color: rgba(255, 156, 122, 0.45) transparent;
}

.model-picker-modal .model-picker-modal__chip {
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--j-line);
  border-radius: 22px;
  background:
    radial-gradient(14rem 7rem at 100% 50%, rgba(255, 122, 89, 0.1), transparent 70%),
    rgba(255, 236, 228, 0.04);
  color: var(--j-cream);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
  animation: lm-wz-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.model-picker-modal .model-picker-modal__chip:nth-child(2) { animation-delay: 0.05s; }
.model-picker-modal .model-picker-modal__chip:nth-child(3) { animation-delay: 0.1s; }
.model-picker-modal .model-picker-modal__chip:nth-child(4) { animation-delay: 0.15s; }

.model-picker-modal .model-picker-modal__chip::before {
  content: "🍒";
  position: absolute;
  z-index: -1;
  right: 3.4rem;
  top: 50%;
  font-size: 3.2rem;
  line-height: 1;
  opacity: 0.18;
  transform: translateY(-50%) rotate(-12deg);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.model-picker-modal .model-picker-modal__chip:nth-child(4n + 2)::before { content: "🍑"; }
.model-picker-modal .model-picker-modal__chip:nth-child(4n + 3)::before { content: "🍌"; }
.model-picker-modal .model-picker-modal__chip:nth-child(4n + 4)::before { content: "🍓"; }

.model-picker-modal .model-picker-modal__chips[data-count]:not([data-count="3"]):not([data-count="4"]) .model-picker-modal__chip::before {
  right: 2.6rem;
  font-size: 1.6rem;
  opacity: 0 !important;
}

.model-picker-modal .model-picker-modal__chips[data-count]:not([data-count="3"]):not([data-count="4"]) .model-picker-modal__chip.is-active::before {
  opacity: 0.9 !important;
}

.model-picker-modal .model-picker-modal__chip:hover {
  border-color: rgba(255, 156, 122, 0.5);
  background:
    radial-gradient(14rem 7rem at 100% 50%, rgba(255, 122, 89, 0.18), transparent 70%),
    rgba(255, 236, 228, 0.06);
  transform: translateY(-2px);
}

.model-picker-modal .model-picker-modal__chip:hover::before {
  opacity: 0.4;
  transform: translateY(-50%) rotate(0deg) scale(1.1);
}

.model-picker-modal .model-picker-modal__chip.is-active {
  border-color: transparent;
  background:
    radial-gradient(18rem 9rem at 100% 50%, rgba(255, 122, 89, 0.3), transparent 70%),
    linear-gradient(120deg, rgba(255, 45, 98, 0.28), rgba(255, 156, 122, 0.12)),
    rgba(40, 10, 26, 0.8);
  box-shadow: 0 0 0 2px var(--j-peach), 0 0 1.8rem rgba(255, 45, 98, 0.35), 0 0.8rem 1.6rem rgba(0, 0, 0, 0.35);
}

.model-picker-modal .model-picker-modal__chip.is-active::before {
  opacity: 0.85;
  transform: translateY(-50%) rotate(8deg) scale(1.15);
  animation: lm-bob 2.6s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__chip-label {
  font-family: var(--j-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.model-picker-modal .model-picker-modal__chips[data-count="3"] .model-picker-modal__chip-label {
  font-size: 1.45rem;
}

.model-picker-modal .model-picker-modal__chip.is-active .model-picker-modal__chip-label {
  color: #fff;
  text-shadow: 0 0.2rem 1rem rgba(255, 45, 98, 0.6);
}

.model-picker-modal .model-picker-modal__chip-check {
  width: 1.8rem;
  height: 1.8rem;
  border-color: var(--j-line-2);
}

.model-picker-modal .model-picker-modal__chip.is-active .model-picker-modal__chip-check {
  background: var(--j-juice);
  color: #2a0712;
  box-shadow: 0 0.3rem 0.9rem rgba(255, 45, 98, 0.5);
  animation: lm-tool-pop 2.4s ease-in-out infinite;
}

/* Rodapé em uma linha */
.model-picker-modal .model-picker-modal__footer {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem 1.3rem;
  border-top: 1px solid var(--j-line);
  background: rgba(0, 0, 0, 0.14);
}

.model-picker-modal .model-picker-modal__reshuffle,
.model-picker-modal .model-picker-modal__back {
  width: auto;
  min-height: 3.3rem;
  padding: 0 1.1rem;
  border: 1px solid var(--j-line-2);
  border-radius: 999px;
  background: var(--j-glass);
  color: var(--j-cream);
  font-family: var(--j-display);
  font-size: 0.85rem;
  font-weight: 400;
}

.model-picker-modal .model-picker-modal__reshuffle:hover:not(:disabled),
.model-picker-modal .model-picker-modal__back:hover:not(:disabled) {
  border-color: rgba(255, 156, 122, 0.55);
  background: var(--j-glass-2);
  color: var(--j-cream);
}

.model-picker-modal .model-picker-modal__reshuffle .material-symbols-outlined {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.model-picker-modal .model-picker-modal__reshuffle:hover:not(:disabled) .material-symbols-outlined {
  transform: rotate(-200deg);
}

.model-picker-modal .model-picker-modal__back:disabled {
  opacity: 0.35;
}

.model-picker-modal .model-picker-modal__reshuffle.is-attention {
  border-color: var(--j-cherry, #ff2d62);
  background: linear-gradient(135deg, rgba(255, 45, 98, 0.32), rgba(255, 156, 122, 0.22));
  box-shadow: 0 0 1.2rem rgba(255, 45, 98, 0.45);
  animation: lm-tool-cta-pink 2.6s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__generate {
  position: relative;
  min-height: 3.3rem;
  overflow: hidden;
  color: #2a0712 !important;
  font-size: 1.05rem;
  animation: lm-tool-cta-pink 2.6s ease-in-out infinite;
}

.model-picker-modal .model-picker-modal__generate::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: lm-fx-sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}

.model-picker-modal .model-picker-modal__generate .material-symbols-outlined {
  transition: transform 0.2s ease;
}

.model-picker-modal .model-picker-modal__generate:hover:not(:disabled) .material-symbols-outlined {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .model-picker-modal .model-picker-modal__sheet {
    border-radius: 0 !important;
  }

  .model-picker-modal .model-picker-modal__preview {
    border-right: 0;
    border-bottom: 1px solid var(--j-line);
  }

  .model-picker-modal .model-picker-modal__preview::before {
    font-size: 2rem;
  }

  .model-picker-modal .model-picker-modal__preview::after {
    font-size: 1.6rem;
  }

  .model-picker-modal .model-picker-modal__preview-frame {
    border-radius: 20px;
  }

  .model-picker-modal .model-picker-modal__header {
    padding: 0.7rem 1rem 0.3rem;
  }

  .model-picker-modal .model-picker-modal__title {
    font-size: 1.25rem;
  }

  .model-picker-modal .model-picker-modal__stepper,
  .model-picker-modal .model-picker-modal__picks,
  .model-picker-modal .model-picker-modal__body {
    padding-inline: 1rem;
  }

  .model-picker-modal .model-picker-modal__progress {
    margin-inline: 1rem;
  }

  .model-picker-modal .model-picker-modal__chip {
    min-height: 3.2rem;
    border-radius: 16px;
  }

  .model-picker-modal .model-picker-modal__chip::before {
    right: 2.8rem;
    font-size: 1.9rem;
  }

  .model-picker-modal .model-picker-modal__chips[data-count="3"] .model-picker-modal__chip-label {
    font-size: 1.15rem;
  }

  .model-picker-modal .model-picker-modal__chips[data-count="3"] .model-picker-modal__chip,
  .model-picker-modal .model-picker-modal__chips[data-count="4"] .model-picker-modal__chip {
    flex: 1 1 0;
    max-height: 6.5rem;
  }

  .model-picker-modal .model-picker-modal__footer {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    padding: 0.6rem 1rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
  }

  .model-picker-modal .model-picker-modal__reshuffle,
  .model-picker-modal .model-picker-modal__back,
  .model-picker-modal .model-picker-modal__generate {
    min-height: 3rem;
  }

  .model-picker-modal .model-picker-modal__reshuffle,
  .model-picker-modal .model-picker-modal__back {
    width: 3rem;
    padding: 0;
  }

  .model-picker-modal .model-picker-modal__reshuffle span:not(.material-symbols-outlined),
  .model-picker-modal .model-picker-modal__back span:not(.material-symbols-outlined) {
    display: none;
  }

  .model-picker-modal .model-picker-modal__reshuffle.is-cooling .material-symbols-outlined {
    display: none;
  }

  .model-picker-modal .model-picker-modal__reshuffle.is-cooling .model-picker-modal__reshuffle-count:not([hidden]) {
    display: inline;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .model-picker-modal .model-picker-modal__step {
    padding: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-picker-modal *,
  .model-picker-modal *::before,
  .model-picker-modal *::after {
    animation: none !important;
  }
}

/* ---------- Animações ---------- */
@keyframes lm-tool-frame {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(0.4deg) translateY(-5px); }
}

@keyframes lm-tool-cta-pink {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08) saturate(1.1); }
}

@keyframes lm-tool-breathe {
  0%, 100% { opacity: 0.28; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.45; transform: translateX(-50%) scale(1.12); }
}

@keyframes lm-tool-jelly {
  0%, 82%, 100% { transform: scale(1, 1); }
  86% { transform: scale(1.12, 0.9); }
  90% { transform: scale(0.94, 1.08); }
  94% { transform: scale(1.04, 0.97); }
}

@keyframes lm-tool-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes lm-tool-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12) saturate(1.1); }
}

@keyframes lm-tool-sway {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-6px); }
}

@keyframes lm-tool-ring {
  0% { box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.45), 0 0 0 0 var(--tk-glow); }
  70%, 100% { box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.45), 0 0 0 14px transparent; }
}

@keyframes lm-tool-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes lm-tool-tag {
  0% { transform: scale(0.85); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes lm-tool-cta {
  0%, 100% { box-shadow: 0 0.8rem 1.8rem var(--tk-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  50% { box-shadow: 0 0.9rem 2.6rem var(--tk-glow), 0 0 0 5px var(--tk-soft), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  .lm-funnel.is-tool .lm-funnel__sheet::before,
  .lm-funnel__tool::before,
  .lm-funnel__tool::after,
  .lm-funnel__tool *,
  .lm-funnel__tool *::before,
  .lm-funnel__tool *::after {
    animation: none !important;
  }
}
