@charset "utf-8";

/* ============================================================
   福匠AI数据中心 — 深蓝科技风（1920×1080 大屏）
   色彩体系：
     主背景: #0a1a2f / #0d1b2a
     亮蓝:   #00d4ff / #0ea5e9
     青色:   #22d3ee
     绿色:   #4ade80
     金色:   #facc15
     橙色:   #fb923c
     红色:   #f472b6
     文字白: #ffffff / #e2e8f0
     灰蓝:   #94a3b8
   ============================================================ */

/* ── CSS 变量 ─────────────────────────────────────────────── */
:root {
    --bg-deep: #0a1a2f;
    --bg-panel: rgba(0,20,60,0.4);
    --border-glow: rgba(56,189,248,0.3);
    --border-bright: rgba(0,212,255,0.5);
    --cyan: #00d4ff;
    --cyan2: #0ea5e9;
    --cyan3: #22d3ee;
    --green: #4ade80;
    --gold: #facc15;
    --orange: #fb923c;
    --red: #f472b6;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-dim: #94a3b8;
    --font-cn: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    --font-num: electronicFont, "DS-Digital", "Consolas", monospace;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    height: 100%; width: 100%;
    min-width: 1200px;
    overflow: hidden;
}

body {
    padding: 0; margin: 0;
    color: var(--text-primary);
    font-family: var(--font-cn);
    background: url(../images/背景图片.png) no-repeat center center, #020b1e;
    background-size: cover;
    font-size: .16rem;
    -webkit-font-smoothing: antialiased;
}

li { list-style-type: none; }
img { border: none; max-width: 100%; }
a { text-decoration: none; color: var(--cyan); }
ol, ul, p, h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; }

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

/* ── 自定义字体 ───────────────────────────────────────────── */
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}

/* ── 滚动条 ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan), var(--cyan2));
    border-radius: 3px;
}
::-webkit-scrollbar-track { background: rgba(0,0,0,.25); }

/* ════════════════════════════════════════════════════════════
   加载页
   ════════════════════════════════════════════════════════════ */
.loading {
    position: fixed; left: 0; top: 0;
    font-size: .18rem;
    z-index: 100000000;
    width: 100%; height: 100%;
    background: var(--bg-deep);
    text-align: center;
}
.loadbox {
    position: absolute;
    width: 2rem; height: 1.8rem;
    color: var(--cyan);
    left: 50%; top: 50%;
    margin-top: -.9rem; margin-left: -1rem;
    letter-spacing: .06rem;
}
.loadbox img {
    margin: .12rem auto; display: block; width: .48rem;
    filter: drop-shadow(0 0 .12rem var(--cyan));
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.08); }
}

/* ════════════════════════════════════════════════════════════
   Header 顶部标题区（使用 上方标题框.png）
   ════════════════════════════════════════════════════════════ */
.head {
    height: 1.05rem;
    background: url(../images/顶部背景.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .35rem;
}

.head h1 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -65%);
    color: #fff;
    text-align: center;
    font-size: .36rem;
    font-weight: bold;
    letter-spacing: .12rem;
    text-shadow:
        0 0 10px rgba(0,180,255,.9),
        0 0 30px rgba(0,150,255,.5),
        0 0 60px rgba(0,120,255,.3),
        0 0 2px #fff;
}

/* 天气 & 时钟 模块 */
.weather {
    display: flex;
    align-items: center;
    gap: .08rem;
    color: rgba(255,255,255,.88);
    font-size: .16rem;
    white-space: nowrap;
    padding: .05rem .14rem;
    border: 1px solid rgba(0,200,255,.18);
    background: rgba(6,25,55,.45);
    position: relative;
}
.weather::before {
    content: "";
    position: absolute; top: -1px; left: 8px;
    width: 10px; height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}
.weather img {
    width: .26rem; vertical-align: middle;
}

/* ════════════════════════════════════════════════════════════
   主布局：左（22~24%）中（50~52%）右（22~24%）三栏
   ════════════════════════════════════════════════════════════ */
.mainbox {
    padding: .08rem .12rem 0 .12rem;
    height: calc(100% - 1.05rem);
    overflow: visible;
}
.mainbox > ul {
    display: flex;
    height: 100%;
    gap: .12rem;
    overflow: visible;
}
.mainbox > ul > li {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    overflow: hidden;
    min-height: 0;
}
.mainbox > ul > li:nth-child(1) { width: 18.4%; }
.mainbox > ul > li:nth-child(2) { width: 54%; }
.mainbox > ul > li:nth-child(3) { width: 27.6%; overflow: visible; }

/* ════════════════════════════════════════════════════════════
   模块面板 .boxall
   ════════════════════════════════════════════════════════════ */
.boxall {
    position: relative;
    z-index: 10;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: .7rem;
}
.boxall-body {
    flex: 1;
    min-height: 0;
    padding: .1rem .14rem;
    overflow: hidden;
    position: relative;
}

