/* 在线调速 · 页面样式（基于站点 bootstrap + common.css，与在线改调同一套视觉） */

/* 调速区宽度：宽屏下内容区固定 1140px（容器 1170 - 左右各 15 内边距），小屏自适应 */
.bd-col {
    width: 1170px;
    max-width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.bd-title { font-size: 22px; margin: 4px 0 14px; color: #333; }
.bd-title small { font-size: 13px; color: #999; }
.bd-title .fa { color: #EF8781; margin-right: 6px; }

#dropZone {
    border: 2px dashed #cfd8e3;
    border-radius: 8px;
    text-align: center;
    padding: 46px 16px;
    margin-top: 16px;
    color: #7a8699;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    -webkit-transition: border-color .2s, background .2s;
}
#dropZone:hover, #dropZone.bd-drag {
    border-color: #EF8781;
    background: #fff8f7;
}
#dropZone .fa { font-size: 40px; color: #b9c4d2; margin-bottom: 10px; display: block; }
#dropZone p { margin: 4px 0; font-size: 15px; color: #555; }

#uploadProgressWrap { margin-top: 16px; }

.bd-fileinfo {
    background: #f5f6f8;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}
.bd-tip { font-size: 13px; margin-bottom: 12px; line-height: 1.8; }

/* 速度档位按钮行：减速蓝 / 原速绿 / 加速橙（与变调页同一套配色） */
.bd-buttons { margin-bottom: 16px; }
.bd-break { display: block; height: 0; overflow: hidden; }   /* 减速组与加速组之间强制换行 */
.bd-btn { margin: 4px 6px 4px 0; padding: 7px 13px; font-size: 13px; border-radius: 4px; color: #fff; border: none; }
.bd-btn .fa { margin-right: 2px; }
.bd-neg { background: #4a7fd4; }
.bd-pos { background: #f0a13a; }
.bd-orig { background: #34a853; }
.bd-btn:hover { opacity: .88; }
.bd-btn.active, .bd-btn:focus { outline: none; }
.bd-neg.active { background: #2f5fae; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.bd-pos.active { background: #d4871c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.bd-orig.active { background: #2b8a44; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }

.bd-progress { margin-bottom: 16px; }
.bd-download { margin-top: 4px; }
#btnDownload { padding: 9px 22px; font-size: 14px; }
.bd-render { margin-top: 14px; }

/* 播放器行 */
.bd-player { display: flex; align-items: center; margin-bottom: 10px; }
.bd-playbtn {
    width: 42px; height: 42px; border-radius: 50%;
    background: #EF8781; color: #fff; border: none;
    font-size: 15px; flex: 0 0 auto; margin-right: 12px; padding: 0;
}
.bd-playbtn:hover { background: #F87A77; }
.bd-seekwrap { flex: 1 1 auto; cursor: pointer; padding: 8px 0; }
.bd-seektrack { height: 8px; background: #e6eaf0; border-radius: 4px; position: relative; overflow: hidden; }
.bd-seekfill { height: 100%; width: 0%; background: #EF8781; border-radius: 4px; }
.bd-seektime { flex: 0 0 auto; margin-left: 10px; font-size: 12px; color: #888; white-space: nowrap; }

/* 支持格式清单（由 api.php?act=ping 的实际能力渲染） */
.bd-caps {
    margin-top: 14px; padding: 12px 14px;
    border: 1px solid #e5e6e7; border-radius: 4px; background: #fafbfc;
}
.bd-caps-row { display: flex; align-items: flex-start; margin-bottom: 8px; }
.bd-caps-row:last-child { margin-bottom: 0; }
.bd-caps-label {
    flex: 0 0 132px; font-size: 12px; color: #888; line-height: 24px; white-space: nowrap;
}
.bd-caps-chips { flex: 1 1 auto; line-height: 24px; }
.bd-chip {
    display: inline-block; margin: 0 5px 4px 0; padding: 1px 8px;
    font-size: 12px; border-radius: 10px; border: 1px solid transparent;
    font-family: Menlo, Consolas, monospace;
}
.bd-chip.ok   { background: #eef7ef; color: #2f7a37; border-color: #cfe6d2; }
.bd-chip.off  { background: #fff6e8; color: #b57a17; border-color: #f2dfc0; }
.bd-chip.no   { background: #fdeceb; color: #b3453d; border-color: #f5d3d0; }
.bd-caps-note { margin-top: 8px; font-size: 12px; line-height: 1.7; }

.bd-foot { margin-top: 12px; }

@media (max-width: 767px) {
    /* 速度档位多（31 个），手机上按钮再紧凑一些 */
    .bd-btn { padding: 6px 8px; font-size: 12px; margin: 3px 4px 3px 0; }
    #dropZone { padding: 34px 12px; }
}
