html, body {
    overflow: hidden;
    background: #363B40;
    user-select: none;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

#customContextMenu {
    display: none;
    position: absolute;
    background: rgba(30, 30, 40, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1000;
    backdrop-filter: blur(10px);
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: top left;
    animation: menuAppear 0.2s ease-out forwards;
}
.instructions, .demo-area {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.demo-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.instructions h2, .demo-area h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffcc00;
}
        

.menu-item {
    padding: 12px 20px;
    color: #e0e0e0;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(80, 100, 220, 0.7);
    color: white;
}

.menu-item i {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/*拾色器*/
.picker {
    display: inline-block;
    width: 15px;
    height: 15px;
    cursor: pointer;
    border-radius: 5px;
    border: 2px #fff solid;
    position: absolute;
    top: 5px;
    left: 70px;
}

/*文字大小*/
#opt1 {
    position: relative;
}

span {
    font-family: 华文新魏, sans-serif;
    font-size: 17px;
}

.Div {
    cursor: url(../img/手.png),auto;;
    background: skyblue;
    position: absolute;
    text-align: center;
}

.DivSon {
    float: left;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.textarea {

}

.menuDiv {
    height: 35px;
    line-height: 30px;
    background: #ccc;
    border-radius: 5px;
    position: absolute;
    top: -32px;
}

/*字体大小模块*/
.sliderDemo {
    border-radius: 10px;
    transition: all .1s linear;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -webkit-appearance: none;
    -moz-transform: rotate(270deg);
    -moz-appearance: none;
    appearance: none;
    width: 100px;/*滑动条的高低*/
    height:11px;/*滑动条的粗细*/
    position: absolute;
    top: 0;
    left: 58px;/*滑动条距离左边元素的位置*/
    display: none;
}

.sliderDemo:focus {
    outline: none;
}

/*滑块 兼容谷歌*/
.sliderDemo::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 16px; /*滑动圆球的大小*/
    width: 16px;/*滑动圆球的大小*/
    margin-top: -4.1px;/* 设置滑动圆球的左右位置*/
    background: #ffffff;
    border-radius: 50%; /*外观设置为圆形*/
    border: solid 0.3em rgba(110, 190, 255, 0.5); /*设置边框*/
    box-shadow: 0 .09em .09em #baeffa; /*添加底部阴影*/
    transition: all .1s linear;
}

.sliderDemo::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    height: 11px;/*滑动条的粗细*/
    border-radius: 10px; /*将轨道设为圆角的*/
    border: solid 0.1em #0d1112;
    box-shadow: 0 0 0 #0d1112, 0 0 0 #0d1112;
    transition: all .1s linear;
}

.sliderDemo::-webkit-slider-thumb:hover {
    -webkit-appearance: none;
    appearance: none;
    border: solid 0.4em rgba(29, 116, 187, 0.747);
    box-shadow: 0 .2em .3em #baeffa; /*添加底部阴影*/
}

/*滑块 兼容火狐*/
.sliderDemo::-moz-range-thumb {
    -webkit-appearance: none;
    height: 19px;
    width: 19px;
    margin-top: -4.1px; /*使滑块超出轨道部分的偏移量相等*/
    background: #ffffff;
    border-radius: 50%; /*外观设置为圆形*/
    border: solid 0.3em rgba(110, 190, 255, 0.5); /*设置边框*/
    box-shadow: 0 .11em .11em #baeffa; /*添加底部阴影*/
    transition: all .1s linear;
}

.sliderDemo::-moz-range-thumb:hover {
    border: solid 0.5em rgba(110, 190, 255, 0.5);
    box-shadow: 0 .3em .3em #baeffa; /*添加底部阴影*/
}

.sliderDemo::-moz-range-thumb:hover .sliderDemo {
    box-shadow: 0 3px 3px #0d1112, 0 .3em .3em #0d1112;
}

.sliderDemo::-moz-range-track {
    height: 15px;
    border-radius: 10px; /*将轨道设为圆角的*/
    border: solid 0.1em #0d1112;
    box-shadow: 0 0 0 #0d1112, 0 0 0 #0d1112;
    transition: all .1s linear;
}

.inputText {
    width: 35px;
    height: 20px;
    border-radius: 5px;
    outline: none;
}

/*UI 表单*/
.layui-form {
    width: 75px;
    position: absolute;
    top: 100px;
    left: 100px;
    border-radius: 5px;
}

.layui-input {
    height: 28px;
}

.layui-form input[type=checkbox], .layui-form input[type=radio], .layui-form select {
    display: block;
}

select {
    border-radius: 5px
}

/*文本域的滚动条*/
.textarea::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

.textarea::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    background-color: #c3c3c3;
}

.textarea::-webkit-scrollbar-track {
    background-color: transparent;
}

.textarea {
    scrollbar-color: pink #c3c3c3;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}


/*滑块 兼容谷歌*/
.sliderD::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 16px; /*滑动圆球的大小*/
    width: 16px;/*滑动圆球的大小*/
    margin-top: -4.1px;/* 设置滑动圆球的左右位置*/
    background: #ffffff;
    border-radius: 50%; /*外观设置为圆形*/
    border: solid 0.3em rgba(110, 190, 255, 0.5); /*设置边框*/
    box-shadow: 0 .09em .09em #baeffa; /*添加底部阴影*/
    transition: all .1s linear;
}

.sliderD::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    height: 11px;/*滑动条的粗细*/
    border-radius: 10px; /*将轨道设为圆角的*/
    border: solid 0.1em #0d1112;
    box-shadow: 0 0 0 #0d1112, 0 0 0 #0d1112;
    transition: all .1s linear;
}

.sliderD::-webkit-slider-thumb:hover {
    border: solid 0.4em rgba(29, 116, 187, 0.747);
    box-shadow: 0 .2em .3em #baeffa; /*添加底部阴影*/
}
/* .playerDemo{
    margin:20px auto 10px auto
}
 */
 .Voicer_Btn{
    outline: none;
    border: rgb(129, 114, 221);
    border-width: 2px;
    border-radius: 9px;
    border-style: solid;
    width: 70px;
    height: 28px;
    background-color: rgba(100, 148, 237, 0.315);
    color: white;
    font-size: 14px;
    transition-duration: 1s;
}
.Voicer_Btn:hover{
    border-radius: 16px;
    /* border-width: 3px; */
    background-color:rgb(129, 114, 221);
    border:  rgba(0, 0, 0, 0);;
}
.Voicer_Btn:active{
    background-color: thistle;
}