.boxfoot {
    position: relative;
    height: .12rem; flex-shrink: 0;
    margin: 0 -.14rem;
}

/* ════════════════════════════════════════════════════════════
   模块标题栏 — 使用标题框切图作为背景
   ════════════════════════════════════════════════════════════ */
.module-title {
    position: relative;
    flex-shrink: 0;
    height: .38rem;
    display: flex;
    align-items: center;
    padding: 0 .28rem;
    /* 默认使用子模块标题框 */
    background: url(../images/短标题.png) no-repeat left center;
    background-size: 50% 80%;
}
.module-title.long-title {
    /* 购买记录使用长标题框 */
    background: url(../images/长标题.png) no-repeat center center;
    background-size: 100% 100%;
}
/* 交易量 — 专用标题背景 + 弹窗不裁剪 */
#transactionPanel .module-title {
    background: url(../images/短标题.png) no-repeat left center;
    background-size: 20% 100%;
}
#transactionPanel .boxall-body { overflow: visible; }
.module-title .title-text {
    font-size: .16rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: .02rem;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(0,200,255,.3);
}

/* 标题右侧的 tab 按钮 */
.module-title .title-tabs {
    display: flex;
    gap: .06rem;
    margin-left: auto;
    margin-right: .04rem;
}
.module-title .title-tabs a {
    display: inline-block;
    padding: .04rem .16rem;
    font-size: .12rem;
    color: var(--text-dim);
    cursor: pointer;
    background: url(../images/未点击按钮.png) no-repeat center center;
    background-size: 100% 100%;
    transition: all .3s ease;
}
.module-title .title-tabs a.active {
    background: url(../images/高亮按钮.png) no-repeat center center;
    background-size: 100% 100%;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,200,255,.5);
}

/* ════════════════════════════════════════════════════════════
   中栏内部布局
   ════════════════════════════════════════════════════════════ */
.center-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: .1rem;
    overflow: visible;
}

/* 上部浮动区域 */
.center-float-area {
    flex: 1;
    min-height: 0;
}

/* 左浮动栏 ~40% */
.float-left-bar {
    float: left;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    height: 100%;
}
.float-left-bar .boxall:first-child { flex: 0 0 60%; min-height: 0; }
.float-left-bar .boxall:last-child  { flex: 0 0 22%; min-height: 0; }
.float-left-bar .boxall:last-child .boxall-body { overflow: visible; padding-top: .12rem; }

/* 右浮动栏 ~58% */
.float-right-bar {
    float: right;
    width: 58%;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    height: 100%;
}
.float-right-bar .boxall:first-child { flex: 0 0 auto; min-height: 0; }

/* 客户注册新增量 chartGrowth — 允许 tooltip 溢出 */
.float-left-bar .boxall:first-child .boxall-body {
    overflow: visible;
}

/* 功能使用频率 chartFreq — 允许 tooltip 溢出 */
.mainbox > ul > li:nth-child(3) .boxall:first-child .boxall-body {
    overflow: visible;
}
.float-right-bar .boxall:first-child .boxall-body { overflow: visible; }
.float-right-bar .map-wrap { flex: 1; min-height: 0; }

/* 底部独占行 */
.center-bottom-bar {
    flex-shrink: 0;
    height: 3rem;
    width: 100%;
}
.center-bottom-bar .boxall { height: 100%; }

/* ════════════════════════════════════════════════════════════
   核心指标面板 — 玻璃质感卡片布局
   ════════════════════════════════════════════════════════════ */
.indicators-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    gap: .08rem;
    padding: .04rem 0 0;
}
.indicator-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .06rem;
    padding: .12rem .04rem .1rem;
    background: linear-gradient(180deg, rgba(0,25,60,.35), rgba(0,15,40,.25));
    border: 1px solid rgba(56,189,248,.1);
    border-radius: .06rem;
    position: relative;
    overflow: hidden;
}
/* 顶部光晕装饰条 */
.indicator-item::before {
    content: "";
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .6;
    pointer-events: none;
}
.indicator-label {
    font-size: .12rem;
    color: var(--text-dim);
    letter-spacing: .03rem;
    text-align: center;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
/* 核心指标翻牌器 */
.indicator-item .flipper-digits {
    gap: .02rem;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}
.indicator-item .flipper-digit {
    width: .18rem;
    height: .28rem;
    line-height: .28rem;
    font-size: .14rem;
}

/* ── 累计交易额 — 突出（下移半格 + 放大，配色统一） ── */
.indicator-item--highlight {
    margin-top: 0.4rem;
}
.indicator-item--highlight .indicator-label {
    font-size: .13rem;
    letter-spacing: .04rem;
}
.indicator-item--highlight .flipper-digit {
    width: .22rem;
    height: .32rem;
    line-height: .32rem;
    font-size: .18rem;
}

/* ── 数字翻牌器 ── */
.flipper-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .06rem .1rem;
    gap: .06rem;
}
.flipper-label {
    font-size: .13rem;
    color: var(--text-dim);
    letter-spacing: .03rem;
    text-align: center;
}
.flipper-digits {
    display: flex;
    gap: .04rem;
    justify-content: center;
    flex-wrap: wrap;
}
.flipper-digit {
    width: .36rem;
    height: .50rem;
    line-height: .50rem;
    text-align: center;
    font-family: var(--font-num);
    font-size: .3rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(180deg, rgba(10,30,60,.8), rgba(6,20,44,.9));
    border: 1px solid var(--border-glow);
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(0,200,255,.08),
        0 0 8px rgba(14,165,233,.12);
    text-shadow:
        0 0 6px rgba(0,212,255,.6),
        0 0 2px #fff;
}
.flipper-digit::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0,200,255,.12);
    pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   数据量展台卡片 — 全息数据核心风格
   三层深度结构：背景呼吸 → 轨道光环 → 数字浮升
   ════════════════════════════════════════════════════════════ */

