/* 外层容器：基础样式 + 响应式基础 */
  .mindmap-wrapper {
    margin: 10px auto;
    max-width: 1200px;
  }

  /* 标题样式 */
  .mindmap-title {
    text-align: center;
    margin: 0 0 10px;
    padding: 0px 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    font-family: "Microsoft YaHei", sans-serif;
    border-bottom: 1px solid #4299e1;
  }

  /* 外层容器：基础样式 + 响应式基础 */
  .mindmap-container {
    position: relative;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px; /* 限制最大宽度，避免大屏过宽 */
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    background: white;
  }

  /* 思维导图容器：高度自适应屏幕，默认占视口60%高度 */
  .markmap {
    width: 100%;
    height: 65vh; /* 用视口高度单位，随屏幕高度变化 */
    min-height: 500px; /* 最小高度，避免小屏幕过矮 */
  }

 /* 最大化按钮样式 */
  .maximize-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    z-index: 100;
    transition: background 0.2s;
  }
  .maximize-btn:hover {
    background: #3182ce;
  }

  /* 全屏状态样式 */
  .mindmap-container:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border: none !important;
    background: white !important;
    z-index: 9999;
  }
  .mindmap-container:fullscreen .markmap {
    height: 100vh !important;
  }
  .mindmap-container:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border: none !important;
    background: white !important;
    z-index: 9999;
  }
  .mindmap-container:-webkit-full-screen .markmap {
    height: 100vh !important;
  }  
