#divcalc {
    max-width: 35.5rem;
    padding: 0.3rem;
    border: #e5e5e5 solid 1px;
    border-radius: 6px;
    background: #EAECF3;
    margin: auto;
}
.night #divcalc{
    background-color: #333;
    border: 1px solid #444;
}
.cadiv{
    width:50%;
    float: left;
}
.cadiv.lr{
    padding-left: 0.35rem;
}
.cadiv>div{
    width: calc(100% / 5);
    display: inline-block;
    float: left;
    padding: 0.15rem 0.15rem;
}
.cadiv>div span{
    display: block;
    height: 1.9rem;
    line-height: 1.9rem;
    border: none;
    border-radius: 3px;
    font-family: arial, helvetica, sans-serif;
    font-size: 0.7rem;
    color: #000;
    cursor: pointer;
    background-color: #e5ecf3;
    background-image: linear-gradient(135deg, #D9DCE8, #E2E4EF);
    text-align: center;
    border-radius: 10px;
    box-shadow: inset 1px 1px 1px 0px rgb(255 255 255 / 80%), inset -1px -1px 1px 0px rgb(40 49 85 / 30%), 1px 1px 3px 0px rgb(40 49 85 / 10%);
    user-select: none;
    color: #283155;
    position: relative;
}
.night .cadiv>div span{
    background-color: #181a1b;
    background-image: linear-gradient(135deg, #181a1b, #242627);
    box-shadow: inset 1px 1px 1px 0px rgb(36 38 39 / 80%), inset -1px -1px 1px 0px rgb(40 49 85 / 30%), 1px 1px 3px 0px rgb(36 38 39);
    color: #eee;
}
.cadiv>div span:hover{
    background: #cfd2e0;
}
.night .cadiv>div span:hover {
    background: #222;
}
.cadiv>div span:active {
    box-shadow: none;
    color: #747a92;
    transform: scale(0.95);
    text-shadow: none;
    background: #cfd2e0;
}
.night .cadiv>div span:active {
    background: #222;
}
.cadiv>div span.scird {
    width: 6.6rem;
    height: 1.5rem;
    font-size: 0.65rem;
    background: #cfd2e0;
    box-shadow: inset -1px -1px 1px 0 rgb(255 255 255 / 70%), inset 1px 1px 1px 0 rgb(40 49 85 / 20%), 1px 1px 3px 0 rgb(40 49 85 / 10%);
}
.cadiv>div span.bais{
    background-image: linear-gradient(135deg, #F4F5F6, #fff);
    box-shadow: inset 1px 1px 1px 0px rgb(255 255 255 / 80%), inset -1px -1px 1px 0px rgb(40 49 85 / 30%), 1px 1px 3px 0px rgb(40 49 85 / 10%);
    font-size: 0.9rem;
}
.night .cadiv>div span.bais{
    background-image: linear-gradient(135deg, #242627, #202122);
    box-shadow: inset 1px 1px 1px 0px rgb(33 35 36 / 80%), inset -1px -1px 1px 0px rgb(40 49 85 / 30%), 1px 1px 3px 0px rgb(40 49 85 / 10%);
}
.cadiv>div span.bais:hover {
    background: #DFE0E5;
}
.night .cadiv>div span.bais:hover {
    background: #222;
}
.cadiv>div span.bais:active {
    box-shadow: none;
    color: #747a92;
    transform: scale(0.95);
    text-shadow: none;
    background: #cfd2e0;
}
.night .cadiv>div span.bais:active {
    background: #222;
}
.cadiv>div span sup{
    position: absolute;
    top: -5px;
}
#sciPut {
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.37) inset, 0 1px 1px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0 2px 3px rgb(0 0 0 / 37%) inset, 0 1px 1px rgb(0 0 0 / 13%);
    box-shadow: 0 2px 3pxrgba(0, 0, 0, 0.37) inset, 0 1px 1pxrgba(0, 0, 0, 0.13);
    padding: 0.5rem 0.5rem 0 0.5rem;
    box-shadow: inset 1px 1px 1px 0 rgb(40 49 85 / 40%);
    background: #fff;
    margin: 0.2rem 0.2rem 0.4rem 0.2rem;
    border-radius: 6px;
    overflow: hidden;
}
.night #sciPut{
    background-color: #444;
    color: #fff;
}
#sciOutPut {
    margin: 0.01rem;
    cursor: text;
    border-radius: 0px;
    border: 0;
    -webkit-appearance: none;
    font-size: 1.6rem;
    color: #333;
    text-align: right;
    background: 0;
}
.night #sciOutPut{
    color: #ccc;
}
#sciInPut {
    overflow: hidden;
    width: auto;
    margin: 0.01rem;
    word-wrap: break-word;
    margin-bottom: -0.01rem;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-left: 1.4rem;
    text-align: right;
    line-height: 1;
    color: #283155;
    padding-top: 0.03rem;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.night #sciInPut{
    color: #ccc;
}
#sciInPut b {
    color: #ccc;
    font-weight: bold;
}
.cadiv>div span.ac {
    background-image: linear-gradient(135deg, #FFA80E, #FFC355);
    color: #fff;
    font-size: 1rem;
}
.cadiv>div span.de {
    background-color: #aec0d3;
    background: #4f6ef2;
    color: #fff;
}
.degrads i{
    width: 7px;
    height: 7px;
    display: block;
    border-radius: 100%;
    position: absolute;
    right: 6px;
    top: 6px;
    background-color: #adb1c4;
}
.degrads i.act{
    background-color: #147ed3;
}
@media screen and (max-width: 1108px) {
    .cadiv{
        width:100%;
        float: unset;
    }
    .cadiv.lr{
        margin-top: 0.5rem;
        margin-bottom: 0.3rem;
        padding-left:0;
    }
    #divcalc {
        max-width: 17.5rem; 
    }
    #sciInPut {
        font-size: 0.6rem;  
    }
    #sciOutPut {
        font-size: 1rem;  
    }
}
@media screen and (max-width: 468px) {
    .cadiv>div span {
        height: 2.6rem;
        line-height: 2.6rem;
    }
}
@media screen and (max-width: 380px) {
    .wap{
        display: none !important;
    }
    .cadiv>div {
        width: calc(100% / 4);
    }
    .cadiv.lr{
        display: none;
    }
}