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

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

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

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

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

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

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

.pressure-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;
}

/* 五位一体精密滑块组件样式 */
.uikit-slider-box {
    background: #FAF6EE;
    border: 1.5px solid #222629;
    border-radius: 8px;
    padding: 7px 9px;
    margin: 7px 0;
}

.uikit-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 11.5px;
    font-weight: 900;
    color: #222629;
}

.uikit-slider-badge {
    background: #222629;
    color: #F2B749;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 900;
    padding: 1px 7px;
    border-radius: 999px;
}

.uikit-slider-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
}

.uikit-step-btn {
    width: 24px;
    height: 24px;
    border: 1.5px solid #222629;
    border-radius: 6px;
    background: #FFFDF9;
    color: #222629;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.uikit-step-btn:hover {
    background: #FEF3C7;
}

.uikit-range-input {
    flex: 1;
    accent-color: #E05A47;
    cursor: pointer;
    height: 6px;
}

.uikit-preset-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.uikit-preset-chip {
    background: #FFFDF9;
    border: 1px solid #222629;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 10.5px;
    font-weight: 800;
    color: #222629;
    cursor: pointer;
}

.uikit-preset-chip.active,
.uikit-preset-chip:hover {
    background: #F2B749;
    color: #222629;
}
