::-webkit-scrollbar{
  width: 0.4rem;
  border-radius: 0.2rem;
  background-color: rgba(0,0,0,.2);
}
::-webkit-scrollbar-thumb{
  width: 0.4rem;
  border-radius: 0.2rem;
  background-color: rgba(0,0,0,.6);
}
html{
  font-size: 16px;
  width: 100%;
  height: 100%;
}
body {
  margin: 0;
  font-size: 0.875rem;
  width: 100%;
  height: 100%;
}
#app{
  width: 100%;
  height: 100%;
}
.flex-box{
  display: flex;
}
.hide{
  display: none;
}

.example-page {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  /* background-image: url('./../images/page_bg.png');
  background-size: 100% 100%; */
}

.example-page .example-header {
  height: 50px;
  background-image: url('./../images/header_bg.png');
  background-size: 100% 100%;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  pointer-events: all;
}

.example-page .example-header .menu-handel-btn {
  line-height: 48px;
  width: 50px;
  text-align: center;
  cursor: pointer;
}

.example-page .example-header .menu-handel-btn .iconfont {
  font-size:16px;
}

.example-page .example-header .example-page-title {
  font-family: 'HiraginoSansGB-W6';
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: -0.1px;
  line-height: 2rem;
  flex: 1;
}

.example-page .example-header .example-doc-item {
  padding: 0 15px;
  cursor: pointer;
  font-size: 1rem;
}

.example-page .example-page-content {
  height: calc(100% - 50px);
}

.example-page .example-page-content .example-nav {
  height: 100%;
  width: 50px;
  background-color: rgba(12, 25, 36, 1);
  /* overflow: auto; */
  pointer-events: all;
}

.example-page .example-page-content .example-show-content {
  width: calc(100% - 50px);
  position: relative;
  overflow: hidden;
}

.example-page .example-page-content .example-show-content canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.example-page .example-page-content.active .example-nav {
  width: 224px;
  padding: 0 8px;
}

