.home-view-root--undress {
  --home-feed-offset: calc(env(safe-area-inset-top, 0px) + 7.35rem);
  --undress-accent: #ff4d94;
  --undress-accent-soft: rgba(255, 77, 148, 0.18);
  --undress-accent-border: rgba(255, 77, 148, 0.42);
  --undress-surface: rgba(255, 255, 255, 0.045);
  --undress-surface-hover: rgba(255, 255, 255, 0.07);
}

.home-undress-feed {
  width: 100%;
  max-width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0.35rem 0.85rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-undress-feed__header {
  text-align: center;
  padding: 0.55rem 0.75rem 0.35rem;
}

.home-undress-feed__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.55rem 0.22rem 0.4rem;
  border-radius: 0.28rem;
  border: 1px solid rgba(255, 77, 148, 0.55);
  background: #ff4d94;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
}

.home-undress-feed__badge .material-symbols-outlined {
  font-size: 0.9rem;
  color: #fff;
}

.home-undress-feed__header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.12;
}

.home-undress-feed__header p,
.home-undress-feed__subtitle {
  margin: 0.55rem auto 0;
  max-width: 26rem;
  font-size: 0.86rem;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.5;
}

.undress-compare {
  width: 100%;
  max-width: min(100%, 28rem);
  margin: 0 auto;
}

@media (min-width: 900px) {
  .undress-compare {
    max-width: min(100%, 34rem);
  }
}

.undress-compare__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  margin: 0 0 0.65rem;
}

.undress-compare__caption {
  margin: 0;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.undress-compare__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.undress-compare__legend-item {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.undress-compare__legend-item--before {
  background: rgba(255, 77, 148, 0.22);
  color: #ff8fb8;
  border: 1px solid rgba(255, 77, 148, 0.4);
}

.undress-compare__legend-item--after {
  background: rgba(255, 77, 148, 0.2);
  color: #ff9ec0;
  border: 1px solid rgba(255, 77, 148, 0.4);
}

.undress-compare__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.45rem;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #050505;
  box-shadow: 0 0.85rem 1.8rem rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.undress-compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.undress-compare__before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  z-index: 1;
}

.undress-compare__img--before {
  width: var(--undress-compare-frame-width, 28rem);
  max-width: none;
  height: 100%;
}

.undress-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(255, 77, 148, 0.15),
    rgba(255, 255, 255, 0.92) 18%,
    rgba(255, 255, 255, 0.92) 82%,
    rgba(255, 77, 148, 0.25)
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.undress-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 2.85rem;
  border-radius: 0.55rem;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #ff6bab, #ff4d94 55%, #db2777);
  color: #fff;
  box-shadow:
    0 0.4rem 0.95rem rgba(0, 0, 0, 0.45),
    0 0 0.75rem rgba(255, 77, 148, 0.35);
  transform: translate(-50%, -50%);
}

.undress-compare__grip {
  display: block;
  width: 0.55rem;
  height: 1.15rem;
  border-left: 2px solid rgba(255, 255, 255, 0.95);
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  opacity: 0.95;
}

.undress-compare__handle .material-symbols-outlined {
  display: none;
}

.undress-compare__tag {
  display: none;
}

.home-grtkniv-panel {
  display: grid;
  gap: 0.85rem;
  margin: 0.85rem 0 1rem;
}

.home-grtkniv-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.home-grtkniv-field select,
.home-grtkniv-field textarea {
  width: 100%;
  border-radius: 1.21rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141216;
  color: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.home-grtkniv-field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.home-grt-policy-hint {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 122, 144, 0.88);
}

.home-undress-panels-wrap {
  padding: 0.85rem;
  border-radius: 1.79rem;
  border: 1px solid rgba(255, 77, 148, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 77, 148, 0.07), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(255, 77, 148, 0.05), transparent 38%),
    #0d0c0e;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.32);
}

.home-undress-panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem;
  align-items: center;
}

@media (max-width: 560px) {
  .home-undress-panels {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .home-undress-panels__arrow {
    justify-self: center;
    margin-inline: auto;
  }

  .home-undress-panels__arrow .material-symbols-outlined {
    transform: rotate(90deg);
  }
}

.home-undress-panel {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.home-undress-panel--pick {
  aspect-ratio: 3 / 5;
  max-height: min(62vh, 32rem);
}

.home-undress-panel--pick .home-undress-panel__media,
.home-undress-panel--pick img {
  object-fit: contain;
  object-position: center center;
  background:
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(255, 77, 148, 0.06), transparent 70%),
    #121014;
}

.home-undress-panel--pick.has-media .home-undress-panel__frame {
  background: #0a090b;
}

.home-undress-panel__frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 1.57rem;
  overflow: hidden;
  border: 2px solid rgba(255, 77, 148, 0.42);
  background: #121014;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.home-undress-panel--pick:hover .home-undress-panel__frame {
  border-color: rgba(255, 77, 148, 0.62);
  box-shadow: 0 0.45rem 1.1rem rgba(255, 77, 148, 0.18);
  transform: translateY(-1px);
}

.home-undress-panel--pick:active .home-undress-panel__frame {
  transform: translateY(0);
}