/* ── 卡片个性色调 ── */
#cardImage   { --card-hue: #00d4ff; --card-hue-rgb: 0,212,255; }
#cardModel   { --card-hue: #4ade80; --card-hue-rgb: 74,222,128; }
#cardMeaning { --card-hue: #facc15; --card-hue-rgb: 250,204,21; }

/* ── 卡片容器（整体浮动） ── */
.data-cards {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: .06rem 0;
    gap: .08rem;
}
.data-card {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 1.1rem;
    width: 100%;
}

/* ── 第零层：圆形背景呼吸 ── */
.data-card-bg {
    position: absolute;
    top: 70%; left: 50%;
    width: 1.2rem; height: 1.2rem;
    margin-top: -.6rem;
    margin-left: -.6rem;
    background: url(../images/数据量背景.png) no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    animation: cardBreathe 4s ease-in-out infinite;
}
#cardModel .data-card-bg    { animation-delay: -.8s; }
#cardMeaning .data-card-bg  { animation-delay: -2.4s; }

@keyframes cardBreathe {
    0%, 100% { opacity: .45; transform: scale(1) rotate(0deg); }
    20%      { opacity: .75; transform: scale(1.06) rotate(1deg); }
    40%      { opacity: .65; transform: scale(0.97) rotate(-0.6deg); }
    65%      { opacity: .80; transform: scale(1.03) rotate(0.5deg); }
    85%      { opacity: .55; transform: scale(1.01) rotate(-0.3deg); }
}

