.flex{
    display: flex;
}
.flex.center{
    justify-content: center;
}
.flex.end{
    align-items: flex-end;
}
.l{ font-weight: bold;font-size:1.5em;}
.ll{ padding: 10px; }
#head{
    border-bottom:3px solid gray ;
}
#rb{
    margin: 30px;
    text-align: center;
}
#rb input{ margin-left:1em ;}
.ovc{ color: red; }
#list{
    margin-top:1em ;
    border-top:3px solid gray;
}
#main table{
    margin: 5px 10px;
    font-size:0.8em;
}
#main table td{
    border: 1px solid lightgray;
    padding: 1px 3px;
    text-align: center;
}
#main .lbl{
    margin-left:5px;
    margin-right:5px;
}
#main .ibox input{
    width:60px;
    height: 60px;
}
#main .ibox{
    padding: 3px;
    position: relative;
    margin: 2px;
    border-radius: 10px;
}
#main .ibox input{
    border-radius: 7px;
    border: 1px solid dodgerblue;
    background: #CCFFFF;
    font-size: 1.3em;
    text-align: center;
}
#main .ibox p,#main .ibox p.lastval:before{
    padding: 0;
    margin: 0;
    font-size:0.8em;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}
#main .ibox p.goalval{
    position: absolute;
    font-weight: bold;
    top:2px;
    left:5px;
}
#main .ibox p.lastval{
    position: absolute;
    font-weight: bold;
    bottom:2px;
    right:5px;
}
#main .ibox p.lastval:before{
    content: "残り:";
}
#list li{
    list-style: none;
}
#itemname p{
    text-align: center;
}
#itemname p:before{
    content: "【";
}
#itemname p:after{
    content: "】";
}
#main .ibox.moveSelect{
    background: red;
}
#ctrlArea > div > div{
    margin-left: 10px;
}
#ctrlArea > div{
    align-items: center;
    margin-bottom: 10px;
}
#ctrlArea button{
    margin-bottom: 7px;
}
#ctrlArea .numberdiv button{
    margin-left: 10px;
}