/* ===========================================================
   全站滚动条：深色细条（前台 + 后台统一）
   轨道 #041D3B / 滑块 #3A4A60 / 宽度 10px
   - scrollbar-color + scrollbar-width：Firefox
   - ::-webkit-scrollbar：Chromium / WebKit
   =========================================================== */
html {
    /* 常驻纵向滚动条：短页面（如 admin/login.php）也预留 10px 槽位，
     * 长页 ↔ 短页互跳时内容区宽度恒为 innerWidth-10，不再横向跳动 10px。
     * 不能用 scrollbar-gutter:stable 替代 —— 实测不足一屏的页面不预留槽位（短页 clientWidth=innerWidth）。 */
    overflow-y: scroll;
    /* 横向裁剪上移到 html：body 若保留 overflow-x:hidden，在 html 非 visible 时会变成第二个滚动容器，
     * 导致 position:sticky（about 页简介图）失效。 */
    overflow-x: hidden;
    scrollbar-color: #3A4A60 #041D3B;
    scrollbar-width: thin;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #041D3B;
}
::-webkit-scrollbar-thumb {
    background: #3A4A60;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4C5F7A;
}
::-webkit-scrollbar-corner {
    background: #041D3B;
}
