/* ARETÉ RT 2.0 · ajustes editoriales quirúrgicos. No alterar estructura ni móvil. */

/* Recorte de papel de agenda, ligeramente desalineado como en una revista. */
@media(min-width:900px){
  html body #eventos.paper .event-data time.date{
    border:0!important;
    border-radius:2px!important;
    padding:12px 22px!important;
    margin:0 0 17px 3px!important;
    min-height:45px!important;
    font-family:Georgia,'Times New Roman',serif!important;
    font-style:italic!important;
    font-weight:800!important;
    font-size:clamp(15px,1.35vw,21px)!important;
    color:#F0E5D6!important;
    background:#2B1D29!important;
    transform:rotate(-4deg)!important;
    box-shadow:none!important;
    filter:drop-shadow(2px 4px 2px rgba(41,21,32,.24))!important;
    clip-path:polygon(0 6%,5% 3%,13% 5%,20% 1%,34% 4%,43% 0,55% 4%,65% 1%,77% 3%,88% 0,100% 4%,99% 94%,91% 97%,82% 95%,72% 100%,62% 96%,48% 100%,36% 96%,24% 98%,12% 95%,1% 100%)!important;
  }
  html body #soundtrack.night.sound>.ar-sound-bust-only{
    width:clamp(230px,16.5vw,262px)!important;
    right:-3px!important;
    bottom:-36px!important;
  }
  html body #residentes .resident-list>.resident-card:first-child .resident-editorial-photo img{
    object-position:53% 26%!important;
  }
}

/* El visualizador se activa con reproducción de audio confirmada, no con la selección. */
#soundtrack .wave.is-audio-playing span{
  animation:rt2-wave-activity .62s ease-in-out infinite alternate;
  transform-origin:center center;
  will-change:transform;
}
#soundtrack .wave.is-audio-playing span:nth-child(5n+1){animation-duration:.47s;animation-delay:-.16s}
#soundtrack .wave.is-audio-playing span:nth-child(5n+2){animation-duration:.73s;animation-delay:-.31s}
#soundtrack .wave.is-audio-playing span:nth-child(5n+3){animation-duration:.54s;animation-delay:-.43s}
#soundtrack .wave.is-audio-playing span:nth-child(5n+4){animation-duration:.88s;animation-delay:-.21s}
#soundtrack .wave.is-audio-playing span:nth-child(5n){animation-duration:.65s;animation-delay:-.37s}
@keyframes rt2-wave-activity{
  0%{transform:scaleY(.42);opacity:.48}
  100%{transform:scaleY(1.3);opacity:1}
}
#soundtrack .platforms a.rt2-link-unavailable{
  opacity:.37!important;cursor:default!important;pointer-events:none!important;
}
@media(prefers-reduced-motion:reduce){
  #soundtrack .wave.is-audio-playing span{animation:none!important;will-change:auto!important}
}

/* Intro: preserve the original ARETÉ vector contours, avoid raster filters.
   The underline has been removed from the DOM by the RT2 renderer. */
#arete-first-visit-intro .arete-entry-logo{
  filter:none!important;
  image-rendering:auto!important;
}

/* Keep status for assistive technology; only actionable failures become
   visually visible. Preserve the existing panel height and controls. */
html body #soundtrack .ar-audio-notice:not(.rt2-notice-actionable){
  opacity:0!important;
}
html body #soundtrack .ar-audio-notice.rt2-notice-actionable{
  opacity:1!important;
}

/* 30 DIC 2026 · recorte original de la propuesta visual aprobada por el usuario.
   Fotografía recortada con transparencia: bordes, desgaste y tinta reales.
   Solo página en español, solo esa fecha: otras fechas conservan texto dinámico.
   El <time> mantiene su texto y datetime reales para lectores de pantalla/SEO. */
@media (min-width:900px) {
 html[lang="es"] body #eventos.paper.section .event-data time.date[datetime="2026-12-30"] {
   display:inline-flex!important;
   position:relative!important;
   width:230px!important;
   height:45px!important;
   min-height:45px!important;
   padding:0!important;
   margin:0 0 17px 3px!important;
   overflow:visible!important;
   background:none!important;
   color:transparent!important;
   font-size:0!important;
   transform:translateY(-18px)!important;
   clip-path:none!important;
   filter:none!important;
 }
 html[lang="es"] body #eventos.paper.section .event-data time.date[datetime="2026-12-30"]::before {
   content:""!important;
   display:block!important;
   position:absolute!important;
   top:-32px!important;
   left:-7px!important;
   width:237px!important;
   height:93px!important;
   background:transparent url("/assets/rt2-date-sticker-preuvas-authentic-20261123.svg") center / contain no-repeat!important;
   border:0!important;
   border-radius:0!important;
   transform:none!important;
   clip-path:none!important;
   filter:drop-shadow(2px 3px 2px rgba(33,14,23,.22))!important;
   pointer-events:none!important;
 }
}