/* ── 第一层：环绕光轨 ── */
.data-card::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 1.2rem; height: 1.2rem;
    margin-top: -.6rem;
    margin-left: -.6rem;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 280deg,
        var(--card-hue) 295deg,
        transparent 310deg,
        transparent 360deg
    );
    -webkit-mask: radial-gradient(circle, transparent 68%, #000 69%, #000 100%);
    mask: radial-gradient(circle, transparent 68%, #000 69%, #000 100%);
    pointer-events: none;
    z-index: 0;
    animation: orbitGlow 5s linear infinite;
    opacity: .45;
}
#cardModel::before   { animation-delay: -1.6s; opacity: .35; }
#cardMeaning::before { animation-delay: -3.2s; opacity: .40; }

@keyframes orbitGlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── 数字 — 全息浮升效果 ── */
.data-card .card-number {
    font-family: var(--font-num);
    font-size: .20rem;
    font-weight: bold;
    color: #fff;
    text-shadow:
        0 0 8px rgba(var(--card-hue-rgb),.6),
        0 0 20px rgba(var(--card-hue-rgb),.3),
        0 0 40px rgba(var(--card-hue-rgb),.15);
    position: relative;
    z-index: 1;
    letter-spacing: .02rem;
    animation: numberFloat 3s ease-in-out infinite;
}
#cardModel .card-number    { animation-delay: -.8s; }
#cardMeaning .card-number  { animation-delay: -2s; }

@keyframes numberFloat {
    0%, 100% { transform: translateY(0); text-shadow: 0 0 8px rgba(var(--card-hue-rgb),.6), 0 0 20px rgba(var(--card-hue-rgb),.3); }
    50%      { transform: translateY(-.04rem); text-shadow: 0 0 12px rgba(var(--card-hue-rgb),.8), 0 0 30px rgba(var(--card-hue-rgb),.4), 0 0 50px rgba(var(--card-hue-rgb),.2); }
}

/* ── 标签 — 科技标签风格 ── */
.data-card .card-label {
    font-size: .12rem;
    color: rgba(255,255,255,.55);
    margin-top: .08rem;
    position: relative;
    z-index: 1;
    letter-spacing: .06rem;
    font-weight: 400;
    padding: 0 .06rem;
    transition: color .3s;
}
/* 标签上方装饰短横线
.data-card .card-label::before {
    content: '';
    display: block;
    width: .16rem;
    height: 1px;
    background: var(--card-hue);
    margin: 0 auto .05rem;
    box-shadow: 0 0 6px rgba(var(--card-hue-rgb),.4);
    opacity: .6;
} */
/* 悬停时标签着色 */
.data-card:hover .card-label {
    color: var(--card-hue);
}

/* ════════════════════════════════════════════════════════════
   中国地图区域
   ════════════════════════════════════════════════════════════ */
.map-wrap {
    width: 100%; height: 100%;
    position: relative;
}
.map-chart {
    position: absolute;
    top: 50%; left: 50%;
    width: 115%; height: 130%;
    transform: translate(-55%, -50%);
    z-index: 2;
}

/* 地图旋转光圈 */
.map1, .map2, .map3 {
    position: absolute;
    opacity: .18;
    pointer-events: none;
    z-index: 1;
}
.map1 {
    width: 6.43rem;
    top: .45rem; left: 50%; transform: translateX(-50%);
    animation: rotateCw 18s infinite linear;
}
.map2 {
    width: 5.66rem;
    top: .85rem; left: 50%; transform: translateX(-50%);
    animation: rotateCcw 12s infinite linear;
}
.map3 {
    width: 5.18rem;
    top: 1.07rem; left: 50%; transform: translateX(-50%);
}

/* ════════════════════════════════════════════════════════════
   地图/图表 弹出框
   ════════════════════════════════════════════════════════════ */
.popup-tooltip {
    position: absolute;
    z-index: 999;
    pointer-events: none;
    display: none;
    min-width: 2.2rem;
    background: url(../images/地图弹窗.png) no-repeat center center;
    background-size: 100% 100%;
    padding: .24rem .20rem .60rem .40rem;
    color: #fff;
    font-size: .12rem;
}
.popup-tooltip .popup-title {
    font-size: .14rem;
    font-weight: 600;
    letter-spacing: .06rem;
    margin-bottom: .1rem;
    padding-bottom: .08rem;
    border-bottom: 1px solid rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    gap: .04rem;
}
.popup-tooltip .popup-title::before {
    content: '';
    display: inline-block;
    width: .06rem; height: .06rem;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 .06rem #22d3ee;
    flex-shrink: 0;
}
.popup-tooltip .popup-row {
    display: flex;
    gap: .32rem;
    margin-bottom: 0;
}
.popup-tooltip .popup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .04rem;
}
.popup-tooltip .popup-label {
    font-size: .11rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .04rem;
}
.popup-tooltip .popup-value {
    color: #22d3ee;
    font-family: electronicFont, "DS-Digital", monospace;
    font-weight: normal;
    font-size: .18rem;
    line-height: 1.2;
    text-shadow: 0 0 .06rem rgba(34,211,238,.3);
}
#mapPopup { position: fixed; height: auto; }

/* ════════════════════════════════════════════════════════════
   表格
   ════════════════════════════════════════════════════════════ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .125rem;
    line-height: 1.5;
}
.data-table thead th {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: .14rem;
    text-align: left;
    padding: .06rem .1rem;
    letter-spacing: .03rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(56,189,248,.3);
    text-shadow: 0 0 6px rgba(0,200,255,.2);
}
.data-table tbody td {
    color: rgba(220,235,255,.78);
    padding: .065rem .1rem;
    border-bottom: 1px dashed rgba(255,255,255,.04);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .2s ease;
    font-size: .13rem;
}
.data-table tbody tr:hover td {
    background: rgba(0,200,255,.06);
    color: #fff;
}
.data-table .col-center { text-align: center; }

/* 列类型：时间 — 数码管字体 + 青色 */
.data-table tbody td.col-time {
    font-family: var(--font-num);
    color: var(--cyan3);
    letter-spacing: .04rem;
    font-size: .135rem;
}

/* 列类型：生成类型 — 中文正文字体 */
.data-table tbody td.col-type {
    font-family: var(--font-cn);
    letter-spacing: .01rem;
}

/* 列类型：名次 — 数码管字体 + 金色高亮 */
.data-table tbody td.col-rank {
    font-family: var(--font-num);
    color: var(--gold);
    font-weight: 700;
    font-size: .15rem;
    letter-spacing: .02rem;
    text-align: center;
    text-shadow: 0 0 6px rgba(250,204,21,.3);
}

/* 列类型：题材 */
.data-table tbody td.col-topic {
    font-family: var(--font-cn);
    font-size: .12rem;
    letter-spacing: .02rem;
    color: rgba(255,255,255,.85);
}

/* 列类型：生成数量 — 数码管字体 + 亮蓝 */
.data-table tbody td.col-count {
    font-family: var(--font-num);
    color: var(--cyan);
    font-weight: 600;
    font-size: .14rem;
    letter-spacing: .03rem;
    text-align: center;
}

