@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;
}

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

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

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

#i6k3isc {
  margin-top: 16px;
}

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

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

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

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

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

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

#tool-bpm-finder #id5dxvk {
  color: #1c1c1e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

#tool-bpm-finder #i6k3isc {
  margin-top: 16px;
}

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

#tool-bpm-finder #ib83on5 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  color: #1c1c1e;
}

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

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

#tool-bpm-finder #bpm-pick,
#tool-bpm-finder #bpm-droptext,
#tool-bpm-finder #bpm-replace,
#tool-bpm-finder #bpm-find,
#tool-bpm-finder #bpm-half,
#tool-bpm-finder #bpm-double,
#tool-bpm-finder #bpm-tap,
#tool-bpm-finder #bpm-tap-reset {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: #f2a2c8 !important;
  color: #1c1c1e !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

#tool-bpm-finder #bpm-pick:hover,
#tool-bpm-finder #bpm-droptext:hover,
#tool-bpm-finder #bpm-replace:hover,
#tool-bpm-finder #bpm-find:hover,
#tool-bpm-finder #bpm-half:hover,
#tool-bpm-finder #bpm-double:hover,
#tool-bpm-finder #bpm-tap:hover,
#tool-bpm-finder #bpm-tap-reset:hover {
  background-color: #eb87b8 !important;
}

#tool-bpm-finder #bpm-pick {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px !important;
  min-height: 130px !important;
  padding: 0 !important;
  background: #f2a2c8 url("https://api.iconify.design/lucide/gauge.svg?color=%231c1c1e") center / 64px 64px no-repeat !important;
  border-radius: 50% !important;
  font-size: 0 !important;
}

#tool-bpm-finder #bpm-droptext,
#tool-bpm-finder #bpm-replace,
#tool-bpm-finder #bpm-find {
  min-height: 56px !important;
  padding: 16px 24px !important;
  font-size: 18px !important;
}

#tool-bpm-finder #bpm-formats {
  margin: 0;
  color: #555a6a;
  font-size: 14px;
}

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

#tool-bpm-finder #bpm-artbox {
  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-bpm-finder #bpm-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tool-bpm-finder #bpm-placeholder {
  color: #d57aa6;
  font-size: 80px;
}

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

#tool-bpm-finder #bpm-name {
  display: block;
  max-width: 100%;
  color: #1c1c1e;
  font-size: 20px;
  overflow-wrap: anywhere;
}

#tool-bpm-finder #bpm-info {
  margin: 0;
  color: #555a6a;
  font-size: 14px;
  line-height: 1.6;
}

#tool-bpm-finder #bpm-source {
  width: 100%;
  max-width: 400px;
}

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

#tool-bpm-finder #bpm-replace,
#tool-bpm-finder #bpm-find {
  width: 100%;
  min-width: 0;
}

#tool-bpm-finder #bpm-progress {
  width: 100%;
  max-width: 400px;
  height: 10px;
  accent-color: #e679ad;
}

#tool-bpm-finder #bpm-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 14px auto 8px;
  padding: 28px 20px;
  box-sizing: border-box;
  background: #fff6fa;
  border: 1px solid #f4bbd7;
  border-radius: 22px;
}

#tool-bpm-finder #bpm-result-title {
  margin: 0;
  color: #555a6a;
  font-size: 15px;
  font-weight: 700;
}

#tool-bpm-finder #bpm-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

#tool-bpm-finder #bpm-value {
  color: #1c1c1e;
  font-size: clamp(60px, 12vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
}

#tool-bpm-finder #bpm-number span {
  color: #ca6097;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
}

#tool-bpm-finder #bpm-confidence {
  margin: 8px 0 0;
  color: #555a6a;
  font-size: 14px;
  font-weight: 600;
}

#tool-bpm-finder #bpm-adjustments {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

#tool-bpm-finder #bpm-half,
#tool-bpm-finder #bpm-double {
  min-width: 90px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 18px;
}

#tool-bpm-finder #bpm-guidance {
  max-width: 360px;
  margin: 0;
  color: #66616a;
  font-size: 13px;
  line-height: 1.6;
}

#tool-bpm-finder #bpm-tap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin: 12px auto 0;
  padding: 24px 18px;
  box-sizing: border-box;
  background: #fff6fa;
  border-radius: 20px;
}

#tool-bpm-finder #bpm-tap-title {
  margin: 0;
  color: #1c1c1e;
  font-size: 22px;
  font-weight: 800;
}

#tool-bpm-finder #bpm-tap-description {
  max-width: 380px;
  margin: 0;
  color: #555a6a;
  font-size: 14px;
  line-height: 1.6;
}

#tool-bpm-finder #bpm-tap-actions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 350px;
}

#tool-bpm-finder #bpm-tap,
#tool-bpm-finder #bpm-tap-reset {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  font-size: 17px;
}

#tool-bpm-finder #bpm-tap {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

#tool-bpm-finder #bpm-tap:active {
  transform: scale(0.96);
}

#tool-bpm-finder #bpm-tap-reset {
  background: #f7d4e6 !important;
}

#tool-bpm-finder #bpm-tap-output {
  margin: 0;
  color: #1c1c1e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

#tool-bpm-finder #bpm-status {
  margin: 22px auto 0;
  color: #555a6a;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}

#tool-bpm-finder [hidden] {
  display: none !important;
}

#tool-bpm-finder button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#tool-bpm-finder #bpm-adjustments,
#tool-bpm-finder #bpm-guidance {
  display: none !important;
}

#tool-loudness-meter #iauabip,
#tool-loudness-meter a[href="#analyze"] {
  color: #1c1c1e !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

@media (max-width: 480px) {
#tool-bpm-finder #bpm-actions {
    gap: 10px;
  }

#tool-bpm-finder #bpm-replace,
  #tool-bpm-finder #bpm-find {
    padding: 14px 10px !important;
    font-size: 15px !important;
  }

#tool-bpm-finder #bpm-result {
    padding: 24px 14px;
  }

#tool-bpm-finder #bpm-tap-card {
    padding: 22px 14px;
  }

#tool-bpm-finder #bpm-tap,
  #tool-bpm-finder #bpm-tap-reset {
    padding: 12px 10px;
    font-size: 15px;
  }
}

: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 Devanagari', 'Nirmala UI', Mangal, sans-serif; --ub-font-body: 'Poppins', 'Noto Sans Devanagari', 'Nirmala UI', Mangal, sans-serif; }
body, body * { font-family: 'Poppins', 'Noto Sans Devanagari', 'Nirmala UI', Mangal, sans-serif !important; }
