/* ==========================================================================
   《物理 OL：火种重燃》第十章《浮力》专属样式表 (css/chapters/ch10-buoyancy.css)
   暖调手作科学工坊 · 解谜手账风（100% 暖米色工程卡纸与钢笔墨线）
   ========================================================================== */

#ch10-stage1-canvas,
#ch10-stage2-canvas,
#ch10-stage3-canvas,
#ch10-stage4-canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    background: #FAF6EE;
    touch-action: none;
}

.buoyancy-param-card {
    background: #FFFDF9;
    border: 2px solid #222629;
    box-shadow: 3px 3px 0 #222629;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.buoyancy-param-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.buoyancy-param-cell {
    background: #FAF6EE;
    border: 1.5px solid #222629;
    border-radius: 7px;
    padding: 6px 8px;
    text-align: center;
}

.buoyancy-param-cell .label {
    font-size: 11px;
    color: #475569;
    font-weight: 800;
}

.buoyancy-param-cell .val {
    font-size: 15px;
    font-weight: 900;
    color: #222629;
    font-family: 'JetBrains Mono', monospace;
}

.buoyancy-tip-box {
    background: #FEF3C7;
    border: 1.5px dashed #D97706;
    border-radius: 8px;
    padding: 7px 9px;
    font-size: 11.5px;
    font-weight: 800;
    color: #92400E;
    line-height: 1.45;
}

.lab-slider-card {
    background: #FAF6EE;
    border: 1.5px solid #222629;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.lab-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #222629;
}

.lab-slider-pill {
    background: #1E293B;
    color: #FDE047;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #222629;
}

.lab-slider-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.lab-step-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1.5px solid #222629;
    background: #FFFDF9;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lab-step-btn:hover {
    background: #DBEAFE;
}

.lab-range-input {
    flex: 1;
    accent-color: #2563EB;
    cursor: pointer;
    height: 6px;
}

.lab-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lab-preset-chip {
    flex: 1;
    min-width: 54px;
    padding: 3px 5px;
    font-size: 10.5px;
    font-weight: 800;
    border-radius: 5px;
    border: 1px solid #222629;
    background: #FFFDF9;
    color: #222629;
    cursor: pointer;
    text-align: center;
}

.lab-preset-chip.active,
.lab-preset-chip:hover {
    background: #2563EB;
    color: #FFFFFF;
}
