:root #tool-body { --bg-color: #f5f7fa; --card-bg: #ffffff; --primary: #1e9fff; --dark-item: #2b2d36; }
#tool-body .main-container { max-width: 900px; margin: 20px auto; }
#tool-body .upload-area {
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  border-width: 2px;
  cursor: pointer;
  transition: .3s;
  display: block;
  color: inherit;
}
#tool-body .upload-area:hover { border-color: var(--primary); }
#tool-body .upload-icon { font-size: 48px; color: var(--primary); margin-bottom: 10px; }

#tool-body .section-title { margin: 20px 0 10px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
#tool-body .clear-btn { font-size: 14px; color: #ff5722; cursor: pointer; font-weight: normal; }

#tool-body .audio-item { background: var(--dark-item); color: #fff; border-radius: 8px; margin-bottom: 15px; padding: 15px; display: flex; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

#tool-body .play-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-right: 15px; flex-shrink: 0; transition: 0.2s; }
#tool-body .play-btn:hover { background: var(--primary); transform: scale(1.1); }
#tool-body .play-btn i { font-size: 20px; color: #fff; }

#tool-body .audio-info { flex: 1; min-width: 0; margin-right: 20px; }
#tool-body .file-name { font-size: 14px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tool-body .file-meta { font-size: 12px; color: #bbb; margin-bottom: 5px; }
#tool-body .badge-wav { background: #16baaa; color: #fff; padding: 0 4px; border-radius: 2px; font-size: 10px; margin-left: 5px; }
#tool-body .badge-mp3 { background: #ffb800; color:#333; padding: 0 4px; border-radius: 2px; font-size: 10px; margin-left: 5px; }
#tool-body .waveform-box { height: 50px; width: 100%; opacity: 0.9; cursor: text; }

#tool-body .volume-control { min-width: 100px; flex-shrink: 0; text-align: center; margin-top: 14px; width: 20%; }
#tool-body .layui-slider { background-color: #4a4d55; margin-top: 10px; }
#tool-body .gain-tip { font-size: 10px; color: #aaa; margin-top: 5px; }

#tool-body .del-btn { margin-left: 15px; color: #ff5722; cursor: pointer; font-size: 20px; opacity: 0.6; transition: 0.2s; }
#tool-body .del-btn:hover { opacity: 1; transform: scale(1.1); }

#tool-body .output-area { display: none; margin-top: 40px; border-top: 1px solid #eee; padding-top: 20px; }
#tool-body .output-item { border: 1px solid #eee; border-radius: 6px; padding: 12px 15px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
#tool-body .output-left { display: flex; align-items: center; gap: 15px; flex: 1; }
#tool-body .output-name { font-weight: bold; max-width: calc(100vw - 200px); width: 500px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tool-body .output-tag { font-size: 12px; padding: 2px 6px; border-radius: 4px; margin-right: 5px; font-weight: normal;}
#tool-body .tag-mp3 { background: #fff8e1; color: #d6a306; border: 1px solid #ffeebb; }
#tool-body .tag-wav { background: #e3f7f5; color: #009688; border: 1px solid #bcece8; }
#tool-body .output-size { font-size: 12px; color: #999; }
#tool-body .custom-checkbox { width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary); }
#tool-body .footer-bar { width: 100%; padding: 25px 0; text-align: center; }

@media screen and (max-width: 768px) {
  #tool-body .output-left {max-width: calc(100% - 120px);}
}
@media screen and (min-width: 768px) and (max-width: 999px){
  #tool-body .output-name { width: 370px; }
}
.theme-dark-mode #tool-body .output-area,
.theme-dark-mode #tool-body .output-item{border-color: #444;}
.theme-dark-mode #tool-body .output-right .play-result-btn {color: #d2d2d2;}
.theme-dark-mode #tool-body .check-all {color: inherit !important;}      
.theme-dark-mode #tool-body .tag-mp3 { background: #d6a306; color: #fff8e1; border: 0; }
.theme-dark-mode #tool-body .tag-wav { background: #009688; color: #e3f7f5; border: 0; }