
html,
body {
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: url('//cdn.hamm.cn/cursor/default.cur'), default;
}

body {
    user-select: none;
    background: transparent;
}

[v-cloak] {
    visibility: hidden !important;
}

*{
    user-select: none;
    pointer-events: none;
}

@font-face {
    font-family: 'lcd';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(//cdn.hamm.cn/font/lcd/DS-Digital.TTF);
}

#app{
    position: relative;
}
.ac {
    position: relative;
    width: 398px;
    height: 118px;
    display: inline-block;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0);
    background-color: white;
    z-index: 1;
    overflow: hidden;
    margin: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

.af {
    position: absolute;
    left: 10px;
    top: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 400px;
    height: 110px;
    display: inline-block;
    border-radius: 20px;
    background-color: #eee;
    z-index: 0;
    animation: ac-on 1s forwards;
}

.af.off {
    animation: ac-off 1s forwards;
}

.ac .flag {
    width: 24px;
    position: absolute;
    left: 10px;
    top: 15px;
}

.ac .logo {
    position: absolute;
    left: 5px;
    bottom: 0px;
    color: #aaa;
}

.logo img {
    width: 40px;
    height: 40px;
    opacity: 0.1;
    filter: grayscale(1);
}

.temp {
    z-index: 2;
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #ccc;
    cursor: pointer;
    font-family: lcd;
    background: #333;
    border-radius: 100%;
    pointer-events: auto;
}

.temp .c {
    font-size: 12px;
    font-family: lcd;
}

.temp .light {
    position: absolute;
    right: 7px;
    top: 7px;
    background-color: lightgreen;
    width: 5px;
    height: 5px;
    border-radius: 5px;
}

.off .temp #temp,
.off .temp .c {
    display: none;
}

.off .light {
    background-color: orange !important;
}

@keyframes ac-on {
    from {
        top: 19px;
    }

    to {
        top: 28px;
    }
}

@keyframes ac-off {
    from {
        top: 28px;
    }

    to {
        top: 19px;
    }
}

.qrcode {
    position: absolute;
    right: 50px;
    top: -38px;
    z-index: 1;
    transition: all 0.3s;
    transform: scale(0);
    font-size: 12px;
    line-height: 10px;
    opacity: 0;
}