@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
[data-bg-video-invalid="true"] {
  outline: 2px dashed var(--ub-danger);
  outline-offset: -2px;
}

#tag-edit {
  display: block;
  height: 0;
  scroll-margin-top: 90px;
}

#iwn7myk {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1e;
  text-decoration: none;
}

#icg5afl {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1e;
}

#ils1wmj {
  margin-top: 16px;
}

#ietif8s {
  font-family: var(--ub-font-display);
  font-size: clamp(28px, 5vw, 40px);
  margin: 12px 0 8px;
  color: #1c1c1e;
  line-height: 1.15;
}

#ixp9n8g {
  margin: 0 0 24px;
  max-width: 620px;
  color: #2c2c34;
  font-size: 17px;
  line-height: 1.6;
}

#i9pjl4r {
  font-size: 14px;
  color: #555a6a;
  margin: 4px 0 12px;
}

#iirpvxf {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  border: 2px dashed #1c1c1e55;
  text-align: center;
  margin-bottom: 20px;
}

#irkkfkj {
  max-width: 1000px;
  margin: 0 auto;
  background: #dde5ff;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  box-sizing: border-box;
}

#tool-audio-trimmer {
  padding: 24px;
  background: #fff;
  scroll-margin-top: 90px;
  box-sizing: border-box;
}

body,
body * {
  font-family: var(--ub-font-display) !important;
}

#tool-audio-trimmer #iirpvxf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 20px;
  margin-bottom: 0;
  background: transparent !important;
  border: none !important;
  text-align: center;
}

#tool-audio-trimmer #tr-pick,
#tool-audio-trimmer #izcsjrg,
#tool-audio-trimmer #tr-replace,
#tool-audio-trimmer #tr-trim,
#tool-audio-trimmer #tr-download {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: #b9c9ff !important;
  color: #1c1c1e !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

#tool-audio-trimmer #tr-pick {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px;
  min-height: 130px;
  padding: 0 !important;
  background: #b9c9ff url("https://api.iconify.design/lucide/scissors.svg?color=%231c1c1e") center / 64px 64px no-repeat !important;
  font-size: 0 !important;
}

#tool-audio-trimmer #izcsjrg,
#tool-audio-trimmer #tr-replace,
#tool-audio-trimmer #tr-trim,
#tool-audio-trimmer #tr-download {
  min-height: 56px !important;
  padding: 16px 24px !important;
  font-size: 18px !important;
  text-decoration: none !important;
}

#tool-audio-trimmer #i9pjl4r {
  margin: 0;
  color: #555a6a;
  font-size: 14px;
}

#tool-audio-trimmer #tr-workspace {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: center;
}

#tool-audio-trimmer #tr-art-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  max-width: 100%;
  margin: 0 auto 8px;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
}

#tool-audio-trimmer #tr-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tool-audio-trimmer #tr-placeholder {
  color: #8794cc;
  font-size: 80px;
}

#tool-audio-trimmer #tr-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(28, 28, 30, 0.85) !important;
  color: white !important;
  font-size: 26px;
  cursor: pointer;
}

#tool-audio-trimmer #tr-name {
  display: block;
  max-width: 100%;
  font-size: 20px;
  overflow-wrap: anywhere;
}

#tool-audio-trimmer #tr-info,
#tool-audio-trimmer #tr-status {
  margin: 0;
  color: #555a6a;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#tool-audio-trimmer #tr-wave-wrap {
  width: 100%;
  max-width: 660px;
  margin: 14px auto;
}

#tool-audio-trimmer #tr-wave-title {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
}

#tool-audio-trimmer #tr-waveform {
  display: block;
  width: 100%;
  height: 130px;
  background: #fff;
  border-radius: 14px;
  cursor: ew-resize;
  touch-action: none;
}

#tool-audio-trimmer #tr-range-times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #555a6a;
  font-size: 13px;
}

#tool-audio-trimmer #tr-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 480px;
  margin: 8px auto 14px;
  text-align: left;
}

#tool-audio-trimmer #tr-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1c1c1e;
}

#tool-audio-trimmer #tr-fields input,
#tool-audio-trimmer #tr-fields select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #c5cbe0;
  border-radius: 12px;
  background: #fff;
  color: #1c1c1e;
  font: inherit;
}

#tool-audio-trimmer #tr-quality-note {
  max-width: 440px;
  margin: 0 auto 12px;
  color: #555a6a;
  font-size: 13px;
  line-height: 1.6;
}

#tool-audio-trimmer #tr-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

#tool-audio-trimmer #tr-replace,
#tool-audio-trimmer #tr-trim {
  width: 100%;
  min-width: 0;
}

#tool-audio-trimmer #tr-download {
  margin: 8px auto 0;
}

#tool-audio-trimmer #tr-progress,
#tool-audio-trimmer #tr-result {
  width: 100%;
  max-width: 400px;
}

