#mobileAppDialog {
  width: min(420px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1.2rem;
  border: 1px solid #36515d;
  border-radius: 14px;
  background: #101923;
  color: #f1f8fb;
  text-align: center;
}
#mobileAppDialog::backdrop { background: rgb(0 0 0 / 75%); }
#mobileAppDialog .mobile-app-heading {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  text-align: left;
}
#mobileAppDialog h2 { font-size: 1.25rem; margin: 0; }
#mobileAppDialog .mobile-app-heading button {
  padding: .25rem .65rem;
  cursor: pointer;
}
#mobileAppDialog img { display: block; margin: 0 auto .55rem; background: white; }
#mobileAppDialog a { color: #70efdb; }
#mobileAppInstructions { margin: 1rem 0; font-size: .875rem; text-align: left; }
#mobileAppDialog [hidden], #mobileAppOpen[hidden] { display: none !important; }

/* Aniyae: el iframe ocupa el área completa sin recortarse en pantallas estrechas. */
#animeAudioEs .wtv-player-column,
#animeAudioEs .wtv-detail-layout,
#animeAudioEs .wtv-episode-panel { min-width: 0; }
#animeAudioEs .wtv-video-surface { width: 100%; box-sizing: border-box; }
#animeAudioEs .wtv-aniyae-frame,
#animeAudioEs .wtv-video-surface video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}
@media (max-width: 760px) {
  #animeAudioEs .wtv-detail-layout { grid-template-columns: minmax(0, 1fr) !important; }
  #animeAudioEs .wtv-player-column { grid-row: 1; }
  #animeAudioEs .wtv-video-controls { gap: .4rem; }
}