.home-undress-panel--pick.has-media .home-undress-panel__frame {
  border-color: rgba(255, 77, 148, 0.48);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.28);
}

.home-undress-panel--result {
  aspect-ratio: 3 / 5;
  max-height: min(62vh, 32rem);
  cursor: default;
  border-radius: 1.57rem;
  overflow: hidden;
  border: 2px solid rgba(255, 77, 148, 0.18);
  background: #121014;
  box-sizing: border-box;
}

.home-undress-panel--result:hover {
  transform: none;
}

.home-undress-panel__placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 600;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 77, 148, 0.07), transparent 62%);
}

.home-undress-panel__placeholder-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: rgba(255, 77, 148, 0.12);
  border: 1px solid rgba(255, 77, 148, 0.22);
  color: #ff8fb8;
}

.home-undress-panel__placeholder .material-symbols-outlined {
  font-size: 1.55rem;
}

.home-undress-panel__media,
.home-undress-panel img,
.home-undress-panel video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
  background: #121014;
}

.home-undress-panel--result img {
  object-fit: contain;
  object-position: center center;
}

.home-undress-panel__media[hidden],
.home-undress-panel img[hidden],
.home-undress-panel video[hidden] {
  display: none !important;
}

.home-undress-panel.has-media .home-undress-panel__placeholder {
  display: none;
}

.home-undress-panels__arrow {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 77, 148, 0.12);
  border: 1px solid rgba(255, 77, 148, 0.28);
  color: #ff8fb8;
  font-size: 1.15rem;
  user-select: none;
  box-shadow: 0 0.35rem 0.9rem rgba(255, 77, 148, 0.15);
}

.home-undress-wait {
  position: fixed;
  inset: 0;
  z-index: 11900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.home-undress-wait[hidden] {
  display: none !important;
}

.home-undress-wait__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-undress-wait__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 20.5rem);
  padding: 1.85rem 1.5rem 1.65rem;
  text-align: center;
  border-radius: 2.22rem;
  border: 1px solid rgba(255, 122, 178, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 122, 144, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(32, 24, 14, 0.98), rgba(12, 10, 12, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 77, 148, 0.08) inset,
    0 1.6rem 3.2rem rgba(0, 0, 0, 0.55),
    0 0 42px rgba(255, 77, 148, 0.22);
  animation: home-undress-wait-pop 0.42s cubic-bezier(0.22, 1.15, 0.36, 1);
}

body.undress-wait-open,
body.generation-locked {
  overflow: hidden;
}

.home-undress-wait__stage {
  position: relative;
  width: 6.75rem;
  height: 6.75rem;
  flex-shrink: 0;
}

.home-undress-wait__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-undress-wait__rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 122, 178, 0.28);
  animation: home-undress-ring 2.4s ease-out infinite;
}

.home-undress-wait__rings span:nth-child(2) {
  animation-delay: 0.8s;
}

.home-undress-wait__rings span:nth-child(3) {
  animation-delay: 1.6s;
}

.home-undress-wait__orb {
  position: absolute;
  inset: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1a0810;
  background: radial-gradient(circle at 32% 28%, #ffe4f0 0%, #ff8fb8 40%, #ff4d94 100%);
  box-shadow:
    0 0 0 5px rgba(255, 122, 144, 0.16),
    0 0 24px rgba(255, 77, 148, 0.5);
  animation: home-undress-orb 2.4s ease-in-out infinite;
}

.home-undress-wait__orb .material-symbols-outlined {
  font-size: 1.65rem;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 48;
}

.home-undress-wait__title {
  margin: 0;
  max-width: 16rem;
  min-height: 1.3em;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffe4f0;
}

.home-undress-wait__hint {
  margin: -0.15rem 0 0;
  max-width: 16rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 236, 196, 0.7);
}

.home-undress-wait__bar {
  width: 9.5rem;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.home-undress-wait__bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9ec0, #ff4d94);
  animation: home-undress-bar 1.4s ease-in-out infinite;
}

.home-undress-generate.is-busy,
.home-undress-generate:disabled.is-busy {
  position: relative;
  overflow: hidden;
  opacity: 1;
  cursor: wait;
  color: #1a0810;
  background: linear-gradient(135deg, #ff9ec0 0%, #ff4d94 48%, #be185d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 122, 144, 0.28),
    0 0.55rem 1.8rem rgba(255, 77, 148, 0.5),
    inset 0 1px rgba(255, 255, 255, 0.35);
}

.home-undress-generate.is-busy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.38) 48%, transparent 78%);
  transform: translateX(-120%);
  animation: home-undress-generate-shimmer 1.7s ease-in-out infinite;
}

.home-undress-generate.is-busy .material-symbols-outlined,
.home-undress-generate.is-busy [data-undress-generate-label] {
  position: relative;
  z-index: 1;
}

