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

.mdiv{
  
}

.mlf{
    width: calc(100% - 20rem);
    padding: 1rem 0;
    border: 1px solid #e8e8fd;
    float: left;
    border-radius: 6px;
    background-color: #3f538b;
}

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

.timer {
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    margin: 1rem 0;
    font-family: monospace;
    color: #ffcc00;
}

.visualizer-container {
    margin: 1.25rem auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 7.5rem;
    width: calc(100% - 2rem);
    max-width: 30rem;
}

#visualizerCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.visualizer-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
}

.visualizer-placeholder.hidden {
    display: none;
}

.recorder-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.control-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn i{
    font-size: 1.2rem;
    font-weight: bold;
}

#startBtn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: #fff;
}

#pauseBtn {
    background: linear-gradient(135deg, #ff9800, #ef6c00);
    color: #fff;
}

#stopBtn {
    background: linear-gradient(135deg, #f44336, #c62828);
    color: #fff;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recorder-status {
    text-align: center;
    margin: 0.8rem auto;
    font-size: 0.8rem;
    padding: 0.5rem 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    max-width: 11rem;
}

.audio-settings {
    margin-top: 1.25rem;
    padding: 1.25rem 1rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.setting {
    margin-bottom: 15px;
}

.setting label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #fff;
}

.setting select {
    width: 100%;
    padding: 0.4rem;
    border-radius: 8px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 0.65rem;
}

.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;
}

.mlr>div>h2{
    font-size: 0.7rem;
    padding-left: 0.2rem;
}

.audiolist{
    padding-bottom: 0;
}

.audiolist_tip{
    text-align: center;
    padding: 5rem 0 !important;
    font-size: 1rem;
    color: #e5e5e5;
}

.night .audiolist_tip{
    color: #888;
}

.audiolist>div{
    border-bottom: 1px solid #e8e8fd;
    padding: 0.5rem;
}

.night .audiolist>div{
    border-bottom: 1px solid #444;
}

.audiolist>div:last-child{
    border-bottom: 0;
}

.audiolist>div>p{

}

.audiolist>div>div{
    margin-top: 0.45rem;
}

.audiolist>div>div span{
    height: 1.2rem;
    line-height: 1.2rem;
    display: inline-block;
    background-color: #2196F3;
    border: 1px solid #2196f3;
    color: #fff;
    margin-right: 0.25rem;
    padding: 0 0.5rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.6rem;
}

.audiolist>div>div span.dow{
    background-color: #FF9800;
    border: 1px solid #FF9800;
}

.audiolist>div>div span.del{
    background-color: #e8e8fd;
    border: 1px solid #eee;
    color: #666;
}

.night .audiolist>div>div span.del{
    background-color: #444;
    border: 1px solid #444;
    color: #bbb;
}

.demoaudio{
    padding: 1.5rem;
}

.demoaudio audio{
    height: 1.5rem;
}

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


.npowers{
    width: 30rem;
    padding: 1rem;
}
.npowers h4{
    height: 1.8rem;
    line-height: 1.8rem;
    padding-left: 0.5rem;
}
.npowers ul{
   
}
.npowers ul li{
    width: 50%;
    float: left;
    padding: 0.5rem;
    display: inline-block;
}
.npowers ul li h5{
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
}
.npowers ul li img{
    width: 100%;
    border: 1px solid #ccc;
}
.night .npowers ul li img{
    opacity: 0.8;
}
.npowers>p{
    font-size: 0.6rem;
    padding-left: 0.5rem;
    margin-top: 0.5rem;
}

.viderdiv{
    display: none;
    text-align: center;
    padding: 3rem 0;
}
.viderdiv .videodiviss{
    width: 100%;
    max-width: 32rem;
    margin: auto;
    background-color: #000;
    border-radius: 4px;
    overflow: hidden;
}
.viderdiv video{
    width: 100%;
    height: 16rem;
    margin: 0;
    background-color: #000;
    padding: 0.5rem;
    display: block;
}
.viderdiv .butdivs{
    text-align: left;
    margin: 0;
    background-color: #000000;
    padding: 0.5rem;
    border: 1px solid #000;
    border-top: 1px solid #444;
    border-radius: 0 0 6px 6px;
}
.viderdiv .butdivs span{
    height: 1.6rem;
    line-height: 1.6rem;
    display: inline-block;
    padding: 0 1rem;
    border-radius: 3px;
    cursor: pointer;
    color: #ccc;
    background-color: #333;
    border: 1px solid #444;
}

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


@media screen and (max-width: 1370px){
    .vidul li {
        width: calc(100% / 5);
    }
}
@media screen and (max-width: 1140px){
    .vidul li {
        width: calc(100% / 4);
    }
}
@media screen and (max-width: 970px){
    .vidul li {
        width: calc(100% / 3);
    }
}
@media screen and (max-width: 1165px){
    .viderdiv{
        padding: 0;
    }
    .vidul{
        margin-top: 0.75rem;
    }
}
@media screen and (max-width: 540px){
    .vidul li {
        width: calc(100% / 2);
    }
    .viderdiv .butdivs span{
        padding: 0 0.4rem;
    }
}
@media screen and (max-width: 465px){
    .vidersetup>div{
        margin: 0;
        max-width:100%;
    }
}
@media screen and (max-width: 350px){
    .vidul li {
        width: 100%;
    }
}