.batch-files[hidden], .batch-results[hidden], .batch-run[hidden] { display: none !important; }
.batch-files { margin: 10px 0; padding: 0; list-style: none; }
.batch-results { display: grid; gap: 14px; margin-top: 16px; min-width: 0; }
.batch-result { min-width: 0; }
.batch-result h3 { font-size: 15px; overflow-wrap: anywhere; margin: 0 0 12px; }
.batch-output + .batch-output { margin-top: 14px; }
.batch-output audio { width: 100%; }
.batch-note { font-size: 12px; color: var(--muted); margin: 8px 0 12px; }
.batch-note a { color: var(--purple); font-weight: 600; }
.batch-mode { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 10px 0; }
.batch-mode input { accent-color: var(--purple); }
.batch-run { margin: 10px 0; }
.batch-notice[hidden] { display: none !important; }
.batch-notice {
  position: fixed;
  z-index: 1100;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(570px, calc(100% - 32px));
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #cce3d5;
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #202323);
  box-shadow: 0 8px 32px rgb(20 40 30 / 14%);
  animation: batch-notice-enter 180ms ease-out;
}
.batch-notice p { margin: 0; font-size: 14px; line-height: 1.55; }
.batch-notice a { color: var(--purple, #c24b0e); font-weight: 600; text-underline-offset: 3px; }
.batch-notice-close {
  flex: 0 0 28px;
  width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted, #717575);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.batch-notice a:focus-visible, .batch-notice-close:focus-visible { outline: 2px solid var(--purple, #c24b0e); outline-offset: 3px; }
@keyframes batch-notice-enter {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) { .batch-notice { animation: none; } }
