.tn-m4a-page {
  --m4a-paper: #faf6ee;
  --m4a-wash: #f0e8d7;
  --m4a-ink: #241a0e;
  --m4a-muted: #645139;
  --m4a-line: #b8a888;
  --m4a-soft: #ddd4be;
  --m4a-button: #ede6d4;
  --m4a-button-text: #241a0e;
  --m4a-action-line: #b8a888;
  --m4a-hover: #dfd4bb;
  --m4a-primary: #382311;
  --m4a-primary-hover: #633511;
  --m4a-primary-text: #f7ead1;
  --m4a-focus: #963d0b;
  --m4a-sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", system-ui, sans-serif;
  --m4a-mono: "Courier New", Courier, monospace;
  min-width: 0;
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  color-scheme: light;
}
body:is([data-scheme="dark"], [data-scheme="inverse"], [data-scheme="auto"][data-d="dark"], [data-scheme="auto"][data-l="dark"]) .tn-m4a-page,
html[data-scheme="dark"] body:not([data-scheme="light"]) .tn-m4a-page {
  --m4a-paper: #241d12;
  --m4a-wash: #322a1a;
  --m4a-ink: #f7ead1;
  --m4a-muted: #c3b492;
  --m4a-line: #826744;
  --m4a-soft: #574a37;
  --m4a-button: #2f2115;
  --m4a-button-text: #f7ead1;
  --m4a-action-line: #826744;
  --m4a-hover: #3a2a1b;
  --m4a-primary: #6a3b1f;
  --m4a-primary-hover: #824826;
  --m4a-primary-text: #f7ead1;
  --m4a-focus: #e8823f;
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-m4a-page {
    --m4a-paper: #241d12;
    --m4a-wash: #322a1a;
    --m4a-ink: #f7ead1;
    --m4a-muted: #c3b492;
    --m4a-line: #826744;
    --m4a-soft: #574a37;
    --m4a-button: #2f2115;
    --m4a-button-text: #f7ead1;
    --m4a-action-line: #826744;
    --m4a-hover: #3a2a1b;
    --m4a-primary: #6a3b1f;
    --m4a-primary-hover: #824826;
    --m4a-primary-text: #f7ead1;
    --m4a-focus: #e8823f;
    color: var(--m4a-ink);
    -webkit-text-fill-color: var(--m4a-ink);
    color-scheme: dark;
  }
}
.tn-m4a-page [hidden] { display: none !important; }
.tn-m4a-page .tn-m4a-tool {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-family: var(--m4a-sans);
  font-size: 14px;
  line-height: 1.6;
}
.tn-m4a-tool,
.tn-m4a-tool *,
.tn-m4a-tool *::before,
.tn-m4a-tool *::after { box-sizing: border-box; }
.tn-m4a-tool :is(p, label, strong) { margin: 0; padding: 0; }
.tn-m4a-tool :is(code, pre, kbd, samp) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  -webkit-text-fill-color: inherit;
}
.tn-m4a-tool .tn-m4a-workspace {
  min-width: 0;
  border: 1px solid var(--m4a-line);
  background: var(--m4a-paper);
}
.tn-m4a-tool .tn-m4a-drop {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 280px;
  margin: 16px;
  padding: 28px 18px;
  border: 1px dashed var(--m4a-line);
  background: var(--m4a-wash);
  text-align: center;
}
.tn-m4a-tool .tn-m4a-drop-title {
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.tn-m4a-tool .tn-m4a-drop.is-dragging {
  border-color: var(--m4a-focus);
  box-shadow: inset 0 0 0 1px var(--m4a-focus);
}
.tn-m4a-tool .tn-m4a-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--m4a-line);
  border-bottom: 1px solid var(--m4a-soft);
}
.tn-m4a-tool :is(.tn-m4a-settings, .tn-m4a-field, .tn-m4a-actions, .tn-m4a-file-actions) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.tn-m4a-tool .tn-m4a-settings { gap: 12px 20px; }
.tn-m4a-tool label {
  display: block;
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.tn-m4a-tool select {
  appearance: auto;
  -webkit-appearance: menulist;
  display: block;
  width: 124px;
  min-width: 0;
  max-width: 100%;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--m4a-line);
  border-radius: 0;
  background: var(--m4a-wash);
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-family: var(--m4a-sans);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: normal;
  letter-spacing: normal;
  box-shadow: none;
  outline: none;
  cursor: pointer;
}
.tn-m4a-tool select option { background: var(--m4a-paper); color: var(--m4a-ink); -webkit-text-fill-color: var(--m4a-ink); }
.tn-m4a-page .tn-m4a-tool :is(button, .tn-m4a-download) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--m4a-action-line);
  border-radius: 0;
  background: var(--m4a-button);
  color: var(--m4a-button-text);
  -webkit-text-fill-color: var(--m4a-button-text);
  font-family: var(--m4a-mono);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  outline: none;
  cursor: pointer;
}
.tn-m4a-page .tn-m4a-tool :is(button, .tn-m4a-download):is(:hover, :focus-visible):not(:disabled) { background: var(--m4a-hover); }
.tn-m4a-page .tn-m4a-tool :is(#tnM4aConvert, .tn-m4a-download) {
  background: var(--m4a-primary);
  color: var(--m4a-primary-text);
  -webkit-text-fill-color: var(--m4a-primary-text);
}
.tn-m4a-page .tn-m4a-tool :is(#tnM4aConvert, .tn-m4a-download):is(:hover, :focus-visible):not(:disabled) { background: var(--m4a-primary-hover); }
.tn-m4a-page .tn-m4a-tool :is(button, select):disabled { opacity: .55; cursor: not-allowed; }
.tn-m4a-page .tn-m4a-tool :is(button, select, a, audio, .tn-m4a-drop):focus-visible,
.tn-m4a-page .tn-m4a-table-wrap:focus-visible { outline: 2px solid var(--m4a-focus); outline-offset: 2px; }
.tn-m4a-tool [aria-invalid="true"] { border-color: var(--m4a-focus); }
.tn-m4a-tool :is(.tn-m4a-hint, .tn-m4a-file-detail, .tn-m4a-emptyhint) {
  color: var(--m4a-muted);
  -webkit-text-fill-color: var(--m4a-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.tn-m4a-tool .tn-m4a-quality { padding: 10px 16px; }
.tn-m4a-tool .tn-m4a-feedback { padding: 0 16px; }
.tn-m4a-tool .tn-m4a-feedback > :not([hidden]):not(:empty) { margin-bottom: 12px; }
.tn-m4a-tool #tnM4aProgress {
  display: block;
  width: 100%;
  height: 8px;
  margin: 4px 0 12px;
  border: 0;
  border-radius: 0;
  accent-color: var(--m4a-focus);
  background: var(--m4a-wash);
}
.tn-m4a-tool #tnM4aProgress::-webkit-progress-bar { background: var(--m4a-wash); }
.tn-m4a-tool #tnM4aProgress::-webkit-progress-value { background: var(--m4a-focus); }
.tn-m4a-tool #tnM4aProgress::-moz-progress-bar { background: var(--m4a-focus); }
.tn-m4a-tool .tn-m4a-error {
  color: var(--m4a-focus);
  -webkit-text-fill-color: var(--m4a-focus);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.tn-m4a-tool :is(#tnM4aError, #tnM4aStatus):empty { display: none; }
.tn-m4a-tool .tn-m4a-queue { min-width: 0; }
.tn-m4a-tool .tn-m4a-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  min-width: 0;
  padding: 16px;
  border-top: 1px solid var(--m4a-line);
  background: var(--m4a-paper);
}
.tn-m4a-tool .tn-m4a-file > * { min-width: 0; max-width: 100%; }
.tn-m4a-tool .tn-m4a-file-name {
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: normal;
}
.tn-m4a-tool :is(.tn-m4a-file-name, .tn-m4a-file-detail, .tn-m4a-file-status) { grid-column: 1; }
.tn-m4a-tool .tn-m4a-file-detail { font-variant-numeric: lining-nums tabular-nums; }
html body .tn-m4a-page #tnM4aTool .tn-m4a-file-detail {
  color: var(--m4a-muted) !important;
  -webkit-text-fill-color: var(--m4a-muted) !important;
}
.tn-m4a-tool .tn-m4a-file-status {
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.tn-m4a-tool .tn-m4a-file-actions { grid-column: 2; grid-row: 1 / span 3; justify-content: flex-end; }
.tn-m4a-tool audio {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 54px;
  margin: 4px 0 0;
  color-scheme: inherit;
}
.tn-m4a-tool .tn-m4a-emptyhint { padding: 16px; border-top: 1px solid var(--m4a-soft); }
.tn-m4a-tool :is(.tn-m4a-note, noscript p) {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--m4a-line);
  color: var(--m4a-muted);
  -webkit-text-fill-color: var(--m4a-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.tn-m4a-page .tn-m4a-table-wrap { min-width: 0; max-width: 100%; margin: 16px 0; overflow-x: auto; }
.tn-m4a-page .tn-m4a-size-table {
  width: 100%;
  min-width: 0;
  margin: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--m4a-ink);
  -webkit-text-fill-color: var(--m4a-ink);
  font-family: var(--m4a-sans);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
}
.tn-m4a-page .tn-m4a-size-table caption { margin-bottom: 8px; color: var(--m4a-muted); -webkit-text-fill-color: var(--m4a-muted); font-size: 12px; text-align: left; }
.tn-m4a-page .tn-m4a-size-table :is(th, td) { padding: 9px 6px; border: 1px solid var(--m4a-line); color: var(--m4a-ink); -webkit-text-fill-color: var(--m4a-ink); line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
.tn-m4a-page .tn-m4a-size-table th { background: var(--m4a-wash); font-weight: 700; }
.tn-m4a-page .tn-m4a-size-table td { background: var(--m4a-paper); }
.tn-m4a-page .tn-m4a-ad {
  width: 100%;
  max-width: 900px;
  min-height: 90px;
  height: auto;
  max-height: none;
  margin: 24px auto;
  border: 0;
  background: transparent;
  overflow: visible;
}
.tn-m4a-page .tn-m4a-ad--top { margin-top: 0; }
@media (max-width: 600px) {
  .tn-m4a-tool .tn-m4a-drop { min-height: 236px; margin: 12px; padding: 24px 12px; gap: 14px; }
  .tn-m4a-tool .tn-m4a-drop-title { font-size: 18px; }
  .tn-m4a-tool .tn-m4a-toolbar { gap: 12px; padding: 12px; }
  .tn-m4a-tool .tn-m4a-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px; }
  .tn-m4a-tool .tn-m4a-field { display: grid; gap: 6px; }
  .tn-m4a-tool .tn-m4a-field select { width: 100%; }
  .tn-m4a-tool .tn-m4a-actions { gap: 6px; }
  .tn-m4a-page .tn-m4a-tool .tn-m4a-actions button { padding-right: 10px; padding-left: 10px; }
  .tn-m4a-tool .tn-m4a-quality { padding: 10px 12px; }
  .tn-m4a-tool .tn-m4a-feedback { padding: 0 12px; }
  .tn-m4a-tool .tn-m4a-file { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 6px; }
  .tn-m4a-tool .tn-m4a-file-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 4px; }
  .tn-m4a-tool .tn-m4a-emptyhint { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-m4a-tool,
  .tn-m4a-tool *,
  .tn-m4a-tool *::before,
  .tn-m4a-tool *::after { animation: none; transition: none; scroll-behavior: auto; }
}
