.huyingpingmus {
    border: 1px solid #eee;
    padding: 0.75rem;
}

.huyingpingmus h2 {
    font-size: 0.7rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.huyingpingmus p {
    font-size: 0.6rem;
    line-height: 1.2rem;
}

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

.cpubutdiv{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
}

.night .cpubutdiv{
    border-top: 1px solid #444;
}

.cpubutdiv a{
    color: #fff !important;
    height: 1.8rem;
    line-height: 1.8rem;
    background-color: #4CAF50;
    display: block;
    transition: all 0.5s;
    text-align: center;
    font-size: 0.7rem;
    border-radius: 3px;
    width: calc(100% - 100px);
}

.cpubutdiv a:first-child{
    width: 100px;
    background-color: #607D8B;
}

/* ######################### */

.setupdivs{
    display: none;
}

.cpusetupalert{

}

.cpusetupalert .layui-layer-content{
    overflow: inherit;
    padding: 0.25rem;
}

.cpusetupalert .setupdivs{
    margin-top: 0;
}

/* ######################### */


.card {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}

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

.card h3 {
    font-size: 14px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.card h3:first-child {
    margin-top: 0;
}



/* ---------- 进度 ---------- */
#progBox {
    display: none;
}

#progBox.show {
    display: block;
}

.prog-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.prog-head #progPct {
    color: #4f8cff;
    font-variant-numeric: tabular-nums;
}

.track {
    height: 0.6rem;
    background: #eef1f5;
    border-radius: 99px;
    overflow: hidden;
}

.night .track{
    background: #444;
}

.track > i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #3d7bf0, #7aa8ff);
    transition: width .25s ease;
}

.log {
    margin-top: 0.75rem;
    overflow-y: auto;
    border-top: 1px dashed #eee;
    padding-top: 0.5rem;
}

.night .log{
    border-top: 1px dashed #444;
}


.log:empty {
    display: none;
}

.log-row {
    display: grid;
    grid-template-columns: 40px 60px 1fr 50px 96px;
    gap: 0.5rem;
    align-items: center;
    padding: 4px 0;
    font-size: 0.55rem;
}

.log-tag {
    font-size: 0.5rem;
    text-align: center;
    border-radius: 6px;
    padding: 1px 0;
    background: rgba(79, 140, 255, .14);
    color: #79a6ff;
    border: 1px solid rgba(79, 140, 255, .25);
}

.log-tag.multi {
    background: rgba(46, 204, 113, .13);
    color: #5fd992;
    border-color: rgba(46, 204, 113, .25);
}

.log-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.log-track {
    height: 0.6rem;
    background: #eef1f5;
    border-radius: 99px;
    overflow: hidden;
}

.night .log-track{
    background: #444;
}

.log-track > i {
    display: block;
    height: 100%;
    border-radius: 99px;
}

.log-score {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.log-ops {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ---------- 结果 ---------- */
.resultZone {
    display: none;
}

.resultZone.show {
    display: block;
}

.rescard {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
}

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

.dualdiv{
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 0.5rem;

}

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

.dualdiv span{
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    border: 1px solid #eee;
    margin-right: 0.5rem;
    cursor: pointer;
}

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

.score-desc {
    margin: 0.6rem auto 0;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    font-size: 0.55rem;
}

.night .score-desc{
     border-top: 1px solid #444;
     color: #bbb;
}

.dual {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    display: grid;
    margin-bottom: 0.5rem;
    grid-template-columns: repeat(4, 1fr);
}

.dual > div {
    border: 1px solid #eee;
    border-radius: 3px;
    padding:0.5rem 0.75rem;
}

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

.dual > div > span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.dual > div > small {
    display: block;
    font-size: 11px;
    color: #8b98b0;
    margin-top: 2px;
}

.weifen{
    border: 1px solid #eee;
    border-radius: 3px;
    margin-bottom:0.75rem;
    margin-top: 0.75rem;
}

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

.weifen h3{
    font-size: 0.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    background-color: #f6f7fa;
    border-bottom: 1px solid #eee;
    padding-left: 0.75rem;
}

.night .weifen h3{
        background-color: #242424;
    border-bottom: 1px solid #444;
}

#barsBox{
    padding: 0.5rem 0.75rem;
}

.bar-row {
    display: grid;
    grid-template-columns: 60px 1fr 46px 92px;
    gap: 0.5rem;
    align-items: center;
    padding: 5px 0;
}

.bar-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.night .bar-name{
    color: #bbb;
}

.bar-track {
    height: 0.6rem;
    background: #eef1f5;
    border-radius: 99px;
    overflow: hidden;
}

.night .bar-track{
    background: #444;
}

.bar-track > i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #3d7bf0, #7aa8ff);
    transition: width .5s ease;
}

