.tadaoto-batch-loudness-page .bln-app { margin: 40px auto 0; max-width: 880px; }
.tadaoto-batch-loudness-page [hidden] { display: none !important; }
.tadaoto-batch-loudness-page .tool-panel + .tool-panel { margin-top: 20px; }
.tadaoto-batch-loudness-page .bln-drop { background: var(--tool-panel); border: 2px dashed #aeb5bc; border-radius: 12px; cursor: pointer; margin-top: 24px; padding: 34px 20px 32px; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.tadaoto-batch-loudness-page .bln-drop:hover,
.tadaoto-batch-loudness-page .bln-drop.is-over { background: #edf8fc; border-color: var(--tool-accent); }
.tadaoto-batch-loudness-page .bln-drop.is-disabled { cursor: wait; opacity: .55; }
.tadaoto-batch-loudness-page .bln-drop__icon { color: var(--tool-accent); display: inline-block; height: 42px; margin-bottom: 10px; width: 42px; }
.tadaoto-batch-loudness-page .bln-drop__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 100%; }
.tadaoto-batch-loudness-page .bln-drop__main { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.tadaoto-batch-loudness-page .bln-drop__sub,
.tadaoto-batch-loudness-page .bln-file-info,
.tadaoto-batch-loudness-page .bln-status { color: var(--tool-muted); font-size: 13px; line-height: 1.65; }
.tadaoto-batch-loudness-page .bln-file-info { margin: 12px 0 -0.3em; overflow-wrap: anywhere; }
.tadaoto-batch-loudness-page .bln-file-list,
.tadaoto-batch-loudness-page .bln-result-list { display: grid; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.tadaoto-batch-loudness-page .bln-file-item,
.tadaoto-batch-loudness-page .bln-result-item { align-items: center; background: var(--tool-panel); border: 1px solid var(--tool-line); border-radius: 10px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) auto; padding: 13px 15px; }
.tadaoto-batch-loudness-page .bln-file-main,
.tadaoto-batch-loudness-page .bln-result-main { min-width: 0; }
.tadaoto-batch-loudness-page .bln-file-name,
.tadaoto-batch-loudness-page .bln-result-name { display: block; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tadaoto-batch-loudness-page .bln-file-meta,
.tadaoto-batch-loudness-page .bln-result-meta { color: var(--tool-muted); display: block; font-size: 11px; line-height: 1.5; margin-top: 3px; }
.tadaoto-batch-loudness-page .bln-file-side { align-items: flex-end; display: flex; flex-direction: column; gap: 4px; }
.tadaoto-batch-loudness-page .bln-file-level { font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.tadaoto-batch-loudness-page .bln-file-adjustment { color: var(--tool-muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tadaoto-batch-loudness-page .bln-inline-button { background: transparent; border: 0; color: var(--tool-accent-dark); cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; padding: 3px 0; text-decoration: underline; text-underline-offset: 3px; }
.tadaoto-batch-loudness-page .is-error .bln-file-level,
.tadaoto-batch-loudness-page .bln-status.is-error { color: #a33a34; }

.tadaoto-batch-loudness-page .bln-progress { background: #edf8fc; border: 1px solid #c7e6f2; border-radius: 12px; margin-top: 20px; padding: 17px 20px; }
.tadaoto-batch-loudness-page .bln-progress__row { align-items: baseline; display: flex; font-size: 13px; gap: 12px; justify-content: space-between; }
.tadaoto-batch-loudness-page .bln-progress__row span { color: var(--tool-muted); font-variant-numeric: tabular-nums; }
.tadaoto-batch-loudness-page .bln-progress__track { background: #d8edf5; border-radius: 999px; height: 8px; margin-top: 11px; overflow: hidden; }
.tadaoto-batch-loudness-page .bln-progress__track span { background: var(--tool-accent); display: block; height: 100%; transition: width .2s ease; width: 0; }

.tadaoto-batch-loudness-page .bln-summary { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.tadaoto-batch-loudness-page .bln-summary div { background: var(--tool-panel); border: 1px solid var(--tool-line); border-radius: 10px; padding: 14px; }
.tadaoto-batch-loudness-page .bln-summary span,
.tadaoto-batch-loudness-page .bln-summary small { color: var(--tool-muted); display: block; font-size: 11px; }
.tadaoto-batch-loudness-page .bln-summary strong { display: inline-block; font-size: 20px; font-variant-numeric: tabular-nums; margin-top: 3px; }
.tadaoto-batch-loudness-page .bln-summary small { display: inline; margin-left: 4px; }
.tadaoto-batch-loudness-page .bln-presets { border: 0; border-top: 1px solid var(--tool-line); margin: 24px 0 0; padding: 22px 0 0; }
.tadaoto-batch-loudness-page .bln-presets legend { font-size: 16px; font-weight: 700; padding: 0; }
.tadaoto-batch-loudness-page .bln-preset-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 15px; }
.tadaoto-batch-loudness-page .bln-preset-grid label { cursor: pointer; }
.tadaoto-batch-loudness-page .bln-preset-grid input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.tadaoto-batch-loudness-page .bln-preset-grid label > span { background: #fff; border: 1px solid #b8bec5; border-radius: 10px; display: flex; flex-direction: column; min-height: 142px; padding: 15px; position: relative; }
.tadaoto-batch-loudness-page .bln-preset-grid label.is-selected > span { background: #edf8fc; border-color: var(--tool-accent); box-shadow: inset 0 0 0 1px var(--tool-accent); }
.tadaoto-batch-loudness-page .bln-preset-grid strong { font-size: 14px; }
.tadaoto-batch-loudness-page .bln-preset-grid b { font-size: 22px; font-variant-numeric: tabular-nums; margin-top: 8px; }
.tadaoto-batch-loudness-page .bln-preset-grid b small { color: var(--tool-muted); font-size: 10px; }
.tadaoto-batch-loudness-page .bln-preset-grid em { color: var(--tool-muted); font-size: 11px; font-style: normal; line-height: 1.5; margin-top: auto; padding-top: 10px; }
.tadaoto-batch-loudness-page .bln-preset-grid i { background: var(--tool-accent); border-radius: 999px; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; padding: 3px 7px; position: absolute; right: 10px; top: 10px; }
.tadaoto-batch-loudness-page .bln-preview,
.tadaoto-batch-loudness-page .bln-result-preview { background: var(--tool-panel); border-radius: 10px; margin-top: 20px; padding: 15px 16px; }
.tadaoto-batch-loudness-page .bln-preview__heading { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 9px; }
.tadaoto-batch-loudness-page .bln-preview h3 { font-size: 14px; margin: 0; }
.tadaoto-batch-loudness-page .bln-preview p,
.tadaoto-batch-loudness-page .bln-result-preview p { color: var(--tool-muted); font-size: 11px; margin: 0 0 8px; }
.tadaoto-batch-loudness-page .bln-preview audio,
.tadaoto-batch-loudness-page .bln-result-preview audio { display: block; width: 100%; }
.tadaoto-batch-loudness-page .bln-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tadaoto-batch-loudness-page .bln-button { border: 1px solid #b8bec5; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; min-height: 46px; padding: 11px 22px; }
.tadaoto-batch-loudness-page .bln-button--primary { background: var(--tool-accent); border-color: var(--tool-accent); color: #fff; }
.tadaoto-batch-loudness-page .bln-button--primary:hover { background: var(--tool-accent-dark); border-color: var(--tool-accent-dark); }
.tadaoto-batch-loudness-page .bln-button--secondary { background: #fff; color: var(--tool-ink); }
.tadaoto-batch-loudness-page .bln-button:disabled { cursor: wait; opacity: .55; }
.tadaoto-batch-loudness-page .bln-status { margin: 14px 0 -0.3em; }
.tadaoto-batch-loudness-page .bln-result { border-color: #b7ddcb; }
.tadaoto-batch-loudness-page .bln-result-item { grid-template-columns: minmax(0, 1fr) auto; }
.tadaoto-batch-loudness-page .bln-result-actions { align-items: center; display: flex; gap: 10px; }
.tadaoto-batch-loudness-page .bln-result-save { color: var(--tool-accent-dark); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tadaoto-batch-loudness-page .bln-result-warning { color: #8a5a18; }
.tadaoto-batch-loudness-page .bln-zip { margin-top: 18px; }
.tadaoto-batch-loudness-page .bln-note { background: var(--tool-panel); border-radius: 12px; margin-top: 22px; padding: 22px 24px; }
.tadaoto-batch-loudness-page .bln-note h2 { font-size: 16px; margin: 0 0 10px; }
.tadaoto-batch-loudness-page .bln-note ul { color: var(--tool-muted); font-size: 13px; line-height: 1.75; margin: 0; padding-left: 1.3em; }
.tadaoto-batch-loudness-page .bln-drop:focus-visible,
.tadaoto-batch-loudness-page button:focus-visible,
.tadaoto-batch-loudness-page input:focus-visible + span,
.tadaoto-batch-loudness-page a:focus-visible { outline: 3px solid rgba(6, 147, 205, .35); outline-offset: 3px; }

@media (max-width: 720px) {
  .tadaoto-batch-loudness-page .bln-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .tadaoto-batch-loudness-page .musiclist-title { font-size: 28px; text-wrap: balance; }
  .tadaoto-batch-loudness-page .bln-file-item,
  .tadaoto-batch-loudness-page .bln-result-item { align-items: flex-start; grid-template-columns: 1fr; }
  .tadaoto-batch-loudness-page .bln-file-side { align-items: flex-start; }
  .tadaoto-batch-loudness-page .bln-preset-grid { grid-template-columns: 1fr; }
  .tadaoto-batch-loudness-page .bln-preset-grid label > span { min-height: 112px; }
  .tadaoto-batch-loudness-page .bln-preview__heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .tadaoto-batch-loudness-page .bln-actions { display: grid; }
  .tadaoto-batch-loudness-page .bln-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tadaoto-batch-loudness-page .bln-drop,
  .tadaoto-batch-loudness-page .bln-progress__track span { transition: none; }
}
