#controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.8);
    padding: 15px;
    border-radius: 8px;
    z-index: 100;
    pointer-events: auto; /* 允许自身接收事件 */

}
/* 在原有样式基础上添加以下内容 */
.slider-container {
    position: relative; /* 为刻度定位提供参考 */
    flex-direction: column; /* 改为纵向排列 */
}

/* 刻度容器 */
.ticks-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 8px; /* 与滑块的padding匹配 */
    position: absolute;
    bottom: 90%; /* 显示在滑块上方 */
    left: 0;
    pointer-events: none; /* 防止影响滑块操作 */
}

/* 单个刻度 */
.tick {
    position: relative;
    text-align: center;
    font-size: 14px;
    color: #666;
    width: 1px;
}

.tick::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    height: 8px;
    width: 1px;
    background: #ccc;
    transform: translateX(-50%);
}

/* 调整滑块样式 */
input[type="range"] {
    width: 100%;
    margin: 25px 0 10px; /* 给刻度留出空间 */
}

/* 文件名显示调整 */
#filenameDisplay {
    margin-top: 10px;
    font-size: 16px; /* 修正应该是font-size: 16px */
   
}