.example-page .example-page-content.active .example-show-content {
  width: calc(100% - 230px);
}
.example-nav{
  color:#ffffff;
}
.menu-item{
  position: relative;
}
.menu-item:hover .menu-item-icon{
  background: #263445;
}
.menu-item:hover .menu-item-icon .iconfont{
  color:rgba(20, 135, 235, 1);
}
.menu-item-icon{
  text-align: center;
  line-height: 40px;
}
.menu-item-icon > .iconfont{
  font-size: 14px;
  color: rgba(238, 243, 255, 0.64);
}
.menu-item-name{
  line-height: 40px;
  padding-left: 1rem;
  color:#bfcbd9;
  background-color: #263445;
  flex: 1;
  text-align: left;
}
.child-menu-item{
  line-height: 32px;
  padding-left: 1.5rem;
  color:#ffffff;
  cursor:pointer;
  border-radius: 4px;
}
.child-menu-con{
  position: absolute;
  top: 0;
  left: 50px;
  width: 13.75rem;
  z-index: 9;
  background-color: rgba(12, 25, 36, 1);
  border-radius: 6px;
  overflow: hidden;
  padding: 4px;
}
.menu-item:hover .child-menu-con{
  display: block;
}
.menu-item:hover .child-menu-con.clear-hover{
  display: none;
}
.menu-item:hover .child-menu-con.big-show{
  display: block;
}
.child-menu-item:hover{
  background-color: rgba(20, 135, 235, 1);
}
.example-page-content.active .menu-item>.menu-item-icon{
  display: flex;
  background-color: rgba(146, 156, 177, 0.16);
  border-radius: 8px;
}
.example-page-content.active .menu-item>.menu-item-icon>.iconfont{
  padding: 0 8px;
  font-size: 14px;
  color: rgba(238, 243, 255, 0.7);
}
.example-page-content.active .menu-item>.menu-item-icon .menu-item-name{
  display: block;
  background-color: transparent;
  padding-left: 0;
}
.example-page-content.active .menu-item>.menu-item-icon .show-hide-handle-btn{
  display: block;
  cursor:pointer;
}
.example-page-content.active .menu-item>.menu-item-icon .show-hide-handle-btn.active{
  transform: rotate(-90deg);
}
.example-page-content.active .menu-item>.child-menu-con{
  display: block;
  position: static;
  width: auto;
}
.example-page-content.active .menu-item>.child-menu-con.big-show{
  display: none;
}
.example-page-content.active .menu-item>.child-menu-con>.menu-item-name{
  display: none;
}
.example-page-content.active .child-menu-list .child-menu-item{
  padding-left:32px;
  border-radius: 8px;
  margin: 4px 0;
}
.example-handle-con{
  position: absolute;
  left: 10px;
  top: 10px;
  pointer-events: all;
  padding: 12px 10px;
  background-color: rgba(12, 25, 36, 0.8);
  border-radius: 6px;
}
.example-data-list{
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 12px 10px;
  pointer-events: all;
  background-color: rgba(12, 25, 36, 0.8);
  border-radius: 6px;
  color:#ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}
.append-data-tree{
  width: 300px;
}
.append-data-tree-item{
  border-radius: 4px;
  border: 1px solid transparent;
  margin-bottom: 2px;
  margin-top: 2px;
}
.append-data-tree-item .append-data-children-con{
  display: none;
}
.append-data-tree-item .icon-down-1-copy{
  transform: rotate(-90deg);
}
.append-data-tree-item.active{
  border-color: rgba(142, 150, 171, 0.32);
}
.append-data-tree-item.active .append-data-children-con{
  display: block;
}
.append-data-tree-item.active .icon-down-1-copy{
  transform: rotate(0deg);
}

.append-data-tree-group{
  line-height: 32px;
  background-color: rgba(108, 120, 147, 0.16);
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
  cursor:pointer;
}
.append-data-tree-item.active .append-data-tree-group{
  background: linear-gradient(to right,rgba(4, 53, 99, 0.32),rgba(27, 112, 197, 1));
}
.append-data-group-name{
  flex: 1;
  margin-left: 8px;
}
.append-data-layer-item{
  padding:0 12px 0 42px;
  line-height: 32px;
}
.append-data-layer-name{
  flex: 1;
  cursor:pointer;
}
.append-data-handle .iconfont{
  cursor:pointer;
  margin-left:8px;
}



.icon-yincang{
  color:rgba(255,255,255,.5);
}
.data-props-control{
  position: absolute;
  right: 8px;
  top: 8px;
  color:#ffffff;
  max-height: calc(100% - 105px);
  overflow: auto;
  pointer-events: all;
}


body {  
  font-family: Arial, sans-serif;  
  margin: 0;  
  padding: 0;  
  height: 100vh; /* 使body高度等于视口高度 */  
  display: flex;  
  justify-content: center;  
  align-items: center; /* 仅为演示目的，使内容居中（你可以移除这些属性） */  
}  

.code-display-container {  
  position: fixed;  
  bottom: 55px; /* 距离底部55px，避免被时间轴遮挡 */  
  right: 20px; /* 距离右侧20px */  
  display: flex;  
  flex-direction: column; /* 垂直排列子元素 */  
  align-items: flex-end; /* 使子元素靠右对齐 */
  pointer-events: all;
}  

.toggle-button{
  padding: 10px 20px;  
  font-size: 16px;  
  cursor: pointer;  
  background-color: #007bff;  
  color: white;  
  border: none;  
  border-radius: 5px;  
}
.code-display-container:hover .code-display-box{
  opacity: 1;
}
.code-display-box {  
  display: none; /* 默认隐藏 */  
  position: absolute; /* 相对于.code-display-container定位 */  
  bottom: 60px; /* 考虑到按钮的高度和间距 */ 
  right: -12px;
  width: 350px; /* 你可以根据需要调整宽度 */  
  border: 1px solid #ccc;  
  border-radius: 5px;  
  padding: 10px;  
  background-color: #f9f9f9;  
  z-index: 1000; /* 确保它位于其他内容之上 */
  opacity: 0.5;
}
.code-display-box:hover{
  opacity: 1;
}

/* 其他样式与之前相同... */

/* 弹框样式 */
@keyframes MA {
  from {transform:scale(0);}
  to {transform:scale(1);}
}
.message-content{
  position: fixed;
  z-index: 1;
  width: 100%;
  left: 0;
  justify-content: center;
  transform:scale(1);
  animation-name:MA;
  animation-duration:0.3s;
  color: #ffffff;
}
.message-text-con{
  line-height: 32px;
  background-color: #fff;
  padding: 0 16px;
  color:#000;
  box-shadow: 0 0 5px #000;
  border-radius: 4px;
}
.message-text-con.warning{
  color:rgb(255, 128, 0);
  box-shadow: 0 0 5px rgb(255, 128, 0);
  color:rgb(255, 128, 0);
}
.message-text-con.error{
  color:rgba(255, 0, 0,0.8);
  box-shadow: 0 0 5px rgba(255, 0, 0,0.8);
  color:rgba(255, 0, 0,0.8);
}
.data-url-con{
  align-items: center;
  line-height: 24px;
}
.example-doc-list{
  align-items: center;
}
.data-url-input{
  margin: 0 4px;
}
.data-url-input>input{
  display: block;
  outline: none;
  line-height: 24px;
  border-radius: 4px;
  border: 0;
  width: 400px;
  padding: 0 8px;
}
.controller.function{
  width: 50%;
  float: left;
}
.global-tools-con{
  position: absolute;
  right: 350px;
  top: 8px;
  background-color:rgba(12, 25, 36, 0.8);
  padding:5px 4px 6px;
  border-radius: 8px;
  pointer-events: all;
}
.tools-item-btn{
  color:#ffffff;
  cursor:pointer;
  margin: 0 5px;
}
.tools-item-btn.active,.tools-item-btn:hover{
  color:#007bff;
}
.tools-item-btn .iconfont{
  font-size: 1.3rem;
}
.lil-gui.root .title{
  position: relative;
  font-size: 14px;
  color:rgba(255, 255, 255, 1);
}
.title-href{
  position: absolute;
  right: 8px;
  top: 0;
  cursor: pointer;
  color:rgba(245, 249, 255, 0.92);
}
/* 修改属性面板样式 */
.lil-gui.root{
  background: rgba(12, 25, 36, 0.8);
  width: 320px;
}
.lil-gui>.title{
  line-height: 30px;
  height: 32px;
  background-color: transparent !important;
  background-image: linear-gradient(to right,rgba(20, 135, 235, 1),rgba(20, 135, 235, 0)) !important;
}
.lil-gui .controller>.name{
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 32px;
  min-width: 36%;
  max-width: 36%;
}
.lil-gui input{
  background: rgba(0, 0, 0, 0.32) !important;
  border: 1px solid rgba(142, 150, 171, 0.4);
  border-radius: 6px;
  line-height: 30px;
  font-size: 14px;
  color: #ffffff !important;
  height: 32px;
  padding: 0 4px !important;
}
.lil-gui button{
  line-height: 30px;
  height: 30px;
  background: linear-gradient(to bottom,rgba(20, 135, 235, 0.1),rgba(20, 135, 235, 0.2));
  color: rgba(217, 231, 255, 1);
  border: 1px solid rgba(20, 135, 235, 0.7);
  border-radius: 4px;
  font-size: 14px;
}
.lil-gui button:hover{
  background: linear-gradient(to bottom,rgba(20, 135, 235, 0.4),rgba(20, 135, 235, 0.8));
}
.lil-gui input[type=checkbox]{
  width: 16px;
  height: 16px;
  line-height: 16px;
}
.lil-gui input[type=checkbox]:checked:before{
  font-size: 16px;
  line-height: 16px;
  position: absolute;
  left: 0;
  top: 2px;
}
.lil-gui+.controller{
  padding-top: 3px;
}
/* 修改属性面板样式 */
.map-box{
  display: block;
  width: 100%;
  height: 100%;
}
.data-url-con{
  align-items: center;
  line-height: 26px;
  border: 1px solid rgba(20, 135, 235, 0.7);
  border-radius: 4px;
  padding: 0 8px;
  margin-right: 12px;
  background: linear-gradient(to bottom,rgba(20, 135, 235, 0.1),rgba(20, 135, 235, 0.2));
  color: rgba(217, 231, 255, 1);
  cursor:pointer;
}
.data-url-con .icon-diannao{
  margin-right: 5px;
  color: rgba(217, 231, 255, 1);
}
@keyframes openAni {
  from {transform: scale(0.3);}
  to {transform: scale(1);}
}
.data-set-pop{
  position: fixed;
  width: 400px;
  height: 172px;
  top: calc(50% - 80px);
  left: calc(50% - 200px);
  background: rgba(12, 25, 36, 0.8);
  color:#ffffff;
  transform: scale(1);
  animation: openAni 0.3s;
}


.wmts-set-pop{
  position: fixed;
  width: 400px;
  height: 132px;
  top: calc(50% - 80px);
  left: calc(50% - 200px);
  background: rgba(12, 25, 36, 0.8);
  color:#ffffff;
  transform: scale(1);
  animation: openAni 0.3s;
}
.data-config-title{
  line-height: 32px;
  height: 32px;
  align-items: center;
  background: linear-gradient(to right,rgba(20, 135, 235, 1),rgba(20, 135, 235, 0));
  padding-left:16px;
}
.data-config-title-text{
  font-size: 14px;
  flex: 1;
}
.data-config-title .icon-close{
  color: rgba(217, 231, 255, 1);
  padding:0 8px 0 8px;
  cursor:pointer;
}
.data-config-con{
  padding: 16px;
}
.data-config-item{
  align-items: center;
  line-height: 32px;
  justify-content: space-between;
  margin-bottom: 4px;
}
.data-config-label{
  font-size: 14px;
  max-width: 60px;
  min-width: 60px;
}
.data-config-input>input{
  outline: none;
  display: block;
  width: 260px;
  line-height: 30px;
  border: 1px solid rgba(142, 150, 171, 0.4);
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  border-radius: 6px;
  padding:  0 12px;
}
.data-config-input>input.data-config-ip-input{
  min-width: 180px;
  max-width: 180px;
}
.data-config-input>input.data-config-port-input{
  width: 50px;
  margin-left: 5px;
}

.data-set-btn{
  width: 150px;
  text-align: center;
  line-height: 32px;
  background: rgba(20, 135, 235, 1);
  border-radius: 6px;
  margin: 12px auto 0;
  cursor:pointer;
}
.example-handle-con .function-button{
  padding: 0 !important;
  background: none;
  border-width: 0;
}
.example-handle-con .function-button .function-item{
  margin-bottom:4px !important;
  margin-top:4px !important;
  align-items: center;
}
.function-button .function-item .title{
  align-items: center !important;
  margin-right: 0px !important;
}
.example-handle-con .function-button .function-item .button-box{
  margin-bottom: 0 !important;
}
.example-handle-con .function-button .button-box div{
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  line-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(20, 135, 235, 0.7);
  border-radius: 4px;
  cursor:pointer;
  background:linear-gradient(to bottom,rgba(20, 135, 235, 0.1),rgba(20, 135, 235, 0.2));
  margin-right: 4px;
}
.example-handle-con .function-button .button-box div:hover{
  background: rgba(20, 135, 235, 1);
}
.block_hide{
  display: none;
}
/* 状态栏样式 */
.bottom-status-bar{
  position: fixed;
  width:calc(100% - 32px);
  height: 32px;
  line-height: 32px;
  background: rgba(12,25,36,0.7);
  left: 0;
  bottom: 0;
  padding: 0 16px;
  color: rgba(255,255,255,.9);
  z-index: 99;
}
.position-info{
  flex: 1;
  padding-left: 40px; /* 新增：增加左侧内边距让文字后移 */
}
.map-size-dom{
  position: relative;
  padding-top: 16px;
}
.map-size-line{
  border: 1px solid #ffffff;
  height: 10px;
  width: 90px;
  border-top: 0;
}
.map-size-value{
  position: absolute;
  top: 0;
  right: 5px;
}
/* 状态栏样式 */

.tooltip-bubble {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  max-width: 300px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.tooltip-bubble.show {
  opacity: 1;
}

.tooltip-bubble::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  pointer-events: none;
}

.tooltip-bubble.arrow-bottom::after {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: rgba(0, 0, 0, 0.8);
  border-bottom: none;
}

.tooltip-bubble.arrow-top::after {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: rgba(0, 0, 0, 0.8);
  border-top: none;
}

/* 图层树面板样式 */
.layer-tree-panel {
  position: fixed;
  top: 60px;
  right: 20px;
  width: 300px;
  max-height: 600px;
  background: rgba(12, 25, 36, 0.95);
  border: 1px solid rgba(27, 112, 197, 0.5);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: all;
  z-index: 1000;
  transition: all 0.3s ease;
  display: none; /* 默认隐藏 */
}

.layer-tree-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(to right, rgba(4, 53, 99, 0.6), rgba(27, 112, 197, 0.8));
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid rgba(27, 112, 197, 0.3);
}

