/***
FANCC PROJECT
Phone Button
2025.01.17
*/

*{
    margin: 0;
    padding: 0;
}
.container{
    background-color: white;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.6, 0.4, 1, 0.9) 0s;
    justify-content: center;
}
.smooth{
    transition: all 0.5s cubic-bezier(0.6, 0.4, 1, 0.9) 0s;
}
.button_box{
    position: absolute;
    bottom: 0%;
    /* background-color: aqua; */
    height: 60%;
    width: 100%;
}
.box_hide{
    bottom: -60%;
}
.buttons{
    /* width: 80%; */
    aspect-ratio: 3/4;
    margin: 0 auto;
    height: 100%;
    /* background-color: brown; */
    display: grid;
    grid-template-rows: repeat(4, 1fr); /* 3行，每行等高 */
    grid-template-columns: repeat(3, 1fr); /* 4列，每列等宽 */
    gap: 5px;
}
.buttons > span{
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: beige;
    margin: 15px;
    border-radius: 100%;
    color: gray;
    user-select: none;
    -webkit-user-select: none;
    
    /* aspect-ratio: 1 / 1; */
}
.buttons > span.active{
    background-color: rgb(98, 98, 98);
    color: white;
}
.hide{
    opacity: 0;
    z-index: -100;
}
.remove{
    display: none;
}
.loading{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-color: white; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading img{
    width: 50px;
}
#output{
    word-break: break-all;
    font-size: 35px;
    margin: 30px;
    overflow-y: scroll;
    user-select: none;
    pointer-events: none;
}
#output::-webkit-scrollbar {
    display: none;
}
.tip{
    position: absolute;
    color: gray;
    font-size: 10px;
    right: 10px;
    top: 10px;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}
.tip > div{
    text-align: right;
}
#info{
    position: absolute;
    z-index: 999;
    /* pointer-events: none; */
    padding: 5px;
    display: none;
}