html {
    overflow-x: hidden;
    touch-action: pan-y; 
}

.mdiv{

}

.mlf{
    width:calc(100% - 20rem);
    float: left;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    position: relative;
}

.mlf .resdivnum{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.5rem;
}

.mlf .resdivnum div{
    height: 1.7rem;
    line-height: 1.7rem;
    width: 1.7rem;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    border-radius: 100%;
    background-image: linear-gradient(180deg, #FE8A5C 0%, #FF4D4D 100%);
    float: left;
    margin-right: 0.5rem;
}

.mlf>h2{
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
    padding: 0.75rem 0;
    border-bottom: 1px solid #8268de;
}

.night .mlf{
    border: 1px solid #444;
}

.tcardfull{
    height: calc(100vh - 6rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tcarddivcent{
    min-height: 23.5rem;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    overflow-y: auto;
    padding: 0.25rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tcarddivcent span{
    font-size: 6rem;
    color: #FFF;
    margin: auto;
    display: inline-block;
    font-weight: bold;
    border-radius: 100%;
   
}

.number-rolling {
    animation: numberRoll 0.1s linear infinite;
}

@keyframes numberRoll {
    0% { transform: translateY(0px); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(0px); }
    75% { transform: translateY(5px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.tensenumber {
    animation: tensePulse 0.5s infinite alternate;
}

@keyframes tensePulse {
    0% { transform: scale(1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    100% { transform: scale(1.05); text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

.tense-bg {
    animation: bgTense 0.3s infinite alternate;
}

@keyframes bgTense {
    0% { box-shadow: 0 10px 30px rgba(106, 17, 203, 0.4); }
    100% { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3); }
}

.mlr{
    width:20rem;
    padding-left: 0.75rem;
    float:right;
}

.mlr>div{
    padding: 0.25rem;
    border: 1px solid #e8e8fd;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.night .mlr>div{
    border:1px solid #444;
}

.tcardfull{
    height: calc(100vh - 6rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.butdivbut{
    height: 1.8rem;
    line-height: 1.8rem;
    display: block;
    background-color: #06b672;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.butdivbut.demodata,.butdivbut.savesetup{
    background-color: #2196F3;
    margin-bottom: 0;
}

.butdivbut.quanping,.butdivbut.clearsetup{
    background-color: #8BC34A;
    margin-bottom: 0;
}

.butdivbut.savesetup{
    background-color: #009688;
}

.butdivbut.clearsetup{
    background-color: #e8e8fd;
    color: #666;
}
.layui-colorpicker{
    border-top: 0;
    border-bottom: 0;
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-right: 0;
}
.night .layui-colorpicker{
    border: 1px solid #444;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    background-color: #181a1b;
}
.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    float: left;
    clear: none !important;
}
.color_inp{
    border-top: 0;
    border-right: 0px;
    border-bottom: 0px;
    width: calc(100% - 1.9rem);
    float: left;
}

@media screen and (max-width: 1290px){
    .mdiv {
        display:block;
    }
    .mlf {
        width:100%;
    }
    .mlr {
        width: 100%;
        padding-left:0rem;
        margin-top: 0.75rem;
    }
}