/* .work{
    width:calc(80vw - 300px);
    margin-top: 20px;
    margin-left: 40px;
}
.imagebox{
    position: relative;
    width: calc((80vw - 300px)*0.45);
    height: calc((80vw - 300px)*0.45);
    border: 2px dashed gray;
    border-radius: 10px;
    background-color: #F6F8FA;
    cursor: pointer;
}
.power{
    margin-left: 40px;
    width: calc((80vw - 300px)*0.45);
    height: calc((80vw - 300px)*0.45);
} */
.work{
    width: calc(var(--main--width)-40px);
    margin:20px 20px 0 20px;

}
.imagebox{
    position: relative;  /* 关键：父容器相对定位 */
    width: calc((var(--main--width) - 40px - 20px)/2);
    aspect-ratio: 1 / 1;
    border: 2px dashed gray;
    border-radius: 10px;
    background-color: #F6F8FA;
    cursor: pointer;
}
.power{
    margin-left: auto;
    width: calc((var(--main--width) - 40px - 20px)/2);
    aspect-ratio: 1 / 1;
}
.hue-bar{
    height:20px;
    width: 100%;
    cursor: pointer;
}
.hue-point{
    position:absolute;
    top:0px;
    height: 20px; 
    width: 20px;
    border-radius: 50%;
    /* background-color: white; */
    border: 3px solid white;
    box-sizing: border-box;
    cursor: pointer;
}
.saturation-bar{
    height:20px;
    width: 100%;
    cursor: pointer;
}
.saturation-point{
    position:absolute;
    top:0px;
    height: 20px; 
    width: 20px;
    border-radius: 50%;
    /* background-color: white; */
    border: 3px solid white;
    box-sizing: border-box;
    cursor: pointer;
}
.brightness-bar{
    height:20px;
    width: 100%;
    cursor: pointer;
}
.brightness-point{
    position:absolute;
    top:0px;
    height: 20px; 
    width: 20px;
    border-radius: 50%;
    /* background-color: white; */
    border: 3px solid white;
    box-sizing: border-box;
    cursor: pointer;
}
.btns{
    width: 100%;
    height: 15%;
}
.btn{
    color: #1a73e8;
    /* font-size: 16px; */
    font-weight: bold;
    border: 1px solid #dadde1;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;

}
.btn:hover{
    border: 1px solid #1a73e8;
}
/* .format{
    flex-grow: 1;height:100%;border: 1px solid #dadde1;
}
.format:first-child{
    border-radius: 5px 0 0 5px;
}
.format:last-child{
    border-radius: 0 5px 5px 0;
}
.format-active{
    background-color: #F6F8FA;
} */

/* 基础样式 */
.format-buttons {
    display: inline-flex;
    gap: 4px; /* 按钮间距 */
    background: #f8f8f8;
    padding: 4px;
    border-radius: 6px;
  }

  /* 按钮样式 */
  .format-button {
    /* padding: 8px 16px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd; */
    flex-grow: 1;height:100%;border: 1px solid #dadde1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  .format-button:first-child{
    border-radius: 5px 0 0 5px;
}
.format-button:last-child{
    border-radius: 0 5px 5px 0;
}
  /* 选中状态 */
  .format-button.active,
  .format-button:has(input:checked) {
    background: #F6F8FA;
    color: #1a73e8;
    /* border-color: #F6F8FA; */
  }

  /* 隐藏原生 radio 输入框 */
  .format-button input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .title{
    height:50px;
    background-color: #F6F8FA;
}
.content{
    /* height:300px; */
}