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

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

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

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

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

#ifywr12 {
  margin-top: 16px;
}

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

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

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

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

#tool-key-detector #kd-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-key-detector #kd-pick,
#tool-key-detector #kd-droptext,
#tool-key-detector #kd-replace,
#tool-key-detector #kd-analyze {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #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;
}

#tool-key-detector #kd-pick:hover,
#tool-key-detector #kd-droptext:hover,
#tool-key-detector #kd-replace:hover,
#tool-key-detector #kd-analyze:hover {
  background: #e98bb8 !important;
}

#tool-key-detector #kd-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/music-2.svg?color=%231c1c1e") center / 64px 64px no-repeat !important;
  border-radius: 50% !important;
  font-size: 0 !important;
}

#tool-key-detector #kd-droptext,
#tool-key-detector #kd-replace,
#tool-key-detector #kd-analyze {
  min-height: 56px !important;
  padding: 16px 24px !important;
  font-size: 18px !important;
}

#tool-key-detector #kd-formats {
  margin: 0;
  color: #555a6a;
  font-size: 14px;
}

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

#tool-key-detector #kd-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-key-detector #kd-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tool-key-detector #kd-placeholder {
  color: #d57aa6;
  font-size: 80px;
}

#tool-key-detector #kd-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-key-detector #kd-name {
  display: block;
  max-width: 100%;
  color: #1c1c1e;
  font-size: 20px;
  overflow-wrap: anywhere;
}

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

#tool-key-detector #kd-audio {
  width: 100%;
  max-width: 400px;
}

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

#tool-key-detector #kd-replace,
#tool-key-detector #kd-analyze {
  width: 100%;
  min-width: 0;
}

#tool-key-detector #kd-progress {
  width: 100%;
  max-width: 400px;
  height: 10px;
  accent-color: #e679ad;
}

#tool-key-detector #kd-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  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-key-detector #kd-result-label {
  margin: 0;
  color: #555a6a;
  font-size: 15px;
  font-weight: 700;
}

#tool-key-detector #kd-key {
  color: #1c1c1e;
  font-size: clamp(32px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

#tool-key-detector #kd-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

#tool-key-detector .kd-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  background: #fde0f0;
  border-radius: 14px;
}

#tool-key-detector .kd-detail span {
  color: #6c5360;
  font-size: 13px;
  font-weight: 600;
}

#tool-key-detector .kd-detail strong {
  color: #1c1c1e;
  font-size: 26px;
  font-weight: 800;
}

#tool-key-detector #kd-alternative {
  margin: 0;
  color: #a74876;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

#tool-key-detector #kd-note {
  max-width: 390px;
  margin: 0;
  color: #66616a;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

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

#tool-key-detector [hidden] {
  display: none !important;
}

#tool-key-detector button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#tool-key-detector #kd-pick:hover {
  background: #e98bb8 url("https://api.iconify.design/lucide/music-2.svg?color=%231c1c1e") center / 64px 64px no-repeat !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-key-detector #kd-actions {
    gap: 10px;
  }

#tool-key-detector #kd-replace,
  #tool-key-detector #kd-analyze {
    padding: 14px 10px !important;
    font-size: 15px !important;
  }

#tool-key-detector #kd-result {
    padding: 24px 14px;
  }

#tool-key-detector #kd-details {
    gap: 8px;
  }

#tool-key-detector .kd-detail strong {
    font-size: 23px;
  }
}

: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 SC', 'Noto Sans CJK SC', 'Microsoft YaHei', 'PingFang SC', sans-serif; --ub-font-body: 'Poppins', 'Noto Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', 'PingFang SC', sans-serif; }
body, body * { font-family: 'Poppins', 'Noto Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', 'PingFang SC', sans-serif !important; }