@keyframes home-undress-wait-pop {
  0% {
    opacity: 0;
    transform: scale(0.86) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes home-undress-ring {
  0% { transform: scale(0.62); opacity: 0.55; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes home-undress-orb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes home-undress-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@keyframes home-undress-generate-shimmer {
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-undress-wait__card,
  .home-undress-wait__rings span,
  .home-undress-wait__orb,
  .home-undress-wait__bar span,
  .home-undress-generate.is-busy::before {
    animation: none !important;
  }
}

.home-undress-block {
  padding: 0.95rem 1rem;
  border-radius: 1.57rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.home-undress-block h3 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--undress-accent);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.home-undress-model-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-undress-model-chip {
  padding: 0.58rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.home-undress-model-chip:hover {
  border-color: rgba(255, 77, 148, 0.35);
  background: rgba(255, 77, 148, 0.08);
}

.home-undress-model-chip.is-active {
  border-color: var(--undress-accent-border);
  color: #ffe4f0;
  background: linear-gradient(135deg, rgba(255, 154, 164, 0.2), rgba(255, 77, 148, 0.24));
  box-shadow:
    0 0 0 1px rgba(255, 77, 148, 0.22),
    0 0.35rem 0.9rem rgba(255, 77, 148, 0.16);
}

.home-undress-super-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-undress-super-row .material-symbols-outlined {
  font-size: 1.15rem;
  color: rgba(255, 77, 148, 0.75);
}

.home-undress-super-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  flex: 1;
}

.home-undress-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.home-undress-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.home-undress-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease;
}

.home-undress-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.home-undress-toggle input:checked + .home-undress-toggle-track {
  background: linear-gradient(135deg, #ff8fb8, #ff4d94);
}

.home-undress-toggle input:checked + .home-undress-toggle-track::after {
  transform: translateX(20px);
}

.home-undress-feedback {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.1);
  color: #ffb4b4;
  font-size: 0.85rem;
  line-height: 1.4;
}

.home-undress-feedback.is-visible {
  display: block;
}

.home-undress-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.15rem;
}

.home-undress-generate {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.1rem;
  border: none;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #ff6bab 0%, #ff4d94 50%, #db2777 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 0.5rem 1.2rem rgba(255, 77, 148, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.home-undress-generate .material-symbols-outlined {
  font-size: 1.15rem;
}

.home-undress-generate:disabled:not(.is-busy) {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.home-undress-generate:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow:
    0 0.65rem 1.5rem rgba(255, 77, 148, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.home-undress-generate:not(:disabled):active {
  transform: translateY(0);
}

.home-undress-cost-hint {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.home-undress-cost-hint strong {
  color: #ff8fb8;
  font-weight: 700;
}

/* ---- Shorts tab: stage + setas laterais (≠ fan MVG) ---- */
.home-shorts-feed {
  --shorts-accent: #ff4d94;
  --shorts-accent-soft: rgba(255, 77, 148, 0.16);
  max-width: min(100%, 72rem);
  gap: 1rem;
  padding-top: 0.2rem;
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
}

@keyframes home-shorts-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Entrada em sequência (todas as abas de ferramenta) */
.home-undress-feed > *,
.home-shorts-feed > *,
.home-porn-feed > *,
.home-movies-feed > * {
  animation: home-shorts-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-undress-feed > *:nth-child(1),
.home-shorts-feed > *:nth-child(1),
.home-porn-feed > *:nth-child(1),
.home-movies-feed > *:nth-child(1) { animation-delay: 0.04s; }

.home-undress-feed > *:nth-child(2),
.home-shorts-feed > *:nth-child(2),
.home-porn-feed > *:nth-child(2),
.home-movies-feed > *:nth-child(2) { animation-delay: 0.12s; }

.home-undress-feed > *:nth-child(3),
.home-shorts-feed > *:nth-child(3),
.home-porn-feed > *:nth-child(3),
.home-movies-feed > *:nth-child(3) { animation-delay: 0.2s; }

.home-undress-feed > *:nth-child(4),
.home-shorts-feed > *:nth-child(4),
.home-porn-feed > *:nth-child(4),
.home-movies-feed > *:nth-child(4) { animation-delay: 0.26s; }

.home-undress-feed > *:nth-child(5),
.home-shorts-feed > *:nth-child(5),
.home-porn-feed > *:nth-child(5),
.home-movies-feed > *:nth-child(5) { animation-delay: 0.32s; }

.home-undress-feed > *:nth-child(6),
.home-shorts-feed > *:nth-child(6),
.home-porn-feed > *:nth-child(6),
.home-movies-feed > *:nth-child(6) { animation-delay: 0.38s; }

.home-shorts-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  padding: 0.15rem 0 0.2rem;
}

.home-shorts-hero__glow {
  display: none;
}

.home-shorts-stage {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.home-shorts-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 15.5rem);
  height: 20.5rem;
  touch-action: pan-y;
  user-select: none;
}

.home-shorts-stack:empty {
  display: none;
  height: 0;
}

.home-shorts-card {
  position: absolute;
  inset: 0;
  border-radius: 1.05rem;
  overflow: hidden;
  background: #101412;
  border: 1.5px solid rgba(255, 77, 148, 0.28);
  box-shadow: 0 0.85rem 1.8rem rgba(0, 0, 0, 0.45);
  transform-origin: center center;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    filter 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  cursor: pointer;
}

.home-shorts-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 12, 10, 0.55) 100%);
  opacity: 0.9;
}

.home-shorts-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0e0c;
  pointer-events: none;
}

