.tool-container {
    max-width: 980px;
    margin: 50px auto;
    padding: 45px;
    background: #ffffff;

}
.tool-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.tool-sub {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 45px;
}
/* 分区标题 */
.section-title {
    font-size: 17px;
    font-weight: 500;
    color: #334155;
    margin: 40px 0 18px;
    padding-left: 10px;
    border-left: 5px solid #3b82f6;
}
/* 复选框强力兼容 */
.option-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap;
    margin: 10px 0;
}
.option-row input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    outline: none !important;
    background-color: #fff !important;
    accent-color: #3b82f6 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}
.option-row label {
    font-size: 15px;
    color: #475569;
    cursor: pointer;
}
/* 速度调节区域加宽加粗 样式醒目 */
.speed-box {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 12px;
}
.speed-box span {
    font-size: 15px;
    color: #333;
    min-width: 80px;
    font-weight: 500;
}
#speedRange {
    flex: 1;
    height: 10px;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, #3b82f6, #e2e8f0);
}
#speedRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/* 名单输入框 */
#nameInput {
    width: 100%;
    height: 140px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    resize: none;
    outline: none;
    transition: all 0.25s ease;
    line-height: 1.7;
}
#nameInput:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.tip-text {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 12px;
    padding-left: 6px;
}
/* 按钮组宽松排版 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 22px;
}
.btn {
    padding: 12px 26px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: #3b82f6;
    color: #fff;
}
.btn-primary:hover {
    background-color: #2563eb;
}
.btn-default {
    background-color: #f1f5f9;
    color: #334155;
}
.btn-default:hover {
    background-color: #e2e8f0;
}
.btn-success {
    background-color: #10b981;
    color: #fff;
}
.btn-success:hover {
    background-color: #059669;
}
#fileInput {
    display: none;
}
/* 点名展示大屏 */
.show-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0;
    border-radius: 20px;
    background: linear-gradient(135deg,#f8fafc,#eff6ff);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}
/* 记录区域 */
.name-list {
    margin-top: 15px;
}
.name-operate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.name-operate span {
    font-size: 15px;
    color: #334155;
}
.name-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.name-item {
    padding: 8px 16px;
    background: #e0f2fe;
    border-radius: 10px;
    font-size: 14px;
    color: #0369a1;
    cursor: pointer;
    transition: 0.2s;
}
.name-item:hover {
    background: #bae6fd;
}
/* 顶部消息提示 */
.msg-tip {
    position: fixed;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: #1f2937;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    z-index: 9999;
    display: none;
}