
    #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);
    }




    :root {
      --bg-color: #0b0f19;
      --card-bg: #131b2e;
      --accent-color: #00f0ff;
      --accent-glow: rgba(0, 240, 255, 0.4);
      --text-color: #e2e8f0;
      --text-dim: #94a3b8;
      --border-color: #1e293b;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    header {
      padding: 15px 25px;
      background: rgba(19, 27, 46, 0.8);
      border-bottom: 1px solid var(--border-color);
      backdrop-filter: blur(10px);
    }

    header h1 {
      font-size: 1.4rem;
      font-weight: 600;
      letter-spacing: 1px;
      color: var(--accent-color);
      text-shadow: 0 0 10px var(--accent-glow);
      display: flex;
      align-items: center;
      gap: 10px;

      justify-content: flex-end;
    }

    /* 主容器响应式布局 */
    .app-container {
      display: flex;
      flex: 1;
      height: calc(100vh - 60px);
      padding: 15px;
      gap: 15px;
      overflow: hidden;
    }

    /* 展示区域（左侧） */
    .display-area {
      flex: 1 1 65%;
      display: flex;
      flex-direction: column;
      gap: 15px;
      min-width: 300px;
      min-height: 400px;
    }

    .canvas-card {
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 12px;
      position: relative;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    }

    .canvas-card h3 {
      font-size: 0.9rem;
      color: var(--text-dim);
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
    }

    .canvas-wrapper {
      flex: 1;
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 180px;
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 6px;
    }

    /* 控制面板（右侧） */
    .control-panel {
      flex: 0 0 340px;
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 18px;
      overflow-y: auto;
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    }

    .control-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .control-group label {
      font-size: 0.85rem;
      color: var(--text-dim);
      display: flex;
      justify-content: space-between;
    }

    .control-group label span.val {
      color: var(--accent-color);
      font-family: monospace;
      font-weight: bold;
    }

    /* Custom Radio Buttons */
    .radio-group {
      display: flex;
      gap: 10px;
      background: rgba(0, 0, 0, 0.2);
      padding: 4px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
    }

    .radio-btn {
      flex: 1;
      text-align: center;
      padding: 8px 0;
      font-size: 0.85rem;
      cursor: pointer;
      border-radius: 6px;
      transition: all 0.3s ease;
      color: var(--text-dim);
    }

    .radio-btn.active {
      background-color: var(--accent-color);
      color: #000;
      font-weight: bold;
      box-shadow: 0 0 12px var(--accent-glow);
    }

    /* Range Input Custom Styling */
    input[type="range"] {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 3px;
      background: #1e293b;
      outline: none;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent-color);
      cursor: pointer;
      box-shadow: 0 0 8px var(--accent-color);
      transition: transform 0.1s;
    }

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

    /* 按钮组样式 */
    .btn-group {
      display: flex;
      gap: 10px;
    }

    .btn {
      flex: 1;
      background: transparent;
      border: 1px solid var(--accent-color);
      color: var(--accent-color);
      padding: 10px;
      border-radius: 8px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .btn:hover {
      background: var(--accent-color);
      color: #000;
      box-shadow: 0 0 15px var(--accent-glow);
    }

    .btn.primary {
      background: var(--accent-color);
      color: #000;
      box-shadow: 0 0 10px var(--accent-glow);
    }

    .btn.primary:hover {
      background: #33f3ff;
      box-shadow: 0 0 20px var(--accent-glow);
    }

    /* 窄屏响应式（小于 850px 上下分栏，可滚动） */
    @media (max-width: 850px) {
      .app-container {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
      }

      .display-area {
        height: 550px;
        flex: none;
      }

      .control-panel {
        flex: none;
        width: 100%;
      }
    }