/* 新行入场动画 */
@keyframes rowFadeIn {
    0%   { background: rgba(0,200,255,.18); }
    100% { background: transparent; }
}
.data-table tbody tr.row-new td {
    animation: rowFadeIn 1.5s ease-out;
}

/* ── 热门题材排行 — 自动滚动 ──────────────────────── */
#topicRankingBox {
    overflow: hidden;      /* 改为 hidden，配合 tbody transform 动画 */
    padding-top: 0;
    padding-bottom: .1rem;
}
#topicRankingBody {
    will-change: transform;  /* 提示 GPU 加速 */
}
/* 表头自然固定在顶部（tbody 被 transform 移动，thead 不受影响） */
#topicRankingBox table thead {
    position: relative;
    z-index: 2;
    background: rgba(10, 26, 47, 0.82);
    backdrop-filter: blur(6px);
}

/* ── 实时生成动态 — 时间线列表 ──────────────────────── */
#genLogModule .boxall-body {
    overflow: hidden !important;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* 表头（固定在顶部，不参与滚动） */
.gen-log-header {
    display: flex;
    align-items: center;
    padding: .06rem .14rem .06rem .25rem;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(8,22,50,.98), rgba(8,22,50,.92));
    border-bottom: 1px solid rgba(56,189,248,.2);
    position: relative;
}
/* 表头底部发光细线 */
.gen-log-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: .1rem;
    right: .1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,.3), transparent);
    pointer-events: none;
}
.gen-log-hd-time {
    font-size: .12rem;
    color: rgba(255,255,255,.45);
    letter-spacing: .06rem;
    flex-shrink: 0;
    width: .88rem;
    font-weight: 500;
}
.gen-log-hd-type {
    font-size: .12rem;
    color: rgba(255,255,255,.45);
    letter-spacing: .06rem;
    margin-left: .04rem;
    font-weight: 500;
}

/* 滚动容器 */
.gen-log-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 自定义滚动条（仅作用于本模块） */
.gen-log-scroll::-webkit-scrollbar {
    width: 5px;
}
.gen-log-scroll::-webkit-scrollbar-track {
    background: rgba(0,20,60,.2);
    border-radius: 3px;
    border-left: 1px solid rgba(56,189,248,.06);
}
.gen-log-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff 0%, #0ea5e9 60%, #0284c7 100%);
    border-radius: 3px;
    box-shadow:
        0 0 6px rgba(0,212,255,.25),
        inset 0 0 4px rgba(255,255,255,.15);
}
.gen-log-scroll::-webkit-scrollbar-thumb:hover {
    box-shadow:
        0 0 10px rgba(0,212,255,.4),
        inset 0 0 4px rgba(255,255,255,.2);
}

/* 表头（sticky 固定在顶部） */
.gen-log-header {
    display: flex;
    align-items: center;
    padding: .05rem .14rem .05rem .08rem;
    position: sticky;
    top: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(8,22,50,.98) 0%, rgba(8,22,50,.95) 80%, rgba(8,22,50,.85) 100%);
    border-bottom: 1px solid rgba(56,189,248,.25);
    backdrop-filter: blur(4px);
    margin-bottom: .02rem;
}
.gen-log-hd-time {
    font-size: .12rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .04rem;
    flex-shrink: 0;
    width: .88rem;
    margin-left: .17rem;  /* dot(5px) + margin(12px) + padding-left offset */
}
.gen-log-hd-type {
    font-size: .12rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .04rem;
    margin-left: .04rem;
}

/* 列表容器 */
.gen-log-list {
    position: relative;
    padding: 0 0 .04rem 0;
}

/* 每一行 */
.gen-log-row {
    display: flex;
    align-items: center;
    padding: .065rem .14rem .065rem .08rem;
    min-height: .30rem;
    position: relative;
    transition: background .25s ease;
    border-bottom: 1px solid rgba(255,255,255,.03);
}
.gen-log-row:last-child {
    border-bottom: none;
}
.gen-log-row:hover {
    background: linear-gradient(90deg, rgba(0,200,255,.06), transparent);
}

/* 时间线圆点 */
.gen-log-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0;
    margin-right: .12rem;
    box-shadow: 0 0 6px rgba(0,212,255,.45);
    position: relative;
    z-index: 1;
    transition: all .3s ease;
}
.gen-log-row:hover .gen-log-dot {
    box-shadow: 0 0 10px rgba(0,212,255,.7);
    transform: scale(1.25);
}

/* 时间 — 数码管字体 + 青色 */
.gen-log-time {
    font-family: var(--font-num);
    font-size: .135rem;
    color: var(--cyan3);
    letter-spacing: .04rem;
    flex-shrink: 0;
    width: .88rem;
    text-shadow: 0 0 6px rgba(34,211,238,.12);
}

/* 生成类型 — 中文正文 */
.gen-log-type {
    font-family: var(--font-cn);
    font-size: .11rem;
    color: rgba(220,235,255,.80);
    margin-left: .04rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: .01rem;
}