#tool-audio-trimmer #tr-progress {
  height: 10px;
  accent-color: #8794cc;
}

#tool-audio-trimmer #tr-status {
  margin: 22px auto 0;
  text-align: center;
}

#tool-audio-trimmer #tr-workspace[hidden],
#tool-audio-trimmer #iirpvxf[hidden],
#tool-audio-trimmer #tr-cover[hidden],
#tool-audio-trimmer #tr-placeholder[hidden],
#tool-audio-trimmer #tr-bitrate-wrap[hidden],
#tool-audio-trimmer #tr-progress[hidden],
#tool-audio-trimmer #tr-result[hidden],
#tool-audio-trimmer #tr-download[hidden] {
  display: none !important;
}

#tool-audio-trimmer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#tr-replace {
  background-color: #94adff !important;
}

#tr-trim {
  background-color: #94adff !important;
}

#vn-normalize,
#tool-mp3-tag-editor :is(.beatelo-upload-icon, #beatelo-download),
#tool-audio-trimmer :is(#tr-pick, #tr-download),
#tool-audio-joiner :is(#aj-pick, #aj-download),
#tool-volume-normalizer :is(#vn-pick, #vn-download) {
  background-color: #b9c9ff !important;
  transition: background-color 0.2s ease;
}

#vn-normalize,
#tool-mp3-tag-editor :is(.beatelo-upload-icon, #beatelo-download):not(:disabled):hover,
#tool-audio-trimmer :is(#tr-pick, #tr-download):not(:disabled):hover,
#tool-audio-joiner :is(#aj-pick, #aj-download):not(:disabled):hover,
#tool-volume-normalizer :is(#vn-pick, #vn-download):not(:disabled):hover {
  background-color: #94adff !important;
}

#tool-audio-trimmer #izcsjrg {
  background-color: #b9c9ff !important;
  transition: background-color 0.2s ease !important;
}

#tool-audio-trimmer #izcsjrg:hover {
  background-color: #94adff !important;
}

@media (max-width: 480px) {
#tool-audio-trimmer #tr-fields {
    gap: 12px;
  }

#tool-audio-trimmer #tr-replace,
  #tool-audio-trimmer #tr-trim {
    padding: 14px 10px !important;
    font-size: 15px !important;
  }
}

:root {
  --ub-font-display: 'Poppins', Arial, sans-serif;
  --ub-font-body: 'Poppins', Arial, sans-serif;
  --ub-font-display-color: #1c1c1e;
  --ub-font-body-color: #2c2c34;
  --ub-bg: #ffffff;
  --ub-surface: #ffffff;
  --ub-border: #ececf3;
  --ub-section-bg: #ffffff;
  --ub-max-width: 1200px;
  --ub-section-padding-v: 32px;
  --ub-heading-h1-size: clamp(32px, 5vw, 56px);
  --ub-heading-h1-line-height: 1.15;
  --ub-heading-h1-weight: 700;
  --ub-heading-h2-size: clamp(28px, 4vw, 38px);
  --ub-heading-h2-line-height: 1.2;
  --ub-heading-h2-weight: 600;
  --ub-heading-h3-size: 24px;
  --ub-heading-h3-weight: 600;
  --typography-paragraph-font-size-level-1: 16px;
  --typography-paragraph-line-height-level-1: 1.6;
  --ub-paragraph-weight: 400;
  --ub-paragraph-letter-spacing: 0;
  --ub-link-color: #3158ad;
  --ub-link-color-hover: #22438c;
  --ub-link-color-active: #19336b;
  --ub-link-md-font-size: 14px;
  --ub-button-primary-font: var(--ub-font-display);
  --ub-button-primary-default-fill: #292b32;
  --ub-button-primary-default-text: #ffffff;
  --ub-button-primary-default-border: #292b32;
  --ub-button-primary-default-radius: 10px;
  --ub-button-primary-hover-fill: #41444e;
  --ub-button-primary-hover-text: #ffffff;
  --ub-button-primary-hover-border: #41444e;
  --ub-button-primary-active-fill: #17191f;
  --ub-button-primary-active-text: #ffffff;
  --ub-button-primary-active-border: #17191f;
  --ub-button-primary-font-weight: 600;
  --ub-button-primary-lg-padding-x: 24px;
  --ub-button-primary-lg-padding-y: 14px;
  --r-lg: 20px;
}
body { margin: 0; font-family: var(--ub-font-body); color: var(--ub-font-body-color); }
button, input, select, textarea { font-family: inherit; }

/* Local-script font fallbacks */
:root { --ub-font-display: 'Poppins', 'Noto Sans Bengali', 'Nirmala UI', Vrinda, sans-serif; --ub-font-body: 'Poppins', 'Noto Sans Bengali', 'Nirmala UI', Vrinda, sans-serif; }
body, body * { font-family: 'Poppins', 'Noto Sans Bengali', 'Nirmala UI', Vrinda, sans-serif !important; }
