.app {
    position: relative;
    padding: 0.5rem;
    border-radius: 3px;
    border: 1px solid #252535;
    background: url(/zb_users/plugin/xc_toolbox/style/img/heibg.png) repeat;
}

.app.web-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    border-radius: 0;
    border: 1px solid #252535;
    background: #131313;
}

.cr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #252535;
}

.cg {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cg button {
    height: 1.2rem;
    line-height: 1;
    padding: 0 0.4rem;
    border-radius: 3px;
    font-size: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #aaa;
    background: #181a1b;
    background: rgba(25, 25, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cg button i{
    font-size: 0.5rem;
}

.wuliaoalert{
    display: none;
}

#calPreset {
    height: 1.4rem;
    border-radius: 3px;
    padding: 0 0.3rem;
    cursor: pointer;
    outline: none;
    width: 100%;
    border: 1px solid #eee;
    margin-bottom: 0.25rem;
}

.night .in #calPreset {
    background-color: #181a1b;
    border: 1px solid #444;
    color: #aaa;
}

.cal-input {
    height: 1.4rem;
    width: 100%;
    padding: 0 0.5rem;
    border-radius: 3px;
    border: 1px solid #eee;
    margin-bottom: 0.25rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.night .cal-input{
    color: #aaa !important;
}

.cal-input::-webkit-inner-spin-button,
.cal-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rz {
    overflow: hidden;
    position: relative;
}

.rw {
    width: 100%;
    height: calc(100vh - 1.5rem - 5rem);
    display: block;
    cursor: crosshair;
    border-radius: 3px;
    position: relative;
}

#rc {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

/* 悬停坐标提示 */
.tt {
    position: absolute;
    pointer-events: none;
    background: rgba(62, 39, 35, 0.88);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .1s;
    z-index: 5;
}

.tt.show {
    opacity: 1;
}

.night .tt {
    background: rgba(30, 25, 20, 0.92);
}

/* 距离卡片区域 */
.mr {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-bottom: 0.5rem;
}

.mc {
    flex: 1 1 120px;
    text-align: center;
    padding: 0.5rem 0.2rem;
    border-radius: 3px;
    background: #181a1b;
    border: 1px solid #252535;
}

.mc .lb {
    font-size: 0.5rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.5rem;
}

.mc .nm {
    font-size: 1rem;
    color: #FF8F00;
    line-height: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: center;
    justify-content: center;
    gap: 0.25rem;
}

.mc .nm .u {
    font-size: 0.5rem;
    font-weight: 400;
    color: #888;
}

.chizhialert{
    padding: 10px;
}

.chizhialert button{
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
    height: 1.4rem;
    line-height: 1;
    border: 0;
    border-radius: 3px;
    color: #e8e8f0;
    cursor: pointer;
    transition: all .14s;
    text-align: center;
    background-color: #16baaa;
}

.chizhialert button:last-child{
    margin-bottom: 0;
}

.screen-btnsdiv{
    display: none;
}

.screen-btns{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    padding: 0.5rem;
}

.screen-btns button{
    display: block;
    width: 100%;
    height: 1.4rem;
    line-height: 1;
    border: 0;
    border-radius: 3px;
    color: #e8e8f0;
    cursor: pointer;
    text-align: center;
    background-color: #16baaa;
}

#bApplyCal,#bAutoCalByScreen{
    background-color: #607D8B;
}

#phonealert{
    margin-bottom: 0rem;
}

.wuliaoalertoptions{
    padding: 0.5rem;
    background-color: #444;
    border-radius: 3px;
}

.wuliaoalertoptions:last-child{
    margin-top: 0.5rem;
}

.wuliaoalertoptions p{
    font-size: 0.5rem;
    color: #19baaa;
    margin-bottom: 0.5rem;
}

.xiaozhuistip{
    margin: 0.5rem;
    padding: 0.5rem;
}

.xiaozhuistip>div{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.xiaozhuistip>div button{
    display: block;
    width: 100%;
    height: 1.4rem;
    line-height: 1;
    border: 0;
    border-radius: 3px;
    color: #e8e8f0;
    cursor: pointer;
    transition: all .14s;
    text-align: center;
    background-color: #16baaa;
}

.xiaozhuistip>div button:last-child{
    background-color: #607D8B;
}

.xiaozhuishuoming{
    margin: 0.5rem;
    padding: 0.5rem;
    background-color: #444;
    color: #ddd;
    display: none;
}

.xiaozhuishuoming ul li{
    line-height: 2;
}

#bApplyhelps{
    background-color: #333;
    color: #bbb;
    border: 1px solid #555;
}