body {
    background: #000000;
    overflow-x:hidden;
    overflow-y:hidden
}

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a:hover,a:focus,a:active {
    text-decoration: none;
    cursor: pointer;
    outline: 0
}

a {
    vertical-align: baseline;
    text-decoration: none;
    font-size: 100%;
    -webkit-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
}

#c1{
    position: absolute;
    left: 0;
    top:0;
}

.reshosts{
    position: fixed;
    left: 20px;
    top: 20px;
    display: inline-block;
    color: #888;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    background: rgb(8 8 8 / 67%);
    backdrop-filter: blur(10px);
    border: 1px solid #1a1a1a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/****************************************/

#main {
    position: fixed;
    left: 50%;
    top: 50%;
}


/****************************************/

.toprightdiv{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid #1a1a1a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.toprighth2{
    text-align: center;
    color: #aaa;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #1a1a1a;
}

.toprighth2>span{
    display: flex;
    align-content: center;
    align-items: center;
}

.toprighth2 button{
    border: 1px solid #1a1a1a;
    background-color: transparent;
    color: #aaa;
    font-size: 10px;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

.topright {
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
    user-select: none;
    padding: 10px;
    z-index: 100;
    text-align: left;
    font-family: monospace;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.topright>div{
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
}

.topright-item{
    display: flex;
    width: 460px;
    border-radius: 4px;
    justify-content: space-around;
}

.topright-item>div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    padding: 0 10px;
    height: 60px;
}

.topright-item>div span:nth-child(1){
    font-size: 10px;
}

.topright-item>div span:nth-child(2){
    margin-top: 8px;
}

#fpsChart {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 4px;

    width: 100%;
    max-width: 180px; 
    height: 60px;
    display: block;
}

/****************************************/

.setupdiv{
    width: 300px;
    position: fixed;
    left: 50%;
    top: 65px;
    transform: translateX(-50%);
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0px 0px 4px 1px #009688;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

.setupdivtit{
    background-color: #2d2d2d;
    color: #bbb;
    margin: -10px -10px 10px -10px;
    font-size: 12px;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    justify-content: space-between;
}

.setupdivtit>svg{
    cursor: pointer;
}

.setupdiv>span{
    font-size: 12px;
    color: #bbb;
    margin-bottom: 10px;
    display: block;
}

.intensity-btn {
    flex: 1;
    padding: 2px 0;
    background: #2d2d2d;
    color: #888;
    border: 1px solid #444;
    cursor: pointer;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.intensity-btn.active {
    background: #009688;
    color: #fff;
    border-color: #009688;
}

#config {
    
}

#config>span{
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
    display: block;
}

#config textarea{
    width: 100%;
    background-color: #0a0a0b;
    color: #aaa;
    padding: 10px;
    height: 200px;
    border: 1px solid #333333;
    border-radius: 4px;
    resize: none;
}

#config textarea:focus{
    outline: none;
}

#config textarea::-webkit-scrollbar {
    width: 4px;
    background-color: #111;
}

#config textarea::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #222;
}

.intensity-group {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.configbutdiv{
    display: flex;
    margin-top: 10px;
    justify-content: space-between;
}

.configbutdiv button{
    width: calc(50% - 7.5px);
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1b1b1b;
    color: #aaa;
    border-radius: 10px;
    background-color: #0a0a0b;
    cursor: pointer;
}

.configbutdiv #apply{
    background-color: #FB8C00;
    color: #fff;
    border-color: #FB8C00;
}


#curFps{
    color: #00BCD4;;
}

#minFps{
    color: red;
}

#maxFps{
    color: #009688;
}

#avgFps{
    color: #0cf00b;
}

#xiankaBtn{
    display: none;
}

/****************************************/

.gpucent{
    width: 300px;
    position: fixed;
    left: 50%;
    top: 65px;
    transform: translateX(-50%);
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0px 0px 4px 1px #009688;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

#gpuInfo{
    color: #aaa;
    font-size: 12px;
    word-break: break-all;
    padding: 10px 0;
    line-height: 20px;
}

/****************************************/


.tipdivbg{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    background-color: rgb(0 0 0 / 5%);
    backdrop-filter: blur(10px);
    user-select: none;
}

.tipdiv{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0 0 0 / 51%);
    backdrop-filter: blur(50px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #444;
    padding: 30px 20px;
    max-width: 400px;
    width: calc(100% - 20px);
    border-radius: 6px;
}

.tipdiv>div:nth-child(1){
    font-size: 20px;
    color: #eee;
    margin-bottom: 30px;
}

.tipdiv>div:nth-child(2){
    font-size: 14px;
    text-align: center;
    color: #FF9800;
    margin-bottom: 30px;
}

.tipdiv>div:nth-child(3){
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tipdiv>div:nth-child(3) button,.tipdiv>div:nth-child(3) a{
    background-color: #FF5722;
    border: 1px solid #FF5722;
    color: #fff;
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.tipdiv>div:nth-child(3) a{
    background-color: #2196F3;
    border: 1px solid #2096f3;
    margin-left: 30px;
}

.tipdiv>a{
    color: #bbb;
}

@media screen and (max-width: 520px){
    .topright {
        display: flex;
        align-items: flex-end;
        flex-direction: column;
    }

    .toprightdiv{
        width: calc(100% - 20px);
    }

    .topright-item{
        width: 100%;
    }

    #fpsChart {
        width: 100%;
        max-width: 100%; 
        height: 60px;
        display: block;
    }
}

@media screen and (max-width: 320px){
    .setupdiv {
        width: calc(100% - 20px);
    }
    .gpucent{
        width: calc(100% - 20px);
    }
}