/* WIJDR REV60: only comment section and reply controls. */
#comments[data-wijdr-rev57] .comment-actions.rev60-actions{
  display:flex;flex-wrap:wrap;align-items:center;column-gap:7px;row-gap:6px;
  padding-top:9px;margin-top:12px;
}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions .rev60-lang{
  order:50;flex:0 1 auto;width:auto;min-width:104px;max-width:min(170px, 42vw);
  margin:0;height:31px;min-height:31px;padding:3px 7px;
  color:#5a3a27;background:#fffaf1;border:1px solid #cdb89f;border-radius:3px;
  font-size:12px;font-weight:600;line-height:1.2;font-family:inherit;
}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions .rev60-translate{
  order:51;min-height:31px;margin:0;padding:5px 9px;
}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions .rev60-audio{
  order:52;min-height:31px;margin:0;padding:5px 9px;
}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions .rev60-audio[hidden]{display:none!important;}
#comments[data-wijdr-rev57] article.comment > .rev47-comment-controls{
  /* Keep this direct child for the existing translator and audio playback events,
     but hide the unused status row so all reader actions share one footer. */
  display:none!important;
}
/* Preserve the native audio timeline/volume controls after the Listen click.
   They expand only during active playback; the primary button stays in the footer. */
#comments[data-wijdr-rev57] article.comment > .rev47-comment-controls:has(.rev57-audio-player){
  display:flex!important;align-items:center;gap:0;
  margin:7px 0 0;padding:0;border:0;background:transparent;
}
#comments[data-wijdr-rev57] article.comment > .rev47-comment-controls:has(.rev57-audio-player) > :not(audio){
  display:none!important;
}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions .inline-form{display:inline-flex;align-items:center;margin:0;}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions .inline-form button{margin:0;}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions :is(button,a,select){white-space:nowrap;}
#comments[data-wijdr-rev57] .comment-actions.rev60-actions :is(button,a,select):focus-visible{
  outline:2px solid #996843;outline-offset:2px;
}
@media(max-width:540px){
 #comments[data-wijdr-rev57] .comment-actions.rev60-actions{column-gap:5px;row-gap:5px;}
 #comments[data-wijdr-rev57] .comment-actions.rev60-actions :is(button,a){font-size:11px;padding:5px 7px;}
 #comments[data-wijdr-rev57] .comment-actions.rev60-actions .rev60-lang{font-size:11px;min-width:92px;}
}