.home-shorts-card[data-offset="0"] {
  z-index: 5;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  filter: none;
  cursor: default;
  border-color: rgba(255, 77, 148, 0.45);
  box-shadow:
    0 1rem 2rem rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 77, 148, 0.2),
    0 0 1.4rem rgba(255, 77, 148, 0.18);
}

.home-shorts-card[data-offset="-1"] {
  z-index: 4;
  transform: translate3d(-18%, 0, 0) scale(0.9);
  opacity: 0.55;
  filter: brightness(0.7) saturate(0.85);
}

.home-shorts-card[data-offset="1"] {
  z-index: 4;
  transform: translate3d(18%, 0, 0) scale(0.9);
  opacity: 0.55;
  filter: brightness(0.7) saturate(0.85);
}

.home-shorts-card[data-offset="-2"],
.home-shorts-card[data-offset="2"] {
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(0.82);
}

.home-shorts-nav {
  flex-shrink: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 77, 148, 0.35);
  border-radius: 0.65rem;
  background: rgba(8, 14, 10, 0.78);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0.35rem 0.85rem rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.home-shorts-nav:hover {
  border-color: rgba(255, 77, 148, 0.5);
  background: rgba(255, 77, 148, 0.22);
}

.home-shorts-nav:active {
  transform: scale(0.96);
}

.home-shorts-nav .material-symbols-outlined {
  font-size: 1.35rem;
  font-variation-settings: "wght" 600;
}

.home-shorts-chevron {
  display: none !important;
}

.home-shorts-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 0.55rem;
}

.home-shorts-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.2s ease, background 0.2s ease;
}

.home-shorts-dot.is-active {
  width: 1rem;
  background: linear-gradient(90deg, #db2777, #ff4d94);
}

.home-shorts-copy {
  position: relative;
  z-index: 2;
  margin: 0;
}

.home-shorts-kicker.home-undress-feed__badge .material-symbols-outlined,
.home-shorts-kicker .material-symbols-outlined {
  color: #fff;
  font-variation-settings: "FILL" 0, "wght" 600;
}

.home-shorts-title {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.12;
  text-shadow: none;
}

.home-shorts-sub {
  margin: 0.55rem auto 0;
  max-width: 26rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.5;
}

.home-shorts-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 7rem;
  padding: 1.15rem 1rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(255, 77, 148, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 77, 148, 0.08), transparent 42%),
    linear-gradient(180deg, #121814, #0c100e);
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.home-shorts-dropzone:hover,
.home-shorts-dropzone.is-dragover {
  border-color: rgba(255, 77, 148, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 77, 148, 0.1), transparent 45%),
    linear-gradient(180deg, #181018, #0e1010);
  transform: translateY(-1px);
}

.home-shorts-dropzone.has-media {
  aspect-ratio: 3 / 4;
  width: min(100%, 15.5rem);
  min-height: 0;
  margin-inline: auto;
  padding: 0;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(255, 122, 178, 0.42);
  background: #0c0a0e;
  box-shadow:
    0 1.1rem 2.2rem rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 122, 178, 0.12);
}

.home-shorts-dropzone.has-media:hover {
  border-color: rgba(255, 122, 178, 0.65);
  transform: translateY(-2px);
}

.home-shorts-dropzone__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  pointer-events: none;
}

.home-shorts-dropzone__placeholder[hidden] {
  display: none !important;
}

.home-shorts-dropzone__icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.75rem;
  color: #ff8fb8;
  background: rgba(255, 77, 148, 0.16);
  border: 1px solid rgba(255, 77, 148, 0.28);
  box-shadow: none;
}

.home-shorts-dropzone__icon .material-symbols-outlined {
  font-size: 1.55rem;
}

.home-shorts-dropzone__text {
  max-width: 15rem;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.home-shorts-dropzone__text strong {
  color: var(--shorts-accent);
  font-weight: 800;
}

.home-shorts-dropzone__hint {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
}

.home-shorts-dropzone__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-shorts-dropzone__preview[hidden] {
  display: none !important;
}

.home-shorts-dropzone__change {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 7, 10, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(-50%);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.home-shorts-dropzone__change[hidden] {
  display: none !important;
}

.home-shorts-dropzone__change .material-symbols-outlined {
  font-size: 1rem;
}

.home-shorts-dropzone.has-media::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
}

.home-shorts-controls {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1.86rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    #100e12;
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.22);
}

.home-shorts-lote {
  margin: 0;
}