/* —— 新行滑入动画 —— */
@keyframes genLogSlideIn {
    0%   { opacity: 0; transform: translateX(.24rem); }
    100% { opacity: 1; transform: translateX(0); }
}
.gen-log-row.row-new {
    animation: genLogSlideIn .5s cubic-bezier(.25,.46,.45,.94);
}
/* 新行圆点脉冲 */
@keyframes genLogDotPop {
    0%   { box-shadow: 0 0 0 0 rgba(0,212,255,.9); transform: scale(2); }
    50%  { box-shadow: 0 0 14px 4px rgba(0,212,255,.3); transform: scale(1.15); }
    100% { box-shadow: 0 0 6px 2px rgba(0,212,255,.4); transform: scale(1); }
}
.gen-log-row.row-new .gen-log-dot {
    animation: genLogDotPop .6s ease-out;
}

/* —— 底部渐变淡出遮罩，提示下方还有内容 —— */
.gen-log-scroll::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    height: .2rem;
    background: linear-gradient(transparent, rgba(10,26,47,.6));
    pointer-events: none;
    z-index: 2;
}

/* ── 访问人数滚动列表 ──────────────────────────── */
.visitor-scroll-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    /* 底部渐隐遮罩 */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 70%, transparent 95%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 70%, transparent 95%);
}
/* 自定义滑动条 */
.visitor-scrollbar {
    position: absolute;
    top: .04rem; right: .02rem; bottom: .04rem;
    width: .04rem;
    z-index: 5;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s ease;
}
#visitorsPanel:hover .visitor-scrollbar {
    opacity: 1;
}
.visitor-scrollbar-thumb {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 20%;
    min-height: .16rem;
    background: linear-gradient(180deg, rgba(0,212,255,.35), rgba(0,212,255,.15));
    border-radius: .02rem;
    border: 1px solid rgba(0,212,255,.2);
    box-shadow: 0 0 .06rem rgba(0,212,255,.1);
    transition: background .2s ease, box-shadow .2s ease;
    cursor: grab;
}
.visitor-scrollbar-thumb:hover,
.visitor-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(0,212,255,.55), rgba(0,212,255,.25));
    box-shadow: 0 0 .1rem rgba(0,212,255,.2);
    cursor: grabbing;
}
.visitor-scroll-list {
    padding: .04rem 0;
}
.visitor-row {
    display: flex;
    align-items: center;
    padding: .07rem .16rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: .115rem;
    line-height: .22rem;
    white-space: nowrap;
    transition: background .3s ease;
    position: relative;
}
.visitor-row:last-child {
    border-bottom: none;
}
.visitor-row:hover {
    background: linear-gradient(90deg, transparent, rgba(0,200,255,.08), transparent);
}
/* 新条目入场动画 */
.visitor-row.visitor-new {
    animation: visitorSlideIn .5s ease-out both;
}
@keyframes visitorSlideIn {
    0%   { opacity: 0; transform: translateY(-.12rem); }
    100% { opacity: 1; transform: translateY(0); }
}
/* 脉冲光点 */
.visitor-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    margin-right: .1rem;
    box-shadow: 0 0 6px rgba(74,222,128,.6);
    animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(74,222,128,.6); }
    50%      { opacity: .4; box-shadow: 0 0 2px rgba(74,222,128,.2); }
}
/* 日期 — 暗青色 */
.visitor-date {
    font-family: var(--font-num);
    color: rgba(34,211,238,.75);
    font-size: .09rem;
    flex-shrink: 0;
    width: .35rem;
    letter-spacing: .01rem;
    text-align: left;
}
/* 时间戳 — 青色数码字体 */
.visitor-time {
    font-family: var(--font-num);
    color: #22d3ee;
    font-size: .105rem;
    flex-shrink: 0;
    width: .45rem;
    letter-spacing: .02rem;
    text-align: left;
}
/* 访客标签 */
.visitor-label {
    color: rgba(255,255,255,.25);
    font-size: .1rem;
    margin: 0 .06rem 0 .02rem;
    flex-shrink: 0;
    letter-spacing: .02rem;
}
/* 访客名称 — 亮绿 */
.visitor-name {
    color: #4ade80;
    text-align: right;
    flex: 1;
    margin-left: auto;
    padding-left: .08rem;
    font-weight: 500;
    letter-spacing: .02rem;
}
/* terminal — 时间右侧的终端类型标签 */
.visitor-terminal {
    color: rgba(255,255,255,.65);
    font-size: .095rem;
    flex-shrink: 0;
    margin-left: .10rem;
    width: .6rem;
    letter-spacing: .02rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}
