/* 沙盘字体均采用 SIL OFL 1.1 授权；浏览器只会下载页面实际使用到的字体文件。 */
@font-face{
    font-family: 'Noto Sans SC';
    src: url('/static/common/fonts/sandtable/noto-sans-sc.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face{
    font-family: 'Noto Serif SC';
    src: url('/static/common/fonts/sandtable/noto-serif-sc.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

@font-face{
    font-family: 'LXGW WenKai';
    src: url('/static/common/fonts/sandtable/lxgw-wenkai.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'ZCOOL XiaoWei';
    src: url('/static/common/fonts/sandtable/zcool-xiaowei.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Wuhan YingXiong';
    src: url('/static/common/fonts/sandtable/WuHanYingXiongTi-3.1-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Dianying Zimu';
    src: url('/static/common/fonts/sandtable/dianyingzimuti-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Douyu Zhuiguang';
    src: url('/static/common/fonts/sandtable/douyuFont-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Alimama Fangyuan';
    src: url('/static/common/fonts/sandtable/AlimamaFangYuanTiVF-Thin-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Wencang shufang';
    src: url('/static/common/fonts/sandtable/WenCangShuFang-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Qiuhongkai';
    src: url('/static/common/fonts/sandtable/YanShiQiuHongKai-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'Sx Jianti';
    src: url('/static/common/fonts/sandtable/SanJiSuXianJianTi-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face{
    font-family: 'PFJX FY';
    src: url('/static/common/fonts/sandtable/PingFangLaiJiangHuFeiYangTi-2.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
/* 沙盘编辑端与展示端共用的覆盖物样式，标记外观只在此处维护。 */
.mapsand-map-point{
    --marker-scale:1;
    --marker-fill:#286efa;
    --marker-border:#fff;
    --marker-line-width:2px;
    --marker-line-length:50px;
    --marker-line-color:#fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(45px * var(--marker-scale));
    height: calc(45px * var(--marker-scale));
}
.mapsand-map-point.sceneActive{
    --marker-scale:1!important;
    --marker-fill:rgb(255,0,0)!important;
}

/* 视觉圆点可以继续缩小，但点击和拖动区域至少保留默认尺寸。 */
.mapsand-map-point-dot-kind{
    min-width: 45px;
    min-height: 45px;
}

.mapsand-map-point-dot{
    width: calc(25px * var(--marker-scale));
    height: calc(25px * var(--marker-scale));
    border: 2px solid var(--marker-border);
    border-radius: 50%;
    background: var(--marker-fill);
    flex-shrink: 0;
    margin-top:6px;
}

.mapsand-map-point-image{
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.mapsand-map-point-line{
    width: var(--marker-line-width);
    height: var(--marker-line-length);
    background: var(--marker-line-color);
    flex-shrink: 0;
}

.mapsand-map-image-marker{
    user-select: none;
    pointer-events: none;
}

.mapsand-map-title{
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 5px;
}

/* 场景交互使用跨编辑端和播放端都可显示的字符图标，不依赖某个页面单独加载图标字体。 */
.mapsand-map-title-scene-icon{
    display: inline-block;
    margin-right: 4px;
    font-size: .9em;
    line-height: 1;
    vertical-align: 1px;
}

.mapsand-marker-scene-interaction-icon{
    display: inline-block;
    flex: 0 0 auto;
    margin-left: 5px;
    color: #6ea8ff;
    font-size: 13px;
    line-height: 1;
}

.mapsand-font-select .el-input__inner{
    font-family: inherit;
}

.amap-marker-label{
    border: 0;
    padding: 0;
    background: transparent;
}

.mapsand-map-drag-cursor,
.mapsand-map-drag-cursor *{
    cursor: move !important;
}

.mapsand-map-title-anchor.bubble-blue{
    padding-bottom: 8px;
}

.mapsand-map-title-anchor.bubble-blue .mapsand-map-title{
    position: relative;
    background: var(--custom-bgcolor);
    color: #fff;
    border: 2px solid #fff !important;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .2s;
}

.mapsand-map-title-anchor.bubble-blue .mapsand-map-title::before,
.mapsand-map-title-anchor.bubble-blue .mapsand-map-title::after{
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
}

.mapsand-map-title-anchor.bubble-blue .mapsand-map-title::before{
    bottom: -21px;
    border-top-color: #fff;
    z-index: 1;
}

.mapsand-map-title-anchor.bubble-blue .mapsand-map-title::after{
    bottom: -18px;
    border-top-color: var(--custom-bgcolor);
    z-index: 2;
}

.mapsand-map-title-anchor.bubble-noborder{
    padding-bottom: 8px;
}

.mapsand-map-title-anchor.bubble-noborder .mapsand-map-title{
    position: relative;
    background: var(--custom-bgcolor);
    color: #fff;
    border: 0 !important;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .2s;
}

.amap-overlay-text-container.text-marker{
    position: relative;
    background:none;
    border: 0 !important;
    padding: 0 !important;
}
.amap-overlay-text-container.text-marker.bubble-noborder{
    padding-bottom: calc(var(--padding-y) * 1px + 5px) !important;
}

.mapsand-map-title-anchor.bubble-noborder .mapsand-map-title::after,
.amap-overlay-text-container.text-marker.bubble-noborder .amap-overlay-text::after{
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--custom-bgcolor);
    z-index: 1;
}

/* 隐藏地图Logo */
.amap-logo {
    display: none;
    opacity: 0 !important;
}

/* 隐藏地图版权信息 */
.amap-copyright {
    opacity: 0;
}