.home-shorts-controls .home-grtkniv-field select {
  border-radius: 1.42rem;
  padding: 0.9rem 1rem;
  background: #17141a;
  border-color: rgba(255, 255, 255, 0.1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ff1744' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65rem;
  padding-right: 2.4rem;
}

.home-shorts-controls .home-grtkniv-field select:focus {
  outline: none;
  border-color: rgba(255, 77, 148, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 77, 148, 0.12);
}

.home-shorts-generate {
  border-radius: 0.85rem !important;
  padding: 0.95rem 1.1rem !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em;
  box-shadow:
    0 0.5rem 1.2rem rgba(255, 77, 148, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.22) !important;
}

@media (max-width: 420px) {
  .home-shorts-stack {
    width: min(100%, 13.75rem);
    height: 18.25rem;
  }

  .home-shorts-card[data-offset="-1"] {
    transform: translate3d(-14%, 0, 0) scale(0.88);
  }

  .home-shorts-card[data-offset="1"] {
    transform: translate3d(14%, 0, 0) scale(0.88);
  }

  .home-shorts-nav {
    width: 2.1rem;
    height: 2.1rem;
  }

  .home-shorts-dropzone.has-media {
    width: min(100%, 13.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-shorts-card,
  .home-shorts-card[data-offset="0"] {
    animation: none !important;
    transition: none;
  }

  .home-movies-card {
    transition: none;
  }
}

/* ---- Movies tab ---- */
.home-movies-feed {
  max-width: min(100%, 72rem);
  gap: 1.25rem;
}

.home-movies-section {
  display: grid;
  gap: 0.75rem;
}

.home-movies-section__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
}

.home-movies-step {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 148, 0.45);
  background: linear-gradient(135deg, rgba(255, 77, 148, 0.2), rgba(255, 77, 148, 0.08));
  color: #ffb3d1;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.home-movies-section__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-movies-section__head p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

.home-movies-grid {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.45rem 0.35rem 0.65rem;
  border-radius: 1.57rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 77, 148, 0.05), transparent 45%),
    rgba(255, 255, 255, 0.025);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
}

.home-movies-grid::-webkit-scrollbar {
  display: none;
}

.home-movies-grid.is-hscroll-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* Não bloquear clique nos botões — só nos media internos durante o arraste */
.home-movies-grid.is-hscroll-dragging .home-movies-card__media,
.home-movies-grid.is-hscroll-dragging .home-movies-card__fallback {
  pointer-events: none;
}

/* Carrossel com setas (roupas / pornô / filmes) */
.home-hscroll {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.home-hscroll__arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.55rem;
  padding: 0;
  border: none;
  color: #ff4d94;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  flex-shrink: 0;
}

.home-hscroll__arrow .material-symbols-outlined {
  font-size: 1.45rem;
  font-variation-settings: "wght" 600;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.65));
}

.home-hscroll__arrow:active {
  color: #ff6bab;
}

.home-hscroll__arrow[hidden] {
  display: none !important;
}

.home-hscroll__arrow:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.home-hscroll .home-movies-grid {
  flex: 1 1 auto;
  min-width: 0;
}

.home-hscroll.has-hscroll-overflow .home-movies-grid {
  border-radius: 1.35rem;
}

@media (max-width: 900px) {
  .home-hscroll .home-movies-card {
    width: 8.6rem;
  }
}

.home-movies-grid__status {
  flex: 1 1 auto;
  padding: 1.4rem 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.84rem;
}

.home-movies-card {
  position: relative;
  flex: 0 0 auto;
  width: 8.5rem;
  aspect-ratio: 9 / 14;
  display: block;
  padding: 0;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.4rem;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  scroll-snap-align: start;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

@media (min-width: 900px) {
  .home-movies-card {
    width: 9.75rem;
  }
}

.home-movies-card:hover {
  border-color: rgba(255, 77, 148, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 0.55rem 1.1rem rgba(0, 0, 0, 0.35);
}

.home-movies-card.is-selected {
  border-color: rgba(255, 77, 148, 0.85);
  box-shadow:
    0 0 0 1px rgba(255, 77, 148, 0.25),
    0 0.45rem 1rem rgba(255, 77, 148, 0.22);
}

.home-movies-card__media,
.home-movies-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.home-movies-card__media--video {
  object-fit: cover;
  object-position: center 20%;
  background: #111;
}

.home-movies-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  background: #161318;
}

.home-movies-card__fallback .material-symbols-outlined {
  font-size: 1.6rem;
}

.home-movies-card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 0.4rem 0.4rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.01em;
}

.home-movies-compose {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
}

.home-movies-compose__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 148, 0.28);
  background: rgba(255, 77, 148, 0.08);
  color: #ff9ec0;
}

.home-movies-compose__arrow .material-symbols-outlined {
  font-size: 1.1rem;
}

.home-movies-preview {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 18rem;
  border-radius: 1.57rem;
  overflow: hidden;
  border: 2px solid rgba(255, 77, 148, 0.22);
  background: #121014;
}

.home-movies-preview__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-movies-preview__media[hidden] {
  display: none;
}

.home-movies-preview__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  text-align: center;
}

.home-movies-preview__empty[hidden] {
  display: none;
}

.home-movies-preview__empty .material-symbols-outlined {
  font-size: 1.75rem;
  color: rgba(255, 77, 148, 0.55);
}

.home-movies-preview__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.55rem 0.55rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.home-movies-preview__caption[hidden] {
  display: none;
}

.home-movies-feed .home-movies-face {
  aspect-ratio: 3 / 4;
  max-height: 18rem;
}