/* 身份 — 注册用户绿色 / 访客灰色 */
.visitor-role {
    font-size: .095rem;
    flex-shrink: 0;
    width: .4rem;
    margin-left: .1rem;
    text-align: left;
    letter-spacing: .02rem;
    white-space: nowrap;
}
.visitor-role--registered { color: #4ade80; }
/* OS — 略深于 terminal 的色调 */
.visitor-os {
    color: rgba(255,255,255,.55);
    font-size: .095rem;
    flex-shrink: 0;
    margin-left: .18rem;
    width: .60rem;
    letter-spacing: .02rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}
/* IP 地址 — 青色数码字体，右对齐 */
.visitor-ip {
    font-family: var(--font-num);
    color: var(--cyan);
    font-size: .105rem;
    text-align: left;
    flex-shrink: 0;
    width: .55rem;
    padding-left: .30rem;
    letter-spacing: .02rem;
}

.training-hint {
    text-align: center;
    font-size: .11rem;
    color: var(--text-dim);
    padding: .05rem 0 .03rem;
    flex-shrink: 0;
    letter-spacing: .02rem;
}

/* ════════════════════════════════════════════════════════════
   图表容器
   ════════════════════════════════════════════════════════════ */
/* 左栏模块 — 等分高度 + 表格纵向滚动 */
.mainbox > ul > li:nth-child(1) .boxall { flex: 1; }
.mainbox > ul > li:nth-child(1) .boxall-body { overflow-y: auto; scroll-behavior: smooth; }

/* 右栏模块 — 等分高度 + 压缩 padding 和底边 */
.mainbox > ul > li:nth-child(3) .boxall { flex: 1; }
.mainbox > ul > li:nth-child(3) .boxall-body {
    padding: .04rem .14rem 0;
}
.mainbox > ul > li:nth-child(3) .boxfoot {
    height: .02rem;
}

/* 现场实况模块 — 高度 1.3 倍 */
.mainbox > ul > li:nth-child(3) .boxall:last-child { flex: 1.5; }

/* ── 访问人数模块 — 压缩底边 ── */
#visitorsPanel .boxall-body {
    padding: 0 .16rem .06rem;
}
#visitorsPanel .boxfoot {
    height: 0;
}

.chart-container {
    width: 100%; height: 100%;
}

/* ── 现场实况 body 覆盖 ── */
.live-body {
    padding: 0 !important;
    overflow: hidden !important;
}

/* ════════════════════════════════════════════════════════════
   现场实况 — 视频播放器（指挥中心风格）
   ════════════════════════════════════════════════════════════ */

/* 播放器容器 — 撑满 boxall-body */
.live-player-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 视频元素：object-fit 正常生效 */
#playWind video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 播放器容器 — 撑满父框 + 居中 canvas */
#playWind {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
#playWind canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* ── 视频画面内边框（监视器屏幕边框效果） ── */
.live-video-frame {
    position: absolute;
    inset: .06rem;
    z-index: 2;
    border: 1px solid rgba(0,212,255,.18);
    box-shadow:
        inset 0 0 12px rgba(0,0,0,.5),
        inset 0 0 4px rgba(0,212,255,.04);
    overflow: hidden;
    background: #000;
}
.live-video-frame::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(0,212,255,.06);
    pointer-events: none;
}

/* ── 脉冲边框（在容器四周） ── */
.live-player-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    border: 1px solid rgba(0,212,255,.15);
    box-shadow:
        inset 0 0 20px rgba(0,212,255,.04),
        0 0 15px rgba(0,212,255,.06);
    animation: liveBorderPulse 3s ease-in-out infinite;
}
@keyframes liveBorderPulse {
    0%, 100% { border-color: rgba(0,212,255,.12); box-shadow: inset 0 0 20px rgba(0,212,255,.03), 0 0 15px rgba(0,212,255,.05); }
    50%      { border-color: rgba(0,212,255,.30); box-shadow: inset 0 0 30px rgba(0,212,255,.08), 0 0 25px rgba(0,212,255,.10); }
}

/* ── 外层环境光晕 ── */
.live-player-wrap::after {
    content: '';
    position: absolute;
    inset: -2px;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(135deg, rgba(0,212,255,.03) 0%, transparent 30%, transparent 70%, rgba(0,212,255,.03) 100%);
    opacity: .6;
    animation: liveAmbient 4s ease-in-out infinite alternate;
}
@keyframes liveAmbient {
    0%   { opacity: .3; }
    100% { opacity: .8; }
}
.live-badge {
    position: absolute;
    top: .08rem;
    left: .08rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .06rem;
    padding: .03rem .10rem .03rem .08rem;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,50,50,.35);
    border-radius: 2px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff3030;
    box-shadow: 0 0 6px rgba(255,50,50,.8);
    animation: liveDotFlash 1.2s ease-in-out infinite;
}
@keyframes liveDotFlash {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255,50,50,.8); }
    50%      { opacity: .3; box-shadow: 0 0 2px rgba(255,50,50,.3); }
}
.live-badge-text {
    font-size: .10rem;
    font-weight: 600;
    color: #ff5050;
    letter-spacing: .06rem;
    text-shadow: 0 0 8px rgba(255,50,50,.4);
}

