
    #menuBtn{

        position: fixed;

        top: 20px;
        left: 20px;

        z-index: 20;

        width: auto;
        padding: 12px 18px;

        border: none;
        border-radius: 14px;

        background: rgba(20,40,80,0.85);

        color: #d8ecff;

        font-size: 15px;

        cursor: pointer;

        backdrop-filter: blur(10px);

        border: 1px solid rgba(120,180,255,0.25);

        box-shadow:
            0 0 18px rgba(0,140,255,0.25);

        transition: 0.25s;
    }

    #menuBtn:hover{

        transform: translateY(-2px);

        background: rgba(40,80,140,0.95);

        box-shadow:
            0 0 24px rgba(80,180,255,0.45);
    }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            user-select: none;
        }

        body {
            background-color: #080c14;
            color: #e0e6ed;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            height: 100vh;
            overflow: auto;
        }

        /* 骨架布局 */
        .container {
            display: table;
            width: 100%;
            height: 100vh;
            border-collapse: collapse;
            min-width: 1024px; /* 新增：限制最小宽度为 1024px，窗口更小时会出现水平滚动条 */
            min-height: 600px;
        }

        .left-panel {
            display: table-cell;
            width: 73%;
            height: 100%;
            position: relative;
            vertical-align: top;
            background: radial-gradient(circle at 50% 50%, #0d1b2a 0%, #080c14 100%);
            border-right: 2px solid #1a2f4c;
        }

        .right-panel {
            display: table-cell;
            width: 27%;
            height: 100%;
            vertical-align: top;
            background-color: #0b132b;
            padding: 30px 24px;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        }

        /* 画布与展示区域 */
        canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        /* 右侧控制面板样式 */
        h1 {
            font-size: 22px;
            font-weight: 600;
            color: #4cc9f0;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
        }

        .subtitle {
            font-size: 13px;
            color: #6c7a89;
            margin-bottom: 30px;
            line-height: 1.4;
        }

        .control-group {
            background: rgba(26, 47, 76, 0.3);
            border: 1px solid #1a2f4c;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 20px;
        }

        .group-title {
            font-size: 14px;
            font-weight: bold;
            color: #f72585;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .group-title::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 14px;
            background-color: #f72585;
            margin-right: 8px;
            border-radius: 2px;
        }

        .group-title.blue::before {
            background-color: #4cc9f0;
        }

        .group-title.blue {
            color: #4cc9f0;
        }

        .group-title.purple::before {
            background-color: #7209b7;
        }

        .group-title.purple {
            color: #7209b7;
        }

        /* 滑块调节 */
        .slider-container {
            margin-bottom: 10px;
        }

        .slider-label {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            margin-bottom: 6px;
            color: #b5c4d6;
        }

        .slider-val {
            font-family: monospace;
            font-weight: bold;
            color: #ffffff;
        }

        input[type="range"] {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            background: #102a43;
            border-radius: 3px;
            outline: none;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #4cc9f0;
            cursor: pointer;
            box-shadow: 0 0 8px rgba(76, 201, 240, 0.6);
            transition: transform 0.1s;
        }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .car-b-slider::-webkit-slider-thumb {
            background: #9b5de5 !important;
            box-shadow: 0 0 8px rgba(155, 93, 229, 0.6) !important;
        }

        /* 单选按钮组 */
        .radio-tile-group {
            display: block;
        }

        .radio-option {
            display: block;
            position: relative;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .radio-option input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .tile {
            display: block;
            padding: 12px 16px;
            background: #0f1c3f;
            border: 1px solid #1a2f4c;
            border-radius: 6px;
            font-size: 13px;
            color: #a0aec0;
            transition: all 0.2s ease;
        }

        .radio-option input:checked~.tile {
            background: rgba(76, 201, 240, 0.1);
            border-color: #4cc9f0;
            color: #ffffff;
            box-shadow: 0 0 10px rgba(76, 201, 240, 0.15);
        }

        /* 动作按钮 */
        .btn-container {
            display: table;
            width: 100%;
            border-spacing: 10px 0;
            margin-top: 10px;
        }

        .btn-cell {
            display: table-cell;
        }

        button {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        #btn-start {
            background: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
            box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
        }

        #btn-start:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        #btn-start.paused {
            background: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
            box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
        }

        #btn-reset {
            background: #1a2f4c;
            border: 1px solid #2e476b;
            color: #a0aec0;
        }

        #btn-reset:hover {
            background: #254066;
            color: #fff;
        }

        /* 顶部物理实时数据板 */
        .data-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(8, 12, 20, 0.85);
            border: 1px solid #1a2f4c;
            border-radius: 6px;
            padding: 12px 18px;
            pointer-events: none;
            backdrop-filter: blur(5px);
        }

        .data-line {
            font-size: 12px;
            font-family: monospace;
            color: #8da2bb;
            margin-bottom: 4px;
        }

        .data-line:last-child {
            margin-bottom: 0;
        }

        .data-highlight {
            font-weight: bold;
            color: #ffffff;
        }

        /* 水印/说明 */
        .watermark {
            position: absolute;
            bottom: 20px;
            left: 20px;
            font-size: 12px;
            color: #4a5d73;
            pointer-events: none;
        }