@media (max-width: 560px) {
  .home-movies-compose {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .home-movies-compose__arrow {
    justify-self: center;
  }

  .home-movies-compose__arrow .material-symbols-outlined {
    transform: none;
  }

  .home-movies-preview,
  .home-movies-feed .home-movies-face {
    max-height: min(42vh, 16.5rem);
    width: min(100%, 14rem);
    justify-self: center;
  }

  .home-movies-card {
    width: 8.6rem;
  }
}

/* Ã¢ÂÂÃ¢ÂÂ Porn tab Ã¢ÂÂÃ¢ÂÂ */
.home-porn-feed {
  max-width: min(100%, 72rem);
  gap: 1rem;
}

.home-porn-header {
  padding-bottom: 0.15rem;
}

.home-porn-card {
  display: grid;
  gap: 0.95rem;
  padding: 0.95rem 0.9rem 1rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  box-shadow: none;
}

.home-porn-section {
  display: grid;
  gap: 0.75rem;
}

.home-porn-section[hidden] {
  display: none !important;
}

/* Prompt admin: escondido por padrão; só .is-visible libera (evita display:grid anular [hidden]). */
.home-porn-admin-prompt {
  display: none !important;
}

.home-porn-admin-prompt.is-visible {
  display: grid !important;
}

.home-porn-section + .home-porn-section {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-porn-section__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
}

.home-porn-step {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 148, 0.45);
  background: linear-gradient(135deg, rgba(255, 77, 148, 0.2), rgba(255, 77, 148, 0.08));
  color: #ffb3d1;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.home-porn-section__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-porn-section__head p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

.home-porn-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.7rem;
  align-items: end;
}

.home-porn-field select,
.home-porn-field textarea {
  border-color: rgba(255, 255, 255, 0.1);
  background: #161318;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-porn-field select:focus,
.home-porn-field textarea:focus {
  outline: none;
  border-color: rgba(255, 77, 148, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 77, 148, 0.12);
}

.home-porn-field textarea {
  min-height: 5rem;
  line-height: 1.45;
}

.home-porn-tags {
  display: grid;
  gap: 0.85rem;
}

.home-porn-tags__status {
  color: rgba(245, 242, 234, 0.55);
  font-size: 0.88rem;
}

.home-porn-tags__group {
  display: grid;
  gap: 0.45rem;
}

.home-porn-tags__group-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 77, 148, 0.85);
}

.home-porn-tags__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.home-porn-tag {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #15131a;
  color: rgba(245, 242, 234, 0.88);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.home-porn-tag:hover {
  border-color: rgba(255, 77, 148, 0.4);
}

.home-porn-tag.is-active {
  border-color: rgba(255, 77, 148, 0.75);
  background: rgba(255, 77, 148, 0.16);
  color: #ffcdd2;
}

.home-porn-admin-prompt .home-porn-step {
  border-color: rgba(180, 140, 255, 0.55);
  color: #d7c4ff;
}

.home-porn-admin-prompt textarea {
  min-height: 6rem;
}

.home-porn-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161318;
}

.home-porn-type__btn {
  appearance: none;
  border: none;
  border-radius: 1.06rem;
  padding: 0.62rem 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.home-porn-type__btn.is-active {
  background: linear-gradient(135deg, rgba(255, 122, 144, 0.95), rgba(255, 77, 148, 0.92));
  color: #fff;
  box-shadow: 0 0.35rem 0.85rem rgba(255, 77, 148, 0.28);
}

.home-porn-type__btn:not(.is-active):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.home-porn-face {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.7rem 0.85rem 0.7rem 0.7rem;
  margin: 0;
  border-radius: 1.57rem;
  border: 1.5px dashed rgba(255, 77, 148, 0.38);
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 77, 148, 0.1), transparent 55%),
    #121014;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.home-porn-face:hover {
  border-color: rgba(255, 77, 148, 0.62);
  box-shadow: 0 0.45rem 1.1rem rgba(255, 77, 148, 0.14);
  transform: translateY(-1px);
}

.home-porn-face:active {
  transform: translateY(0);
}

.home-porn-face.has-media {
  border-style: solid;
  border-color: rgba(255, 77, 148, 0.48);
  background: #121014;
}

.home-porn-face__thumb {
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.35rem;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 148, 0.22);
  background: #1a161c;
}

.home-porn-face__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-porn-face__media[hidden] {
  display: none;
}

.home-porn-face__icon {
  font-size: 1.55rem;
  color: rgba(255, 77, 148, 0.7);
}

.home-porn-face__icon[hidden] {
  display: none;
}

.home-porn-face__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.home-porn-face__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.home-porn-face__sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.3;
}

.home-porn-face__chevron {
  color: rgba(255, 77, 148, 0.65);
  font-size: 1.35rem;
}

/* Seletor interno da aba Foto */
.home-photo-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 0.35rem;
}

.home-photo-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
}

