.dicediv{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 1rem 0;
    background-color: #f6f7fa;
}

.dicediv img{
    width: 3.5rem;
    height: 3.5rem;
    margin: 0.5rem;
}

.butdivdiv{
    text-align: center;
    border: 1px solid #eee;
    padding: 0.5rem 0;
    background-color: #f6f7fa;
}

.butdiv{
    display: inline-block;
    margin-top: 0;
}

.butdiv .layui-form {
    text-align: left;
}

.butdiv .layui-form-select .layui-input{
    height: 1.7rem;
    text-align: left;
}

.butdiv button{
    height: 1.7rem;
    line-height: 1.7rem;
    background-color: #00b277;
    border: 0;
    display: inline-block;
    color: #fff;
    padding: 0 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 0.25rem;
    float: left;
}

.butdiv .layui-form .layui-form-select .layui-input {
    height: 1.7rem;
    border-color: #eee;
}

.night .butdiv .layui-form .layui-form-select .layui-input {
    height: 1.7rem;
    border-color: #444;
}

@media screen and (max-width: 480px) {
    .butdivdiv {
        padding: 0.5rem;
    }
    .butdiv{
        width: 100%;
        margin: 0;
        text-align: center;
        padding: 0;
    }
    .butdiv .layui-form{
        margin: 0.1rem 0;
        width: 100% !important;
    }
}

.night .dicediv{
    background-color:#222222;
}

.night .butdivdiv{
    background-color: #222;
    border: 1px solid #333;
}

@media screen and (max-width: 340px) {
    .dicediv img {
        width: 2rem;
        height: 2rem;
        margin: 0.5rem;
    }
}