        body {font-family: Arial, sans-serif;margin: 0;padding: 0;height: 0px;/* 增加页面高度以测试滚动 */background: #f0f0f0;}

        /* 侧边栏样式 */
        .my-sidebar {
            position: fixed;
            top: 35%;
            right: 0;
            width: 60px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px); /* 毛玻璃效果 */
            border-radius: 10px;
            padding: 20px 18px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            z-index: 999;
            font-size: 24px;
            text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
        }

        .my-sidebar ul {list-style: none;padding: 0;margin: 0;}

        .my-sidebar ul li {margin: 15px 0;display: flex;align-items: center;justify-content: center;}

        /* 图标样式 */
        .my-sidebar ul li a {
            display: flex;
            align-items: center;
            justify-content: center;
            color: black; /* 设置为黑色 */
            font-size: 40px; /* 调整图标大小 */
            text-align: center;
            text-decoration: none;
        }

        .my-sidebar ul li a:hover {color: #000000; /* 悬停效果 */}

        /* 返回顶部按钮的样式 */
        .my-sidebar .back-to-top {font-size: 24px;color: #000000;display: flex;justify-content: center;cursor: pointer;}

        .my-sidebar .back-to-top:hover {color: #000000;}

        .my-sidebar i {color: #000000 !important;}

    @media (max-width: 480px) {
        .sidebar {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            display: flex;
            align-items: stretch;
            padding-bottom: env(safe-area-inset-bottom);
        }

        .sidebar .my-sidebar {
            position: static;
            flex: 1 1 auto;             /* 占据大块区域 */
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            align-items: center;
            margin: 0;
            width: auto;
            height: auto;
            border-radius: 0;
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.5);
        }

        .sidebar .my-sidebar li {
            margin: 0;
            flex: 1 1 auto;
            display: flex;
            min-width: 56px;
            justify-content: center;
            align-items: center;
        }

        .sidebar .back-to-top {
            position: static;
            right: auto;
            bottom: auto;
            top: auto;
            left: auto;
            transform: none;

            /* 让它像一个 li 一样参与分配 */
            flex: 1 1 0;
            min-width: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 10px 12px;
            cursor: pointer;
        }

        body {padding-bottom: 80px;}
    }