﻿@charset "utf-8";
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, body { padding: 0; margin: 0; color: #c5d0e6; font-family: -apple-system, "Microsoft YaHei", sans-serif; }
body {
    background: #03081e url(../images/bg.jpg) center top no-repeat;
    background-size: cover;
    color: #c5d0e6;
    font-size: 12px;
    min-height: 100vh;
    overflow-x: hidden;
}
li { list-style-type: none; }
i { margin: 0; padding: 0; text-indent: 0; }
img { border: none; max-width: 100%; }
a { text-decoration: none; color: #5b9bd5; }
a.active, a:focus { outline: none !important; text-decoration: none; }
ol, ul, p, h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0 }

.clearfix:after, .clearfix:before { display: table; content: " " }
.clearfix:after { clear: both }

/* 滚动条 */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-thumb { background: rgba(100, 160, 220, 0.4); border-radius: 3px; }
::-webkit-scrollbar-track { background: transparent; }

/* 加载 */
.loading { position: fixed; left: 0; top: 0; font-size: 16px; z-index: 100000000; width: 100%; height: 100%; background: #03081e; display: flex; justify-content: center; align-items: center; }
.loadbox { color: #5b9bd5; text-align: center; }
.loadbox img { margin: 10px auto; display: block; width: 40px; }

/* 浮动粒子动画层 */
.dashuju-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.dashuju-particles .p {
    position: absolute;
    border-radius: 50%;
    background: rgba(100, 180, 255, 0.3);
    animation: particleFloat linear infinite;
}
.dashuju-particles .p:nth-child(1) { width: 3px; height: 3px; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.dashuju-particles .p:nth-child(2) { width: 2px; height: 2px; left: 25%; animation-duration: 22s; animation-delay: 3s; }
.dashuju-particles .p:nth-child(3) { width: 4px; height: 4px; left: 40%; animation-duration: 15s; animation-delay: 1s; }
.dashuju-particles .p:nth-child(4) { width: 2px; height: 2px; left: 55%; animation-duration: 20s; animation-delay: 5s; }
.dashuju-particles .p:nth-child(5) { width: 3px; height: 3px; left: 70%; animation-duration: 17s; animation-delay: 2s; }
.dashuju-particles .p:nth-child(6) { width: 2px; height: 2px; left: 85%; animation-duration: 25s; animation-delay: 4s; }
.dashuju-particles .p:nth-child(7) { width: 3px; height: 3px; left: 15%; animation-duration: 19s; animation-delay: 7s; }
.dashuju-particles .p:nth-child(8) { width: 2px; height: 2px; left: 60%; animation-duration: 21s; animation-delay: 6s; }

@keyframes particleFloat {
    0% { bottom: -5%; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { bottom: 105%; opacity: 0; }
}

/* 头部 */
.head {
    height: clamp(50px, 4vw, 75px);
    background: url(../images/head_bg.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.head h1 {
    color: #e8edf5;
    text-align: center;
    font-size: clamp(16px, 1.4vw, 26px);
    line-height: clamp(50px, 4vw, 75px);
    letter-spacing: 3px;
    font-weight: 500;
}
.head h1 img { height: clamp(28px, 2.5vw, 45px); display: inline-block; vertical-align: middle; margin-right: 8px;border-radius: 50%; }
.weather {
    position: absolute;
    right: 1.5vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}
.weather span { color: rgba(255, 255, 255, 0.6); font-size: clamp(12px, 0.9vw, 18px); }
.weather .currentTime { color: #7eb8f0; font-family: 'Courier New', monospace; font-weight: bold; font-size: clamp(14px, 1.1vw, 22px); }

/* 主流布局 - 全屏铺满 */
.mainbox {
    padding: 0vw 0.8vw 0.6vw;
    height: calc(100vh - clamp(50px, 4vw, 75px));
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.mainbox > ul {
    display: flex;
    flex: 1;
    gap: 0.6vw;
    align-items: stretch;
    min-height: 0;
}
.mainbox > ul > li {
    width: 24%;
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
    min-height: 0;
}
.mainbox > ul > li:nth-child(2) { width: 52%; }

/* 容器面板 */
.boxall {
    border: 1px solid rgba(100, 160, 220, 0.12);
    padding: 0 0.9vw 0.6vw;
    background: linear-gradient(180deg, rgba(5, 12, 45, 0.7) 0%, rgba(8, 18, 50, 0.6) 100%);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
/* 四角装饰线 */
.boxall:before, .boxall:after { position: absolute; width: 12px; height: 12px; content: ""; border-top: 2px solid rgba(100, 160, 220, 0.35); top: -1px; }
.boxall:before { border-left: 2px solid rgba(100, 160, 220, 0.35); left: -1px; }
.boxall:after { border-right: 2px solid rgba(100, 160, 220, 0.35); right: -1px; }
.boxfoot { position: absolute; bottom: -1px; width: 100%; left: 0; }
.boxfoot:before, .boxfoot:after { position: absolute; width: 12px; height: 12px; content: ""; border-bottom: 2px solid rgba(100, 160, 220, 0.35); bottom: 0; }
.boxfoot:before { border-left: 2px solid rgba(100, 160, 220, 0.35); left: -1px; }
.boxfoot:after { border-right: 2px solid rgba(100, 160, 220, 0.35); right: -1px; }

/* 针对数据资产等内容较少的模块，取消均匀伸缩，收紧高度 */
.order-asset {
    flex: 0 0 auto;
    padding-bottom: 20px;
}

.alltitle {
    font-size: clamp(14px, 1vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: clamp(32px, 2.6vw, 48px);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(100, 160, 220, 0.1);
    margin-bottom: 0.4vw;
    letter-spacing: 1px;
}

/* 中间列顶部数据 Bar */
.bar {
    background: linear-gradient(180deg, rgba(5, 12, 45, 0.7) 0%, rgba(8, 18, 50, 0.6) 100%);
    padding: 0.5vw 0.8vw;
    border: 1px solid rgba(100, 160, 220, 0.12);
    position: relative;
    flex-shrink: 0;
}
.bar-grid {
    display: flex;
}
.bar-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0.3vw 0;
}
.bar-item + .bar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(100, 160, 220, 0.2);
}
.bar-val {
    font-size: clamp(16px, min(1.3vw, 2.2vh), 24px);
    color: #e8edf5;
    font-family: "Courier New", monospace;
    font-weight: bold;
    line-height: 1.2;
}
.color-red { color: #f56c6c !important; text-shadow: 0 0 10px rgba(245,108,108,0.5); }
.color-yellow { color: #e6a23c !important; text-shadow: 0 0 10px rgba(230,162,60,0.5); }
.color-blue { color: #409eff !important; text-shadow: 0 0 10px rgba(64,158,255,0.5); }
.bar-label {
    font-size: clamp(11px, min(0.65vw, 1.2vh), 13px);
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.2vw;
    letter-spacing: 1px;
}

/* 中心地图区域 */
.map { position: relative; flex: 3; z-index: 9; display: flex; align-items: center; justify-content: center; min-height: 0; }
.map4 { width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 5; }
.map1, .map2, .map3 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; justify-content: center; align-items: center; }
.map1 img { width: 32vw; animation: myfirst2 15s infinite linear; opacity: 0.5; }
.map2 img { width: 28vw; opacity: 0.15; animation: myfirst 10s infinite linear; }
.map3 img { width: 26vw; opacity: 0.7; }

/* Echarts 容器 */
.echarts-row { display: flex; flex: 1; width: 100%; align-items: stretch; justify-content: space-around; min-height: 0; }
.echarts-row-column { flex-direction: column; }
.sy { 
    flex: 1; height: 100%; min-height: 0; position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.tit02 { text-align: center; margin: 0.5vw 0; position: relative; flex-shrink: 0; }
.tit02 span {
    border: 1px solid rgba(100, 160, 220, 0.2);
    letter-spacing: 2px;
    padding: 2px 10px;
    background: rgba(20, 35, 65, 0.6);
    font-size: clamp(12px, 0.9vw, 18px);
    color: rgba(255, 255, 255, 0.7);
}
.tit02:before, .tit02:after { position: absolute; width: 20%; height: 1px; background: rgba(100, 160, 220, 0.15); content: ""; top: 50%; }
.tit02:after { right: 0; }
.tit02:before { left: 0; }

/* 实时访问记录 */
.wrap { flex: 1; overflow: hidden; position: relative; margin-top: 0.4vw; min-height: 0; }
.wrap ul { position: absolute; width: 100%; }
.wrap li { height: 32px; margin-bottom: 4px; }
.wrap li p {
    border: 1px solid rgba(100, 160, 220, 0.08);
    background: rgba(10, 18, 40, 0.5);
    border-left: 2px solid rgba(100, 160, 220, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0.5vw;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    overflow: hidden;
}
.vlog-time { color: rgba(100, 180, 255, 0.7); font-family: 'Courier New', monospace; white-space: nowrap; flex-shrink: 0; font-size: clamp(12px, 0.75vw, 15px); }
.vlog-city {
    background: rgba(100, 160, 220, 0.15);
    padding: 1px 6px;
    border-radius: 2px;
    color: #7eb8f0;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: clamp(11px, 0.7vw, 14px);
}
.vlog-text { white-space: nowrap; flex-shrink: 0; color: rgba(255, 255, 255, 0.5); font-size: clamp(12px, 0.75vw, 15px); }
.vlog-path { color: rgba(255, 255, 255, 0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(11px, 0.7vw, 14px); flex: 1; min-width: 0; }

/* 新增会员列表 */
.adduser { flex: 1; overflow: hidden; position: relative; margin-top: 0.4vw; min-height: 0; }
.adduser ul { position: absolute; width: 100%; }
.adduser li {
    height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(100, 160, 220, 0.06);
    padding: 0 5px;
}
.adduser-info {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    flex: 1;
}
.adduser-info img {
    width: 1.4vw; height: 1.4vw;
    min-width: 20px; min-height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(100, 160, 220, 0.2);
    flex-shrink: 0;
}
.adduser-info em {
    font-style: normal;
    font-size: clamp(13px, 0.8vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.adduser-time {
    font-size: clamp(11px, 0.7vw, 14px);
    color: rgba(100, 180, 255, 0.5);
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 8px;
}

/* 生意参谋 */
.sycm { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 0; 
    min-height: 0; 
}
.sycm-row { 
    display: flex; 
    flex: 1;
    align-items: center;
    padding: 0; 
    min-height: 0;
}
.sycm-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 4px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sycm-item + .sycm-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(100, 160, 220, 0.12);
}
.sycm-main h2 { color: #7eb8f0; }
.sycm-item h2 {
    font-size: clamp(16px, min(1.3vw, 2.2vh), 24px); /* 引入 vh 约束，带鱼屏不变形 */
    color: #e8edf5;
    font-family: "Courier New", monospace;
    font-weight: bold;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}
.sycm-item span {
    display: block;
    font-size: clamp(11px, min(0.65vw, 1.2vh), 13px);
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}
.sycm-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 160, 220, 0.15), transparent);
    margin: 0 10%;
    flex-shrink: 0;
}

.multi_row_ellipsis { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }

@keyframes myfirst2 { from { transform: rotate(0deg); } to { transform: rotate(359deg); } }
@keyframes myfirst { from { transform: rotate(0deg); } to { transform: rotate(-359deg); } }

#echarts4 {
    flex:1; width: 100%;
}
@media screen and (min-width: 992px) {
    .order-bar {
        order: 0!important;
    }
}
/* 平板 & 窄屏 */
@media screen and (max-width: 992px) {
    #echarts4 {
        min-height: 400px;
    }
    body { overflow-y: auto; }
    .head { flex-direction: row; justify-content: space-between; align-items: center; height: auto; padding: 12px 15px; }
    .head h1 { font-size: clamp(20px, 4vw, 32px); letter-spacing: 0; line-height: 1.4; flex: 1; text-align: left; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 10px; }
    .head h1 img { height: clamp(30px, 5vw, 40px); flex-shrink: 0; margin-right: 8px; }
    .weather { position: static; transform: none; justify-content: flex-end; padding-top: 0; width: auto; flex-shrink: 0; display: flex; align-items: center; }
    .weather span { font-size: clamp(14px, 2.5vw, 18px); margin-right: 4px; }
    .weather .currentTime { font-size: clamp(16px, 3vw, 20px); }

    .mainbox { height: auto; min-height: calc(100vh - 70px); padding: 10px; }
    .mainbox > ul { display: flex; flex-direction: column; gap: 15px; }
    /* 重中之重：彻底展平左右中三列，让内部卡片可以直接用 order 重排 */
    .mainbox > ul > li { display: contents; }
    
    /* ======== 移动端按业务核心优先级全盘重塑 ======== */
    .order-sycm       { order: 1; min-height: auto; padding-bottom: 20px; }  /* 1. 生意参谋 (最高级KPI) */
    .order-asset      { order: 2; min-height: auto; padding-bottom: 20px; }  /* 2. 数据资产 (新增) - 取消默认的400px高度设定 */
    .order-bar        { order: 3; }  /* 3. 曝光/大盘 (核心总览) */
    .order-map        { order: 4; margin: 20px 0; } /* 4. 中国地图 (视觉核心) */
    .order-pie2       { order: 5; }  /* 5. 入站数据 (客户构成) */
    .order-pie1       { order: 6; flex: 1.6; min-height: 550px; }  /* 6. 内容占比 - 移动端放大 */
    .order-bar-chart  { order: 7; }  /* 7. 地区分布 (省份明细) */
    .order-cloud      { order: 8; }  /* 8. 云计算资源 */
    .order-adduser    { order: 9; }  /* 9. 新增会员 (明细流水) */
    .order-visitlogs  { order: 10; } /* 10. 实时访问 (明细流水) */

    .bar { padding: 10px 6px; }
    .bar-grid { display: flex; flex-wrap: nowrap; }
    .bar-item { flex: 1; padding: 12px 4px; }
    .bar-item::before { display: block !important; }
    .bar-item::after { display: none; }
    .bar-val { font-size: 36px; margin-bottom: 10px; line-height: 1.3; }
    .bar-label { font-size: 26px; }

    .alltitle { font-size: 26px; line-height: 52px; padding-left: 10px; margin-bottom: 5px; text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
    .alltitle::before { height: 16px; top: 10px; }

    /* Task 2.5 移动端立体视觉增强 (Glassmorphism/科技光影) */
    .boxall, .bar {
        padding: 10px 14px 12px;
        overflow: visible;
        background: rgba(12, 24, 52, 0.85) !important;
        border: 1px solid rgba(80, 160, 255, 0.4) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 80, 200, 0.2) !important;
        border-radius: 12px;
        margin-bottom: 20px;
        position: relative;
    }
    
    /* 弱化原来的四角线条，与新圆角卡片融合 */
    .boxall:before, .boxall:after, .boxfoot:before, .boxfoot:after { border-color: rgba(80, 160, 255, 0.6); border-width: 3px; border-radius: 2px; }
    .sycm-row { padding: 10px 0; }
    .map { min-height: 85vw; }
    .map1 img { width: 75vw; }
    .map2 img { width: 65vw; }
    .map3 img { width: 58vw; }

    .sycm-item h2 { font-size: 36px;margin-bottom: 10px; }
    .sycm-item span { font-size: 26px; }
    .sy { min-height: 240px; }
    .sy::after { font-size: 20px; }
    .wrap { min-height: 300px; }
    .wrap li { height: 60px; font-size: 24px; }
    .wrap li p { padding: 0 14px; gap: 8px; }
    .vlog-time { font-size: 24px; }
    .vlog-city { font-size: 24px; }
    .vlog-text { font-size: 24px; }
    .vlog-path { font-size: 24px; }
    .adduser { min-height: 300px; }
    .adduser li { height: 68px; }
    .adduser-info img { width: 52px; height: 52px; min-width: 52px; min-height: 52px; }
    .adduser-info em { font-size: 26px; }
    .adduser-time { font-size: 22px; }
}

/* 手机竖屏 */
@media screen and (max-width: 576px) {
    .head { padding: 10px 12px; }
    .head h1 { font-size: clamp(18px, 5vw, 26px); }
    .head h1 img { height: clamp(26px, 6vw, 34px); }
    .weather { gap: 4px; }
    .weather span { font-size: clamp(12px, 3.5vw, 16px); margin: 0; }
    .weather .currentTime { font-size: clamp(14px, 4vw, 18px); }

    .mainbox > ul > li { display: contents; }
    .boxall { min-height: 240px; }
    .order-pie1 { min-height: 420px; }
    .order-sycm, .order-asset { min-height: auto; padding-bottom: 20px; }
    .sycm-row { padding: 8px 0; }

    /* Task 2.6: iPhone SE等小屏上的标题重叠防护 */
    .alltitle { font-size: 18px; line-height: 32px; padding-left: 8px; margin-bottom: 4px; }
    .alltitle::before { height: 14px; top: 8px; }
    .sycm-item h2 { font-size: 22px; }
    .sycm-item span { font-size: 13px; padding: 0 4px; }
    .bar-val { font-size: 22px; }
    .bar-label { font-size: 13px; }
    .map { min-height: 60vw; }
    .map1 img { width: 70vw; }
    .map2 img { width: 60vw; }
    .map3 img { width: 54vw; }
    .sy { min-height: 200px; }
    .sy::after { display: none; }
    .wrap li { height: 56px; }
    .wrap li p { gap: 6px; }
    .vlog-time { font-size: 22px; }
    .vlog-city { font-size: 22px; }
    .vlog-text { font-size: 22px; }
    .vlog-path { font-size: 22px; }
    .adduser li { height: 62px; }
    .adduser-info img { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
    .adduser-info em { font-size: 24px; }
    .adduser-time { font-size: 20px; }
    .wrap { min-height: 240px; }
    .adduser { min-height: 240px; }
}
@font-face {
  font-family: "STSongti-Latin";
  src: local("STSongti-SC-Light");
  unicode-range: U+0041-005A, U+0061-007A;
}
* {
  font-family: "STSongti-Latin", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}