.layer-tree-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.layer-tree-close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.layer-tree-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.layer-tree-close .iconfont {
  color: #ffffff;
  font-size: 12px;
}

.layer-tree-content {
  padding: 12px 0 0 0;
  max-height: 540px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.layer-tree-search {
  padding: 0 16px 12px;
  border-bottom: 1px solid rgba(27, 112, 197, 0.2);
  margin-bottom: 12px;
}

.layer-tree-search input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(27, 112, 197, 0.3);
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.layer-tree-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.layer-tree-search input:focus {
  border-color: rgba(27, 112, 197, 0.8);
  background: rgba(255, 255, 255, 0.15);
}

.layer-tree-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px;
  margin-bottom: 8px;
}

/* 树节点样式 */
.tree-node {
  margin: 2px 0;
}

.tree-node-content {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap; /* 防止换行 */
}

.tree-node-content:hover {
  background: rgba(27, 112, 197, 0.2);
}

.tree-node-content.active {
  background: rgba(27, 112, 197, 0.4);
}

.tree-node-expand {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  transition: all 0.2s ease;
}

.tree-node-expand:hover {
  color: #ffffff;
}

.tree-node-expand.expanded {
  transform: rotate(90deg);
}

.tree-node-expand.empty {
  visibility: hidden;
}

