/* menu.css — 菜单系统样式 */
    /* ════════════════════════════════════════
       菜单系统样式
    ════════════════════════════════════════ */

    .menu-toggle-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 100;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border: 2px solid #667eea;
      color: #fff;
      font-size: 1.4rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
      line-height: 1;
      padding: 0;
    }

    .menu-toggle-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 200;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .menu-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    .main-menu {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 280px;
      background: #fff;
      z-index: 210;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    }

    .main-menu.open {
      transform: translateX(0);
    }

    .menu-header {
      padding: 24px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: #fff;
      text-align: center;
    }

    .menu-avatar {
      font-size: 3rem;
      margin-bottom: 12px;
    }

    .menu-title {
      font-size: 1.2rem;
      font-weight: bold;
    }

    .menu-items {
      flex: 1;
      overflow-y: auto;
      padding: 12px 0;
    }

    .menu-item {
      display: flex;
      align-items: center;
      padding: 16px 24px;
      background: none;
      border: none;
      width: 100%;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: left;
    }

    .menu-item:hover {
      background: #f5f5f5;
    }

    .menu-item-icon {
      font-size: 1.3rem;
      margin-right: 12px;
    }

    .menu-item-label {
      flex: 1;
      font-size: 0.95rem;
      font-weight: 500;
      color: #333;
    }

    .menu-item-badge {
      background: #ff6b9d;
      color: #fff;
      padding: 2px 8px;
      border-radius: 10px;
      font-size: 0.75rem;
      margin-right: 8px;
    }

    .menu-item-arrow {
      color: #999;
      font-size: 1.2rem;
    }

    .menu-footer {
      padding: 16px 24px;
      border-top: 1px solid #eee;
    }

    .menu-version {
      text-align: center;
      font-size: 0.8rem;
      color: #999;
    }