.home-photo-mode {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.45rem 0.65rem 0.45rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.home-photo-mode__index {
  position: static;
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.home-photo-mode__icon {
  display: none;
  font-size: 1.1rem;
  line-height: 1;
  color: inherit;
}

.home-photo-mode__label {
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-photo-mode .material-symbols-outlined {
  font-size: inherit;
}

.home-photo-mode.is-active {
  background: rgba(255, 77, 148, 0.16);
  border-color: #ff4d94;
  color: #fff;
  box-shadow: none;
}

.home-photo-mode.is-active .home-photo-mode__index {
  background: #ff4d94;
  color: #fff;
}

.home-photo-mode.is-active .home-photo-mode__icon {
  color: #fff;
}

.home-photo-mode:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.home-photo-panel {
  width: 100%;
  min-width: 0;
}

.home-photo-feed-list {
  display: block;
  padding-top: 0.15rem;
}

@media (max-width: 560px) {
  .home-photo-modes {
    gap: 0.28rem;
    padding: 0.25rem;
  }

  .home-photo-mode {
    min-height: 2.45rem;
    padding: 0.4rem 0.4rem;
    font-size: 0.68rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    white-space: normal;
    gap: 0.2rem;
  }

  .home-photo-mode__index {
    position: absolute;
    top: 0.25rem;
    left: 0.3rem;
    width: 1rem;
    height: 1rem;
    font-size: 0.55rem;
  }

  .home-photo-mode__icon {
    display: block;
  }

  .home-photo-mode__label {
    padding: 0 0.1rem;
  }
}

.home-porn-type--bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.home-porn-feed .home-movies-grid {
  margin-bottom: 0.35rem;
}

/* Modelos porn: todos visíveis, sem scroll horizontal */
.home-porn-feed .home-movies-grid--fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr));
  gap: 0.55rem;
  overflow: visible;
  max-height: none;
  padding: 0.55rem;
  scroll-snap-type: none;
  cursor: default;
  touch-action: manipulation;
  user-select: auto;
  -webkit-user-select: auto;
}

.home-porn-feed .home-movies-grid--fit .home-movies-card {
  width: auto;
  min-width: 0;
  max-width: none;
  flex: unset;
}

.home-porn-feed .home-movies-grid--fit .home-movies-grid__status {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .home-porn-feed .home-movies-grid--fit {
    grid-template-columns: repeat(auto-fit, minmax(7.2rem, 1fr));
    gap: 0.65rem;
  }
}

.home-porn-generate {
  margin-top: 0.15rem;
}

/* Tipo de corpo — corpo empilhado; cada roleta desliza na horizontal */
.home-body-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-body-roulettes {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 22rem;
  margin: 0 auto;
  width: 100%;
  padding: 0.55rem 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  background: #050505;
  overflow: hidden;
}

.home-body-roulette {
  --roulette-h: 8.5rem;
  --roulette-gap: 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.28rem;
  padding: 0.45rem 0.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-body-roulette--breast {
  --roulette-h: 8.1rem;
}

.home-body-roulette--body {
  --roulette-h: 9rem;
}

.home-body-roulette--butt {
  --roulette-h: 8.1rem;
}

.home-body-roulette + .home-body-roulette {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-body-roulette__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.35rem;
}

.home-body-dim__label {
  margin: 0;
  color: #ff4d94;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-body-roulette__value {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-body-roulette__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.home-body-roulette__nav {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.3rem;
  background: #0c0c0c;
  color: #fff;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.home-body-roulette__nav .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

.home-body-roulette__nav:hover:not(:disabled) {
  border-color: rgba(255, 77, 148, 0.55);
  background: rgba(255, 77, 148, 0.16);
  color: #fff;
}

.home-body-roulette__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.home-body-roulette__window {
  --roulette-card: var(--roulette-h);
  position: relative;
  flex: 0 0 auto;
  width: var(--roulette-h);
  height: var(--roulette-h);
  overflow: hidden;
  border-radius: 0.28rem;
  container-type: size;
  background: #111;
}

.home-body-roulette--breast .home-body-roulette__window {
  border-radius: 0.35rem 0.35rem 0.18rem 0.18rem;
}

.home-body-roulette--body .home-body-roulette__window {
  border-radius: 0.18rem;
}

.home-body-roulette--butt .home-body-roulette__window {
  border-radius: 0.18rem 0.18rem 0.35rem 0.35rem;
}

.home-body-roulette__focus {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1.5px solid #ff4d94;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 77, 148, 0.2);
  pointer-events: none;
}

.home-body-roulette__track {
  --roulette-index: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--roulette-gap);
  height: 100%;
  width: max-content;
  transform: translateX(
    calc(-1 * var(--roulette-index) * (var(--roulette-card) + var(--roulette-gap)))
  );
  transition: transform 0.34s cubic-bezier(0.22, 1.05, 0.36, 1);
}

.home-body-roulette__track.is-spinning {
  transition-duration: 0.38s;
}

.home-body-roulette__item {
  position: relative;
  flex: 0 0 var(--roulette-card);
  width: var(--roulette-card);
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f3f3f3;
  color: inherit;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0.4;
  filter: saturate(0.75) brightness(0.82);
  transition:
    opacity 0.28s ease,
    filter 0.28s ease;
}

.home-body-roulette__item.is-selected {
  opacity: 1;
  filter: none;
  z-index: 1;
}

.home-body-roulette__media,
.home-body-roulette__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #f3f3f3;
}

.home-body-roulette--breast .home-body-roulette__media {
  object-position: center 28%;
}

.home-body-roulette--body .home-body-roulette__media {
  object-position: center 42%;
}

.home-body-roulette--butt .home-body-roulette__media {
  object-position: center 68%;
}

.home-body-roulette__fallback {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  background: #161318;
}