.tree-node-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.tree-node-icon.folder {
  color: #ffc107;
}

.tree-node-icon.layer {
  color: #17a2b8;
}

.tree-node-name {
  flex: none; /* 改为不自动伸缩，保持原始宽度 */
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap; /* 保持不换行 */
  margin-right: 8px; /* 添加右边距，避免与右侧元素重叠 */
}

.tree-node-checkbox {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
}

.tree-node-checkbox input {
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  position: absolute;
  z-index: 2;
}

.tree-node-checkbox .checkbox-custom {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(27, 112, 197, 0.6);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.2s ease;
  z-index: 1;
}

.tree-node-checkbox input:checked + .checkbox-custom {
  background: rgba(27, 112, 197, 0.8);
  border-color: rgba(27, 112, 197, 1);
}

.tree-node-checkbox input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
}

/* 半选状态样式 */
.tree-node-checkbox input:indeterminate + .checkbox-custom {
  background: rgba(27, 112, 197, 0.5);
  border-color: rgba(27, 112, 197, 0.8);
}

.tree-node-checkbox input:indeterminate + .checkbox-custom::after {
  content: '−';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
}

.tree-node-children {
  padding-left: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tree-node-children.expanded {
  max-height: 2000px;
}

.tree-node-children.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* 服务类型图标 */
.service-type-osgb { color: #28a745; }
.service-type-dom { color: #dc3545; }
.service-type-dem { color: #fd7e14; }
.service-type-t080100 { color: #6f42c1; }

/* 搜索高亮 */
.search-highlight {
  background: rgba(255, 193, 7, 0.3);
  border-radius: 2px;
  padding: 1px 2px;
}

/* 定位图标样式 */
.tree-node-locate {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  margin-left: 4px;
  margin-right: 4px;
  transition: all 0.2s ease;
}

.tree-node-locate .iconfont {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.tree-node-locate:hover .iconfont {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* 图层树按钮样式 */
.layer-tree-buttons {
  padding: 8px 16px 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
  background: linear-gradient(to bottom, transparent, rgba(4, 53, 99, 0.1));
  border-radius: 0 0 6px 6px;
}

.layer-tree-btn {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(20, 135, 235, 0.1), rgba(20, 135, 235, 0.25));
  border: 1px solid rgba(20, 135, 235, 0.4);
  border-radius: 6px;
  color: rgba(217, 231, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.layer-tree-btn:hover {
  background: linear-gradient(135deg, rgba(20, 135, 235, 0.3), rgba(20, 135, 235, 0.6));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 135, 235, 0.2);
}

.layer-tree-btn.confirm {
  border-color: rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.25));
}

.layer-tree-btn.confirm:hover {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.3), rgba(40, 167, 69, 0.6));
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.layer-tree-btn.delete {
  border-color: rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.25));
}

.layer-tree-btn.delete:hover {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.3), rgba(40, 167, 69, 0.6));
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* 图层树列表滚动条样式 */
.layer-tree-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.layer-tree-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.layer-tree-list::-webkit-scrollbar-thumb {
  background: rgba(27, 112, 197, 0.6);
  border-radius: 3px;
  transition: all 0.2s ease;
}

.layer-tree-list::-webkit-scrollbar-thumb:hover {
  background: rgba(27, 112, 197, 0.8);
}

.layer-tree-list::-webkit-scrollbar-corner {
  background: rgba(255, 255, 255, 0.1);
}

/* ================= 时间轴面板样式 ================= */
.timeline-panel {
  position: fixed;
  bottom: 0;
  left: 50px;
  right: 0;
  height: 50px;
  background: rgba(12, 25, 36, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: left 0.3s ease;
}

/* 功能栏展开时的时间轴位置调整 */
.example-page-content.active ~ .timeline-panel {
  left: 230px;
}

.timeline-container {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 350px;
}

.timeline-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-btn:hover {
  background: rgba(20, 135, 235, 0.3);
  border-color: rgba(20, 135, 235, 0.5);
  transform: scale(1.05);
}

.timeline-btn:active {
  transform: scale(0.95);
}

.timeline-icon {
  font-size: 11px;
  line-height: 1;
}

.timeline-speed-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  margin-left: 8px;
}

.timeline-speed-select {
  background: rgba(12, 25, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: #fff;
  padding: 3px 6px;
  font-size: 11px;
  cursor: pointer;
  outline: none;
}

.timeline-speed-select:focus {
  border-color: rgba(20, 135, 235, 0.8);
  box-shadow: 0 0 0 2px rgba(20, 135, 235, 0.2);
}

.timeline-speed-select option {
  background: rgba(12, 25, 36, 1);
  color: #fff;
}

.timeline-bar-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  margin-left: -40px;
}

.timeline-bar {
  flex: 1;
  height: 30px;
  position: relative;
  background: linear-gradient(to bottom, 
    rgba(58, 68, 82, 0.6) 0%,
    rgba(46, 50, 56, 0.6) 50%,
    rgba(32, 42, 52, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.timeline-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.timeline-ruler {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.timeline-tic-main {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 50%;
  background: rgba(238, 238, 238, 0.6);
}

.timeline-tic-mid {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 33%;
  background: rgba(238, 238, 238, 0.45);
}

.timeline-tic-small {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 16%;
  background: rgba(238, 238, 238, 0.3);
}

.timeline-tic-label {
  position: absolute;
  top: 1px;
  transform: translateX(-50%);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  pointer-events: none;
  background: rgba(12, 25, 36, 0.8);
  padding: 1px 3px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(20, 135, 235, 1);
  box-shadow: 0 0 3px rgba(20, 135, 235, 0.6);
  pointer-events: none;
  z-index: 10;
}

.timeline-needle::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 6px;
  height: 6px;
  background: rgba(20, 135, 235, 1);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(20, 135, 235, 0.8);
}

.timeline-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, rgba(20, 135, 235, 0.6), rgba(20, 135, 235, 0.3));
  border-radius: 1px;
  pointer-events: none;
}

.timeline-time-display {
  min-width: 120px;
  text-align: left;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Courier New', monospace;
  margin-left: 2px;
}

.timeline-current-time {
  color: rgba(20, 135, 235, 1);
  font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .timeline-controls {
    min-width: 140px;
  }
  
  .timeline-time-display {
    min-width: 180px;
  }
}

@media (max-width: 800px) {
  .timeline-panel {
    height: 45px;
    left: 50px;
  }
  
  .timeline-container {
    padding: 0 8px;
    gap: 8px;
  }
  
  .timeline-controls {
    min-width: 120px;
  }
  
  .timeline-btn {
    width: 24px;
    height: 24px;
  }
  
  .timeline-bar {
    height: 25px;
  }
  
  .timeline-time-display {
    min-width: 160px;
    font-size: 10px;
  }
}