.bar-val {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.night .bar-val{
    color: #bbb;
}

.bar-ops {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.night .bar-ops {
    color: #bbb;
}

.xingqing{
    border: 1px solid #eee;
    border-radius: 3px;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}

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

.xingqing h3{
    font-size: 0.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    background-color: #f6f7fa;
    border-bottom: 1px solid #eee;
    padding-left: 0.75rem;
}

.night .xingqing h3{
        background-color: #242424;
    border-bottom: 1px solid #444;
}

#detailBody ,#hwBody{
    display: grid;
    gap: 0.5rem;
    padding: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
}

#detailBody>div ,#hwBody>div{
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 0.5rem;
    border-left: 2px solid #03A9F4;
}

.night #detailBody>div ,.night #hwBody>div{
    border: 1px solid #444;
    border-left: 2px solid #03A9F4;
}

#detailBody p,#hwBody p{
    font-size: 0.55rem;
    line-height: 1.8;
}


.ok {
    color: #2ecc71;
}

.no {
    color: #ff6b6b;
}

.eff {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
}

.eff > div {
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 0.75rem;
}

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

.eff .big {
    font-size: 1.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.eff .big small {
    font-weight: 400;
    margin-left: 0.5rem;
    font-size: 0.55rem;
}

.eff p {
      margin: 8px 0 0;
    line-height: 1.75;
}

#reportBox {
    display: none;
    border: 1px solid #eee;
    border-radius: 3px;
    margin-top: 0.75rem;
    overflow: hidden;
}

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

#reportBox h3{
    font-size: 0.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    background-color: #f6f7fa;
    border-bottom: 1px solid #eee;
    padding-left: 0.75rem;
}

.night #reportBox h3{
    background-color: #242424;
    border-bottom: 1px solid #444;
}

#reportBox h3 span{
    float: right;
    margin-right: 0.75rem;
    cursor: pointer;
}

#reportBox.show {
    display: block;
}

#reportText {
    width: 100%;
    min-height: 15rem;
    background: #111827;
    color: #c3cddf;
    border: 1px solid #111827;
    padding: 0.75rem;
    line-height: 1.7;
    resize: vertical;
    outline: none;
    display: block;
}

.lv1 {
    color: #ff6b6b;
}

.blv1{
    border:1px solid #ff6b6b !important;
}

.lv2 {
    color: #f5a623;
}

.blv2{
    border:1px solid #f5a623 !important;
}

.lv3 {
    color: #4f8cff;
}

.blv3{
    border:1px solid #4f8cff !important;
}

.lv4 {
    color: #2ecc71;
}

.blv4{
    border:1px solid #2ecc71 !important;
}

.bg-lv1 {
    background: #ff6b6b;
}

.bg-lv2 {
    background: #f5a623;
}

.bg-lv3 {
    background: #4f8cff;
}

.bg-lv4 {
    background: #2ecc71;
}

.grade.lv1 {
    background: rgba(255, 107, 107, .14);
}

.grade.lv2 {
    background: rgba(245, 166, 35, .14);
}

.grade.lv3 {
    background: rgba(79, 140, 255, .14);
}

.grade.lv4 {
    background: rgba(46, 204, 113, .14);
}

@media (max-width: 640px) {
    .bar-row {
        grid-template-columns: 60px 1fr 40px;
    }

    .bar-ops {
        display: none;
    }

    .log-row {
        grid-template-columns: 40px 60px 1fr 42px;
    }

    .log-ops {
        display: none;
    }
}

@media (max-width: 610px) {
    .dual {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    #detailBody, #hwBody {
        grid-template-columns: repeat(1, 1fr);
    }
    .cpubutdiv a {
        width: 50%;
    }
    .cpubutdiv a:first-child {
        width: 50%;
    }
}