.home-body-roulette__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 0.3rem 0.28rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.home-body-option-card {
  width: 100%;
  flex: none;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.home-body-option-card .home-movies-card__media {
  object-fit: cover;
  object-position: center;
  background: #0a0a0a;
}

.home-body-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.home-body-step {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.home-body-feed .home-movies-compose {
  margin-top: 0.25rem;
}

@media (min-width: 900px) {
  .home-body-steps {
    grid-template-columns: minmax(17rem, 21rem) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
  }

  .home-body-step {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
  }

  .home-body-step--options {
    max-width: 21rem;
  }

  .home-body-step .home-body-options,
  .home-body-step .home-movies-compose {
    flex: 1 1 auto;
    min-width: 0;
  }

  .home-body-roulettes {
    max-width: none;
    margin: 0;
    height: 100%;
    justify-content: space-between;
    overflow: visible;
  }

  .home-body-roulette {
    --roulette-h: 7.6rem;
  }

  .home-body-roulette--breast,
  .home-body-roulette--butt {
    --roulette-h: 7.2rem;
  }

  .home-body-roulette--body {
    --roulette-h: 8.1rem;
  }

  .home-body-roulette__window {
    overflow: hidden;
  }

  .home-body-feed .home-body-steps .home-movies-compose {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: stretch !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0.15rem 0 0 !important;
    gap: 0.55rem !important;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
  }

  .home-body-feed .home-body-steps .home-movies-compose__arrow {
    flex-direction: column !important;
    width: auto !important;
    min-width: 3.25rem;
    min-height: 4rem !important;
    align-self: center;
  }

  .home-body-feed .home-body-steps .home-movies-compose__arrow .material-symbols-outlined {
    transform: rotate(-90deg);
  }

  .home-body-feed .home-body-steps .home-movies-preview,
  .home-body-feed .home-body-steps .home-movies-face,
  .home-body-feed .home-body-steps .home-undress-panel--pick.home-movies-face {
    aspect-ratio: 3 / 4 !important;
    width: 100%;
    height: auto;
    max-height: 22rem !important;
    min-height: 0;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .home-body-roulettes {
    max-width: none;
  }

  .home-body-roulette {
    --roulette-h: 7rem;
  }

  .home-body-roulette--breast,
  .home-body-roulette--butt {
    --roulette-h: 6.6rem;
  }

  .home-body-roulette--body {
    --roulette-h: 7.5rem;
  }
}

@media (max-width: 560px) {
  .home-porn-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .home-porn-card {
    padding: 0.9rem 0.8rem 1rem;
  }
}

/* Layout compartilhado: Shorts / Pornô / Filmes — etapas lado a lado */
.home-tool-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  align-items: start;
}

.home-tool-step {
  min-width: 0;
  max-width: 100%;
}

.home-shorts-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1rem 1.05rem 1.15rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  position: relative;
}

.home-shorts-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ff4d94;
}

.home-shorts-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.home-shorts-panel__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-shorts-panel__head p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

.home-shorts-panel .home-shorts-dropzone {
  border-radius: 0.4rem;
  min-height: 8.5rem;
  background:
    linear-gradient(160deg, rgba(255, 77, 148, 0.1), transparent 48%),
    #050505;
}

.home-shorts-panel .home-shorts-dropzone.has-media {
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 3 / 4;
}

.home-shorts-panel .home-shorts-controls {
  margin-top: auto;
  gap: 0.65rem;
}

.home-shorts-panel .home-shorts-generate {
  width: 100%;
}

.home-shorts-steps .home-shorts-hero {
  padding: 0.85rem 0.75rem 1rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
}

.home-shorts-steps .home-shorts-stack {
  width: min(100%, 14.5rem);
  height: 19.25rem;
}

@media (min-width: 900px) {
  .home-tool-steps {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0.9rem;
    align-items: stretch;
  }

  .home-porn-steps {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.9fr);
  }

  .home-movies-steps {
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.85fr);
  }

  .home-shorts-steps {
    grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 1fr);
  }

  .home-tool-step {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .home-tool-steps .home-movies-section,
  .home-tool-steps .home-porn-card,
  .home-tool-steps .home-shorts-panel {
    height: 100%;
  }

  .home-tool-steps .home-movies-compose {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: stretch !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0.15rem 0 0 !important;
    gap: 0.55rem !important;
  }

  .home-tool-steps .home-movies-compose__arrow {
    flex-direction: column !important;
    width: auto !important;
    min-width: 3.25rem;
    min-height: 4rem !important;
    align-self: center;
  }

  .home-tool-steps .home-movies-compose__arrow .material-symbols-outlined {
    transform: rotate(-90deg);
  }

  .home-tool-steps .home-movies-preview,
  .home-tool-steps .home-movies-face,
  .home-tool-steps .home-undress-panel--pick.home-movies-face {
    aspect-ratio: 3 / 4 !important;
    width: 100%;
    height: auto;
    max-height: 20rem !important;
    min-height: 0;
    align-self: center;
  }

  .home-tool-step--templates .home-movies-grid,
  .home-tool-step--models .home-movies-grid {
    max-height: none;
  }

  .home-porn-steps .home-porn-card {
    overflow: auto;
    max-height: min(70vh, 42rem);
  }

  .home-undress-feed__header {
    padding-bottom: 0.15rem;
  }

  .home-undress-feed__header h2 {
    font-size: 1.35rem;
  }
}
