#perfil .profile-stage {
  background: #bccedb;
  transition: background-color 850ms ease;
}
#perfil .profile-stage[data-slide='1'] {
  background: #c6c7db;
}
#perfil .profile-stage[data-slide='2'] {
  background: #bcd3cf;
}
#perfil .profile-color {
  background: radial-gradient(ellipse at 65% 65%, #edf3f5b3, transparent 68%);
}
#perfil .profile-stage .profile-photo {
  translate: 0 0 !important;
}
#perfil .profile-stage[data-slide='1'] .profile-photo {
  translate: -14% 4% !important;
}
#perfil .profile-stage[data-slide='2'] .profile-photo {
  translate: 8%0 !important;
}
#perfil .profile-stage > .profile-sticker {
  left: 76%;
  right: auto;
  top: 30%;
  bottom: auto;
  max-width: 23%;
  background: #fbfcff;
  color: #252c38;
  box-shadow: 0 8px 24px #263e5b18;
}
#perfil .profile-stage > .profile-sticker::after {
  background: #fbfcff;
}
#perfil .profile-stage[data-slide='1'] > .profile-sticker {
  left: 64%;
  top: 12%;
}
#perfil .profile-stage[data-slide='2'] > .profile-sticker {
  left: 43%;
  top: 44%;
}
@media (max-width: 1099px) {
  #perfil .profile-stage .profile-photo {
    right: 0;
    bottom: -7%;
    opacity: 1;
  }
  #perfil .profile-stage[data-slide='1'] .profile-photo {
    translate: -14% 4% !important;
  }
  #perfil .profile-stage[data-slide='2'] .profile-photo {
    translate: 13%0 !important;
  }
  #perfil .profile-stage > .profile-sticker {
    left: 70%;
    top: 41%;
    max-width: 28%;
    padding: 9px 10px;
    font-size: 10px;
  }
  #perfil .profile-stage[data-slide='1'] > .profile-sticker {
    left: 46%;
    top: 15%;
    max-width: 48%;
  }
  #perfil .profile-stage[data-slide='2'] > .profile-sticker {
    left: 8%;
    top: 47%;
    max-width: 45%;
  }
}
@media (prefers-reduced-motion: reduce) {
  #perfil .profile-stage,
  #perfil .profile-stage .profile-photo {
    transition: none;
  }
}
@media (max-width: 599px) {
  #perfil .profile-stage[data-slide='0'] .profile-photo {
    translate: -8%0 !important;
  }
  #perfil .profile-stage[data-slide='0'] > .profile-sticker {
    left: 67%;
    top: 43%;
    width: 30%;
    max-width: 30%;
    min-width: 0;
    padding: 8px;
    font-size: 9px;
    white-space: normal;
  }
  #perfil .profile-stage[data-slide='0'] > .profile-sticker::before,
  #perfil .profile-stage[data-slide='0'] .profile-note-text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: normal;
  }
}
@media (min-width: 600px) and (max-width: 1099px) {
  #perfil .profile-stage[data-slide='1'] > .profile-sticker {
    left: 55%;
  }
  #perfil .profile-stage[data-slide='2'] > .profile-sticker {
    left: 39%;
  }
}
.portrait-collage .collage-center {
  background: #bccedb;
  border: 1px solid rgb(255 255 255/90%);
  box-shadow:
    var(--glass-shadow),
    0 0 34px rgb(223 238 251/28%);
  isolation: isolate;
  container-type: size;
}
.portrait-collage .collage-center::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 52% 38%, rgb(246 251 255/48%), transparent 70%);
  pointer-events: none;
}
.portrait-photo-plane,
.portrait-eye-brush {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 100%;
  translate: -50%0;
  pointer-events: none;
}
@supports (width: 1cqw) {
  .portrait-photo-plane,
  .portrait-eye-brush {
    width: min(100cqw, 84.31677cqh);
    height: auto;
    aspect-ratio: 1086/1288;
  }
}
.portrait-photo-plane {
  z-index: 1;
}
.portrait-photo-plane > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.portrait-collage .collage-center::after {
  display: block;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-reflection);
  opacity: 0.45;
  z-index: 2;
  pointer-events: none;
}
.portrait-glass-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(145deg, rgb(232 242 249/14%), rgb(190 211 227/22%));
  backdrop-filter: blur(5px) saturate(95%);
  -webkit-backdrop-filter: blur(5px) saturate(95%);
  mask-image: radial-gradient(circle closest-side at 50% 46%, transparent 0 83%, #000 84%);
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 46%, transparent 0 83%, #000 84%);
  pointer-events: none;
}
.portrait-glass-veil::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(/assets/images/background/vidrio-esmerilado.jpg) center/cover;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.portrait-eye-brush {
  z-index: 4;
  rotate: -4deg;
  transform-origin: 50% 38%;
  background: url(/assets/images/pincelada-blanca-original.webp) 60% 36%/66%auto no-repeat;
}
@supports not (mask-image: linear-gradient(#000, #000)) {
  @supports not (-webkit-mask-image: linear-gradient(#000, #000)) {
    .portrait-glass-veil {
      display: none;
    }
  }
}

/* La presentación permanece fija y negra en las tres vistas y todos los tamaños. */
#perfil .profile-stage-copy h3,
#perfil .profile-stage-copy p {
  color: #000 !important;
}