/* ── 四角瞄准标记（sci-fi 风格） ── */
.live-corner {
    position: absolute;
    z-index: 8;
    width: .16rem;
    height: .16rem;
    pointer-events: none;
}
.live-corner-tl { top: .04rem; left: .04rem; }
.live-corner-tr { top: .04rem; right: .04rem; }
.live-corner-bl { bottom: .04rem; left: .04rem; }
.live-corner-br { bottom: .04rem; right: .04rem; }

.live-corner-tl::before,
.live-corner-tl::after {
    content: '';
    position: absolute;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(0,212,255,.4);
}
/* 水平线 */
.live-corner-tl::before {
    top: 0; left: 0;
    width: .14rem; height: 1px;
}
/* 垂直线 */
.live-corner-tl::after {
    top: 0; left: 0;
    width: 1px; height: .14rem;
}

.live-corner-tr::before,
.live-corner-tr::after {
    content: '';
    position: absolute;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(0,212,255,.4);
}
.live-corner-tr::before {
    top: 0; right: 0;
    width: .14rem; height: 1px;
}
.live-corner-tr::after {
    top: 0; right: 0;
    width: 1px; height: .14rem;
}

.live-corner-bl::before,
.live-corner-bl::after {
    content: '';
    position: absolute;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(0,212,255,.4);
}
.live-corner-bl::before {
    bottom: 0; left: 0;
    width: .14rem; height: 1px;
}
.live-corner-bl::after {
    bottom: 0; left: 0;
    width: 1px; height: .14rem;
}

.live-corner-br::before,
.live-corner-br::after {
    content: '';
    position: absolute;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(0,212,255,.4);
}
.live-corner-br::before {
    bottom: 0; right: 0;
    width: .14rem; height: 1px;
}
.live-corner-br::after {
    bottom: 0; right: 0;
    width: 1px; height: .14rem;
}

/* ── 底部信息栏 ── */
.live-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .04rem .10rem .04rem .10rem;
    background: linear-gradient(0deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.30) 70%, transparent 100%);
    pointer-events: none;
    min-height: .22rem;
}
.live-info-left {
    display: flex;
    align-items: center;
    gap: .08rem;
}
.live-info-icon {
    width: .12rem; height: .12rem;
    opacity: .6;
    flex-shrink: 0;
}
.live-info-icon svg {
    width: 100%; height: 100%;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.5;
}
.live-info-cam {
    font-size: .10rem;
    color: rgba(255,255,255,.60);
    letter-spacing: .03rem;
    white-space: nowrap;
}
.live-info-cam strong {
    color: rgba(255,255,255,.85);
    font-weight: 500;
}
.live-info-right {
    display: flex;
    align-items: center;
    gap: .10rem;
}
.live-info-time {
    font-family: var(--font-num);
    font-size: .10rem;
    color: rgba(255,255,255,.45);
    letter-spacing: .02rem;
    white-space: nowrap;
}
.live-info-status {
    display: flex;
    align-items: center;
    gap: .03rem;
    font-size: .09rem;
    color: rgba(74,222,128,.70);
    letter-spacing: .02rem;
}
.live-info-status-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 4px rgba(74,222,128,.6);
}

/* ── 扫描线纹理（极淡 CRT 效果） ── */
.live-scanlines {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,212,255,.015) 2px,
        rgba(0,212,255,.015) 4px
    );
}

/* ── 视频加载占位 ── */
.live-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0,30,60,.6) 0%, rgba(0,10,25,.9) 100%);
    gap: .12rem;
}
.live-placeholder-icon {
    width: .36rem; height: .36rem;
    opacity: .3;
    animation: livePlaceholderPulse 2.5s ease-in-out infinite;
}
.live-placeholder-icon svg {
    width: 100%; height: 100%;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1;
}
@keyframes livePlaceholderPulse {
    0%, 100% { opacity: .2; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.05); }
}
.live-placeholder-text {
    font-size: .10rem;
    color: rgba(255,255,255,.20);
    letter-spacing: .06rem;
}
.live-placeholder-dots {
    display: flex;
    gap: .06rem;
}
.live-placeholder-dots span {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: .15;
    animation: liveDots 1.4s ease-in-out infinite;
}
.live-placeholder-dots span:nth-child(2) { animation-delay: .2s; }
.live-placeholder-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes liveDots {
    0%, 80%, 100% { opacity: .1; }
    40%           { opacity: .6; }
}
@keyframes rotateCw {
    from { transform: translateX(-50%) rotate(0deg); }
    to   { transform: translateX(-50%) rotate(359deg); }
}
@keyframes rotateCcw {
    from { transform: translateX(-50%) rotate(0deg); }
    to   { transform: translateX(-50%) rotate(-359deg); }
}
