/* ========================================================= 昆明市大学生创业园 · OPC 智能园区数据大屏 浅色科技风 · 通透玻璃质感 · 弱化卡片感(对齐参考图) ========================================================= */ /* 设计变量提升到 :root —— 页眉 / 数字孪生 / 媒体页 / 页脚全部生效, 保证各页面(含园区概览页脚)颜色完全一致 */ :root { --bd-blue: #2f6bff; --bd-blue-deep: #1d4fd8; --bd-cyan: #4cc2ff; --bd-green: #17b26a; --bd-red: #f04438; --bd-orange: #f79009; --bd-ink: #1d2c44; --bd-sub: #7d8fa9; --bd-line: #e3ecf7; } /* 全局布局壳:页眉由 App 注入,所有页面统一使用 */ .bd-layout { height: 100vh; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(ellipse 75% 60% at 88% -8%, rgba(76, 194, 255, 0.16) 0%, transparent 62%), radial-gradient(ellipse 65% 55% at 5% 110%, rgba(47, 107, 255, 0.12) 0%, transparent 58%), linear-gradient(158deg, #eef5fe 0%, #f7fbff 46%, #e9f1fc 100%); } .bd-layout-main { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } /* 页面内容块:在 bd-layout-main 内撑满,不再自持页眉与 100vh */ .bd-page { flex: 1; min-height: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; color: var(--bd-ink); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; } /* 网格底纹(更细腻) */ .bd-page::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background-image: repeating-linear-gradient(to right, rgba(47, 107, 255, 0.045) 0 1px, transparent 1px 52px), repeating-linear-gradient(to bottom, rgba(47, 107, 255, 0.045) 0 1px, transparent 1px 52px); } /* ============ 顶栏 ============ */ .bd-header { position: relative; z-index: 1500; height: 62px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 2.4vw, 34px); background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid rgba(47, 107, 255, 0.08); } .bd-header-left { display: flex; align-items: center; gap: 13px; min-width: 0; } .bd-logo { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue) 0%, var(--bd-cyan) 100%); box-shadow: 0 6px 18px rgba(47, 107, 255, 0.32); } .bd-header-titles { min-width: 0; } .bd-header-title { font-size: 21px; font-weight: 700; letter-spacing: 0.03em; color: var(--bd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-header-title-accent { color: #fc8318; font-weight: 700; } .bd-header-content—highlights { color: #022697; font-weight: 500; } .bd-header-sub { margin-top: 2px; font-size: 11px; color: var(--bd-sub); letter-spacing: 0.04em; white-space: nowrap; } .bd-header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; } .bd-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--bd-green); background: rgba(23, 178, 106, 0.08); border: 1px solid rgba(23, 178, 106, 0.22); border-radius: 20px; } .bd-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bd-green); box-shadow: 0 0 8px rgba(23, 178, 106, 0.7); animation: bdPulse 1.6s ease-in-out infinite; } @keyframes bdPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } } .bd-clock { text-align: right; padding-right: 6px; } .bd-clock-time { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 19px; font-weight: 600; color: var(--bd-ink); letter-spacing: 0.05em; line-height: 1.1; } .bd-clock-date { font-size: 10.5px; color: var(--bd-sub); margin-top: 1px; } /* ============ KPI 核心指标带 ============ */ .bd-kpis { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 0.9vw, 14px); padding: clamp(10px, 1vw, 14px) clamp(12px, 1.5vw, 22px) 0; flex-shrink: 0; } .bd-kpi { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(120, 160, 220, 0.16); box-shadow: 0 5px 20px rgba(56, 100, 170, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); transition: box-shadow 0.25s, transform 0.25s; } .bd-kpi:hover { box-shadow: 0 9px 28px rgba(56, 100, 170, 0.13), 0 1px 0 rgba(255, 255, 255, 0.95) inset; transform: translateY(-2px); } .bd-kpi-ico { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: rgba(47, 107, 255, 0.09); border: 1px solid rgba(47, 107, 255, 0.14); } .bd-kpi.token .bd-kpi-ico { background: rgba(76, 194, 255, 0.12); border-color: rgba(76, 194, 255, 0.24); } .bd-kpi.tool .bd-kpi-ico { background: rgba(47, 107, 255, 0.09); border-color: rgba(47, 107, 255, 0.16); } .bd-kpi.project .bd-kpi-ico { background: rgba(23, 178, 106, 0.10); border-color: rgba(23, 178, 106, 0.2); } .bd-kpi.job .bd-kpi-ico { background: rgba(247, 144, 9, 0.10); border-color: rgba(247, 144, 9, 0.2); } .bd-kpi.revenue .bd-kpi-ico { background: rgba(240, 68, 56, 0.09); border-color: rgba(240, 68, 56, 0.18); } .bd-kpi-body { min-width: 0; flex: 1; } .bd-kpi-label { font-size: 11.5px; color: var(--bd-sub); letter-spacing: 0.06em; font-weight: 600; } .bd-kpi-value { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 22px; font-weight: 700; color: var(--bd-ink); line-height: 1.2; margin-top: 1px; white-space: nowrap; } .bd-kpi-value em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--bd-sub); margin-left: 4px; } .bd-kpi-sub { font-size: 10.5px; color: var(--bd-sub); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-kpi-sub b { color: var(--bd-blue); font-weight: 700; } /* ============ 主体(下方内容三列) ============ */ .bd-main { position: relative; z-index: 2; flex: 1; min-height: 0; display: grid; gap: clamp(8px, 0.9vw, 14px); padding: clamp(10px, 1vw, 14px) clamp(12px, 1.5vw, 22px); } .bd-main-3col { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bd-col { display: flex; flex-direction: column; gap: clamp(8px, 0.9vw, 14px); min-height: 0; min-width: 0; } /* 第 1 列:TOKEN(略高)· 工具调用 */ .bd-col-left .bd-token-panel { flex: 1.15; } .bd-col-left .bd-tools-panel { flex: 0.85; } /* 第 2 列:入园项目(略高)· 带动就业 */ .bd-col-mid .bd-projects-panel { flex: 1.15; } .bd-col-mid .bd-jobs-panel { flex: 0.85; } /* 第 3 列:营收总数 */ .bd-col-right .bd-revenue-panel { flex: 1; } /* ============ 园区实时动态(底部整行 · 内容三列) ============ */ .bd-feed-row { position: relative; z-index: 2; flex-shrink: 0; padding: 0 clamp(12px, 1.5vw, 22px) 10px; } .bd-feed-row .bd-feed-card { height: 128px; } .bd-feed-row .bd-feed { display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; position: relative; } /* 每屏一组:3 列 × 2 行,切换时整体淡入(bdSlideIn) */ .bd-feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; width: 100%; align-content: center; flex-shrink: 0; } .bd-feed-row .bd-feed-item { padding: 4px 10px; font-size: 11px; line-height: 1.2; } .bd-feed-row .bd-feed-ico { width: 18px; height: 18px; font-size: 10px; } .bd-feed-row .bd-feed-text { font-size: 11px; } .bd-feed-row .bd-feed-time { font-size: 9.5px; } /* ============ 中部轮换大屏(自动轮换 · 降低信息密度) ============ */ .bd-rotator { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: clamp(6px, 0.7vw, 10px) clamp(12px, 1.5vw, 22px); } .bd-rotator-tabs { display: flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; } .bd-rot-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; font-size: 12.5px; font-weight: 600; color: var(--bd-sub); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(47, 107, 255, 0.12); border-radius: 10px; cursor: pointer; overflow: hidden; transition: all 0.2s; white-space: nowrap; } .bd-rot-tab .appica-ico { color: var(--bd-blue); } .bd-rot-tab:hover { border-color: rgba(47, 107, 255, 0.4); color: var(--bd-ink); } .bd-rot-tab.active { color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); border-color: transparent; box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35); } .bd-rot-tab.active .appica-ico { color: #fff; } .bd-rot-progress { position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0; background: rgba(255, 255, 255, 0.85); opacity: 0; } .bd-rot-tab.active .bd-rot-progress { opacity: 1; animation: bdRotProgress 10s linear forwards; } @keyframes bdRotProgress { from { width: 0; } to { width: 100%; } } .bd-rotator-stage { flex: 1; min-height: 0; position: relative; } .bd-rotator-slide { position: absolute; inset: 0; animation: bdRotIn 0.5s ease both; } @keyframes bdRotIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* 组视图:2 列 / 3 列网格 */ .bd-view { position: absolute; inset: 0; display: grid; gap: clamp(10px, 1vw, 16px); } .bd-view-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bd-view-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bd-view > .bd-card { min-width: 0; min-height: 0; } /* 大屏面板(一次只展示一个,布局舒展) */ .bd-big { padding: clamp(14px, 1.4vw, 22px); } .bd-big-body { flex: 1; min-height: 0; display: flex; gap: clamp(16px, 2vw, 32px); } .bd-big-left { flex: 1.5; min-width: 0; min-height: 0; display: flex; flex-direction: column; } .bd-big-right { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; } .bd-big-chart { justify-content: center; } .bd-big-chart .bd-chart-svg { height: 100%; } .bd-big-right .bd-donut-block { justify-content: center; } /* 大数字统计块 */ .bd-big-stats { gap: 12px; } .bd-big-stat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-radius: 14px; background: rgba(244, 248, 253, 0.8); border: 1px solid rgba(47, 107, 255, 0.08); } .bd-big-stat span { font-size: 13px; color: var(--bd-sub); white-space: nowrap; } .bd-big-stat b { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 26px; font-weight: 700; color: var(--bd-ink); white-space: nowrap; } .bd-big-stat b em { font-style: normal; font-size: 13px; color: var(--bd-sub); margin-left: 4px; } /* TOKEN 大屏:左图表 + 右环形图/模型/数值 */ .bd-big-token .bd-big-right { flex-direction: row; align-items: center; gap: 16px; } .bd-big-token .bd-model-list { flex: 1; gap: 8px; } .bd-big-token .bd-value-list { flex: 0 0 64px; gap: 8px; } /* 工具调用大屏:左统计 + 右大条形 */ .bd-big-bars { justify-content: center; } .bd-big-bars .bd-hbars { gap: 16px; } .bd-big-bars .bd-hbar { grid-template-columns: 120px minmax(0, 1fr) 56px; gap: 14px; } .bd-big-bars .bd-hbar-name { font-size: 14px; } .bd-big-bars .bd-hbar-track { height: 16px; } .bd-big-bars .bd-hbar-val { font-size: 14px; } /* 入园项目大屏:左环形图+图例 · 右名录滚动 */ .bd-big-zone { flex-direction: row; align-items: center; gap: 28px; } .bd-big-zone .bd-zone-legend { grid-template-columns: 1fr; gap: 6px; } .bd-big-zone .bd-zone-row { font-size: 13px; } .bd-big-ticker { gap: 6px; } .bd-big-ticker .bd-ticker { flex: 1; } .bd-big-ticker .bd-ticker-item { padding: 6px 12px; font-size: 13px; } /* 带动就业大屏:左大柱状 + 右统计 */ .bd-big-jobsbars { justify-content: center; } .bd-big-jobsbars .bd-jobs-bars { gap: 16px; } .bd-big-jobsbars .bd-vbar-val { font-size: 15px; } .bd-big-jobsbars .bd-vbar-name { font-size: 12px; } /* 营收大屏:左大折线 + 右统计/标签 */ .bd-big-revenue .bd-big-right { gap: 12px; } .bd-big-revenue .bd-revenue-tags { margin-top: 2px; } /* ============ 卡片(通透玻璃,弱化卡片感) ============ */ .bd-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 16px; padding: clamp(10px, 0.9vw, 14px); background: rgba(255, 255, 255, 0.58); border: 1px solid rgba(120, 160, 220, 0.14); box-shadow: 0 6px 24px rgba(56, 100, 170, 0.07), 0 1px 0 rgba(255, 255, 255, 0.85) inset; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); transition: box-shadow 0.25s ease; } .bd-card:hover { box-shadow: 0 10px 34px rgba(56, 100, 170, 0.11), 0 1px 0 rgba(255, 255, 255, 0.9) inset; } .bd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: clamp(4px, 0.5vw, 8px); flex-shrink: 0; } .bd-title { display: flex; align-items: center; gap: 7px; font-size: clamp(12.5px, 0.85vw, 14px); font-weight: 700; color: var(--bd-ink); letter-spacing: 0.01em; white-space: nowrap; } .bd-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--bd-blue), var(--bd-cyan)); } .bd-title-ico { font-size: 14px; } .bd-head-right { display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; overflow: hidden; } /* 标签(轻量徽标) */ .bd-pill-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: 10.5px; font-weight: 700; border-radius: 20px; letter-spacing: 0.02em; white-space: nowrap; } .bd-pill-tag.blue { color: var(--bd-blue); background: rgba(47, 107, 255, 0.08); border: 1px solid rgba(47, 107, 255, 0.16); } .bd-pill-tag.cyan { color: #0e9ecb; background: rgba(76, 194, 255, 0.1); border: 1px solid rgba(76, 194, 255, 0.24); } .bd-pill-tag.green { color: var(--bd-green); background: rgba(23, 178, 106, 0.08); border: 1px solid rgba(23, 178, 106, 0.18); } .bd-pill-tag.orange { color: #d97706; background: rgba(247, 144, 9, 0.09); border: 1px solid rgba(247, 144, 9, 0.2); } .bd-pill-tag.red { color: var(--bd-red); background: rgba(240, 68, 56, 0.07); border: 1px solid rgba(240, 68, 56, 0.18); } .bd-pill-tag.red .bd-live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--bd-red); box-shadow: 0 0 7px rgba(240, 68, 56, 0.7); animation: bdPulse 1.2s ease-in-out infinite; } /* 面板统计行 */ .bd-panel-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: clamp(5px, 0.5vw, 8px); flex-shrink: 0; } .bd-panel-stat { padding: 6px 9px; border-radius: 10px; background: rgba(244, 248, 253, 0.8); border: 1px solid rgba(47, 107, 255, 0.07); min-width: 0; } .bd-panel-stat-label { display: block; font-size: 10px; color: var(--bd-sub); margin-bottom: 2px; white-space: nowrap; } .bd-panel-stat b { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 15px; font-weight: 700; color: var(--bd-ink); white-space: nowrap; } .bd-panel-stat b em { font-style: normal; font-size: 9.5px; font-weight: 500; color: var(--bd-sub); margin-left: 3px; } /* 图表 SVG */ .bd-chart-svg { flex: 1; min-height: 0; width: 100%; height: 100%; display: block; } .bd-chart-block { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-bottom: 2px; } .bd-chart-block .bd-chart-svg { flex: 1; min-height: 0; } /* donut + 图例 */ .bd-split { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } /* TOKEN 四列布局:环形图(最左) · 模型(左) · 折线图(中) · 数值(右) */ .bd-split-tri { flex: 1; min-height: 0; align-items: center; gap: clamp(8px, 0.9vw, 14px); } .bd-split-tri .bd-donut-block { align-self: center; } .bd-model-list { flex: 0 0 128px; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; } .bd-value-list { flex: 0 0 56px; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; } .bd-value-list .bd-legend-row { justify-content: flex-end; } .bd-value-num { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 13px; font-weight: 700; color: var(--bd-ink); } .bd-chart-mid { flex: 1; min-width: 0; margin-bottom: 0; } .bd-donut-block { flex-shrink: 0; display: flex; align-items: center; justify-content: center; } /* donut 在窄容器内可缩放(max-width 兜底) */ .bd-donut { max-width: 100%; } .bd-donut-total { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 19px; font-weight: 700; fill: var(--bd-ink); } .bd-donut-label { font-size: 9px; fill: var(--bd-sub); } .bd-legend { flex: 1; display: flex; flex-direction: column; gap: 4.5px; min-width: 0; } .bd-legend-row { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--bd-sub); min-width: 0; } .bd-legend-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; box-shadow: 0 0 4px rgba(47, 107, 255, 0.25); } .bd-legend-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-legend-val { font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--bd-ink); } /* 横向排行条 */ .bd-hbars { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; justify-content: center; } .bd-hbar { display: grid; grid-template-columns: 60px minmax(0, 1fr) 34px; align-items: center; gap: 7px; } .bd-hbar-name { font-size: 11px; color: var(--bd-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-hbar-track { height: 8px; border-radius: 5px; background: rgba(47, 107, 255, 0.07); overflow: hidden; } .bd-hbar-fill { height: 100%; border-radius: 5px; transition: width 1s ease; } .bd-hbar-val { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; color: var(--bd-ink); text-align: right; white-space: nowrap; } .bd-hbar-title { font-size: 10.5px; color: var(--bd-sub); margin: 1px 0 5px; letter-spacing: 0.04em; flex-shrink: 0; } .bd-tools-foot { display: flex; gap: 10px; font-size: 9.5px; color: var(--bd-sub); margin-top: 5px; flex-shrink: 0; white-space: nowrap; } /* 迷你状态 */ .bd-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; flex: 1; align-content: center; } .bd-mini { padding: 8px 10px; border-radius: 11px; background: rgba(244, 248, 253, 0.75); border: 1px solid rgba(47, 107, 255, 0.06); } .bd-mini-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 5px; } .bd-mini-label { font-size: 11px; color: var(--bd-sub); white-space: nowrap; } .bd-mini-top b { font-family: "JetBrains Mono", monospace; font-size: 14px; font-weight: 700; color: var(--bd-ink); white-space: nowrap; } .bd-mini-track { height: 5px; border-radius: 4px; background: rgba(47, 107, 255, 0.08); overflow: hidden; } .bd-mini-fill { height: 100%; border-radius: 4px; transition: width 1.2s ease; } /* 3D 园区 */ .bd-plan-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.18)); border-color: rgba(120, 160, 220, 0.1); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .bd-plan-card:hover { box-shadow: none; } .bd-plan-ov { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; } .bd-plan-ov-title { font-size: 12.5px; font-weight: 700; color: var(--bd-ink); letter-spacing: 0.08em; display: flex; align-items: center; gap: 8px; } .bd-plan-ov-title::before { content: ''; width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--bd-blue), var(--bd-cyan)); } .bd-plan-ov-tags { display: flex; gap: 7px; } .bd-plan-ov-tags span { font-size: 10.5px; font-weight: 600; color: #4a5b76; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(47, 107, 255, 0.12); padding: 3px 9px; border-radius: 14px; white-space: nowrap; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(29, 44, 68, 0.08); } .bd-plan-ov-tags b { color: var(--bd-blue); font-family: "JetBrains Mono", monospace; font-size: 11.5px; } .bd3d-wrap { flex: 1; min-height: 0; width: 100%; position: relative; } .bd3d-wrap canvas { touch-action: none; } .bd3d-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--bd-sub); letter-spacing: 0.08em; } .bd3d-loading i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(47, 107, 255, 0.2); border-top-color: var(--bd-blue); animation: bdSpin 0.9s linear infinite; } @keyframes bdSpin { to { transform: rotate(360deg); } } /* 3D 房间悬浮标签(原浅色风格) */ .bd3d-tag { display: flex; flex-direction: column; align-items: center; gap: 5px; transform: translateY(-4px); } .bd3d-bubble { padding: 3px 11px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 4px 14px rgba(29, 44, 68, 0.22); } .bd3d-bubble.cold { background: linear-gradient(135deg, #3d7bff, #6fb1ff); box-shadow: 0 4px 16px rgba(47, 107, 255, 0.4); } .bd3d-bubble.ok { background: linear-gradient(135deg, #17b26a, #4cd69a); box-shadow: 0 4px 16px rgba(23, 178, 106, 0.38); } .bd3d-bubble.hot { background: linear-gradient(135deg, #f04438, #ff7d6b); box-shadow: 0 4px 16px rgba(240, 68, 56, 0.38); } .bd3d-roomname { font-size: 12px; font-weight: 600; color: #4a5b76; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(47, 107, 255, 0.12); padding: 2px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 8px rgba(29, 44, 68, 0.1); display: inline-flex; align-items: center; gap: 6px; } .bd3d-no { font-family: "Oswald", "JetBrains Mono", sans-serif; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(140deg, #2f6bff, #4cc2ff); border-radius: 5px; padding: 1px 6px; letter-spacing: 0.03em; box-shadow: 0 2px 6px rgba(47, 107, 255, 0.35); } .bd3d-tag.hallway .bd3d-no { background: linear-gradient(140deg, #4a8cff, #7fb5ff); } .bd3d-tag.desk .bd3d-no { background: linear-gradient(140deg, #f0903c, #f5b862); } .bd3d-tag.lounge .bd3d-no { background: linear-gradient(140deg, #2f9a6b, #6fd3a0); } .bd3d-tag.meeting .bd3d-no { background: linear-gradient(140deg, #e8891d, #f5a53c); } .bd3d-tag.stair .bd3d-no { background: linear-gradient(140deg, #dd7a14, #f5a53c); } /* 实时动态 */ .bd-feed-card { padding-bottom: 8px; } .bd-feed { display: flex; flex-direction: column; gap: 4px; min-height: 0; } .bd-feed-item { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 9px; background: rgba(244, 248, 253, 0.85); border: 1px solid rgba(47, 107, 255, 0.07); font-size: 11.5px; animation: bdSlideIn 0.5s ease both; } @keyframes bdSlideIn { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } } .bd-feed-ico { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px; background: rgba(47, 107, 255, 0.09); border: 1px solid rgba(47, 107, 255, 0.14); } .bd-feed-text { flex: 1; min-width: 0; color: #4a5b76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-feed-time { font-family: "JetBrains Mono", monospace; font-size: 10px; color: #9fb0c6; flex-shrink: 0; } /* 入园项目:区域分布 */ .bd-zone-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-bottom: 6px; } .bd-zone-legend { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 3px; min-width: 0; } .bd-zone-row { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--bd-sub); } .bd-zone-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-zone-val { font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--bd-ink); font-size: 10px; } /* 企业名录滚动 */ .bd-ticker-title { font-size: 10.5px; color: var(--bd-sub); margin-bottom: 4px; letter-spacing: 0.04em; flex-shrink: 0; } .bd-ticker-title span { color: #9fb0c6; } .bd-ticker { flex: 1; min-height: 0; overflow: hidden; position: relative; mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); } .bd-ticker-inner { animation: bdTickerY 46s linear infinite; } .bd-ticker:hover .bd-ticker-inner { animation-play-state: paused; } @keyframes bdTickerY { from { transform: translateY(0); } to { transform: translateY(-50%); } } .bd-ticker-item { display: flex; align-items: center; gap: 8px; padding: 3.5px 9px; font-size: 11px; color: #4a5b76; border-radius: 8px; white-space: nowrap; } .bd-ticker-item:nth-child(odd) { background: rgba(244, 248, 253, 0.75); } .bd-ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--bd-cyan); box-shadow: 0 0 5px rgba(76, 194, 255, 0.7); flex-shrink: 0; } /* 带动就业:竖向柱 */ .bd-jobs-bars { flex: 1; min-height: 0; display: flex; gap: 5px; align-items: stretch; padding-top: 5px; } .bd-vbar { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 2.5px; } .bd-vbar-track { flex: 1; width: 100%; min-height: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(47, 107, 255, 0.05); border-radius: 5px; overflow: hidden; } .bd-vbar-fill { width: 100%; border-radius: 5px; min-height: 2px; transition: height 1.2s ease; } .bd-vbar-val { font-family: "JetBrains Mono", monospace; font-size: 9.5px; font-weight: 700; color: var(--bd-ink); } .bd-vbar-name { font-size: 8.5px; color: var(--bd-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } /* 营收 */ .bd-revenue-tags { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; } .bd-revenue-tags span { font-size: 10px; color: #64748d; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(23, 178, 106, 0.16); padding: 3px 8px; border-radius: 8px; white-space: nowrap; } .bd-revenue-tags b { color: var(--bd-green); font-family: "JetBrains Mono", monospace; } /* ============ 底部综合指标条 ============ */ .bd-strip { position: relative; z-index: 2; flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 8px clamp(12px, 1.5vw, 22px); background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-top: 1px solid rgba(47, 107, 255, 0.08); } .bd-strip-title { font-size: 12px; font-weight: 700; color: var(--bd-ink); letter-spacing: 0.08em; white-space: nowrap; display: flex; align-items: center; gap: 8px; flex-shrink: 0; } /* .bd-strip-title::before { content: ''; width: 14px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--bd-blue), var(--bd-cyan)); } */ .bd-strip-chips { flex: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px clamp(6px, 1vw, 14px); min-width: 0; } .bd-chip { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--bd-sub); white-space: nowrap; flex-shrink: 0; } .bd-chip-ico { font-size: 13px; } .bd-chip-label { color: #9fb0c6; } .bd-chip b { color: var(--bd-blue); font-family: "JetBrains Mono", monospace; font-weight: 700; } /* ============ 自适应(所有内容一屏展示 · 禁止滚动条) ============ */ /* 中低高度屏幕:压缩固定尺寸 */ @media (max-height: 920px) { .bd-overview-head { margin-bottom: 6px; } .bd-kpi-value { font-size: 21px; } .bd-kpi-ico { width: 34px; height: 34px; font-size: 15px; } .bd-kpi { padding: 8px 11px; gap: 9px; } .bd-donut { width: 96px; height: 96px; } .bd-zone-wrap .bd-donut { width: 84px; height: 84px; } .bd-cell-feed .bd-feed-item { padding: 1px 6px; } .bd-panel-stat { padding: 5px 8px; } .bd-vbar-name { font-size: 8px; } .bd-feed-row .bd-feed-card { height: 120px; } } /* 小高度屏幕:继续压缩 */ @media (max-height: 900px) { .bd-header { height: 54px; } .bd-header-title { font-size: 17px; } /* 副标题所有设备保持显示(原 display:none 导致矮屏设备看不到),仅压缩字号 */ .bd-header-sub { font-size: 10px; letter-spacing: 0.02em; } .bd-clock-time { font-size: 16px; } .bd-title { font-size: 12.5px; } .bd-kpi-value { font-size: 19px; } .bd-kpi { padding: 6px 10px; } .bd-kpi-ico { width: 30px; height: 30px; font-size: 14px; } .bd-kpi-label { font-size: 10.5px; } .bd-kpi-sub { font-size: 10px; } .bd-donut { width: 76px; height: 76px; } .bd-zone-wrap .bd-donut { width: 56px; height: 56px; } .bd-panel-stat b { font-size: 13.5px; } .bd-panel-stat { padding: 3px 7px; } .bd-ticker-title { display: none; } .bd-tools-foot { display: none; } .bd-hbar-title { display: none; } .bd-zone-wrap { margin-bottom: 0; } .bd-revenue-tags span { padding: 2px 6px; font-size: 9px; } .bd-overview, .bd-strip, .bd-feed-row { flex-shrink: 0; } } /* 极矮屏幕:极限压缩,保证一屏完整、无滚动 */ @media (max-height: 800px) { .bd-header { height: 50px; } .bd-header-title { font-size: 16px; } .bd-clock-time { font-size: 14px; } .bd-overview { padding-top: 8px; } .bd-overview-head { margin-bottom: 5px; } .bd-ov-status { gap: 4px; } .bd-ost-chip { padding: 2px 7px; font-size: 9.5px; } .bd-kpi { padding: 5px 9px; gap: 8px; } .bd-kpi-ico { width: 26px; height: 26px; font-size: 13px; } .bd-kpi-value { font-size: 17px; } .bd-kpi-label { font-size: 10px; } .bd-kpi-sub { font-size: 9.5px; } .bd-donut { width: 60px; height: 60px; } .bd-zone-wrap .bd-donut { width: 48px; height: 48px; } .bd-card { padding: 8px 10px; } .bd-card-head { margin-bottom: 4px; } .bd-panel-stat { padding: 2px 6px; } .bd-panel-stat b { font-size: 12.5px; } .bd-panel-stat-label { font-size: 9px; } .bd-hbar { gap: 5px; } .bd-hbar-track { height: 6px; } .bd-hbars { gap: 4px; } .bd-hbar-name { font-size: 10px; } .bd-vbar-val { font-size: 8.5px; } .bd-vbar-name { font-size: 7.5px; } .bd-jobs-bars { gap: 3px; } .bd-revenue-tags { gap: 4px; } .bd-revenue-tags span { padding: 2px 5px; font-size: 8.5px; } .bd-feed-row .bd-feed-card { height: 108px; } .bd-feed-row .bd-feed-item { padding: 2px 7px; font-size: 10px; } .bd-strip { padding: 5px clamp(12px, 1.5vw, 22px); } .bd-strip-title { font-size: 11px; } .bd-chip { font-size: 10px; } .bd-model-list { flex-basis: 88px; } .bd-value-list { flex-basis: 44px; } .bd-split-tri .bd-donut { width: 64px; height: 64px; } .bd-rot-tab { padding: 4px 11px; font-size: 11.5px; } .bd-big { padding: 10px 14px; } .bd-big-stat { padding: 9px 14px; } .bd-big-stat b { font-size: 19px; } .bd-big-stat span { font-size: 11.5px; } .bd-big-body { gap: 14px; } .bd-big .bd-donut { width: 108px; height: 108px; } .bd-big-zone .bd-zone-row { font-size: 11.5px; } .bd-big-ticker .bd-ticker-item { padding: 4px 10px; font-size: 11.5px; } .bd-big-bars .bd-hbar-name { font-size: 12px; } .bd-big-bars .bd-hbar-track { height: 12px; } .bd-big-bars .bd-hbar-val { font-size: 12px; } .bd-big-jobsbars .bd-vbar-name { font-size: 10px; } } /* 窄屏:收缩 TOKEN 卡内部列宽 + 概览条压缩 */ @media (max-width: 1500px) { .bd-model-list { flex-basis: 92px; } .bd-value-list { flex-basis: 46px; } .bd-split-tri .bd-donut { width: 72px; height: 72px; } .bd-strip-title { display: none; } .bd-strip-chips { gap: 3px 8px; } .bd-chip { font-size: 10px; } .bd-chip-ico { font-size: 12px; } } /* ============ Appica SVG 图标 ============ */ .appica-ico { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; } .bd-title-ico .appica-ico, .bd-title-ico svg { color: var(--bd-blue); } .bd-kpi-ico .appica-ico, .bd-kpi-ico svg { color: currentColor; } .bd-kpi.token .bd-kpi-ico { color: #4cc2ff; } .bd-kpi.tool .bd-kpi-ico { color: #5b8cff; } .bd-kpi.project .bd-kpi-ico { color: #2fd08b; } .bd-kpi.job .bd-kpi-ico { color: #f5a53c; } .bd-kpi.revenue .bd-kpi-ico { color: #ff7a6b; } .bd-feed-ico .appica-ico, .bd-feed-ico svg { color: #7fa8ff; } .bd-chip-ico .appica-ico, .bd-chip-ico svg { color: var(--bd-blue); } .bd-revenue-tags svg, .bd-revenue-tags .appica-ico { color: #f79009; vertical-align: -0.15em; margin-right: 2px; } /* ============ Appica Autocomplete 企业搜索 ============ */ .bd-search { position: relative; width: 240px; } .bd-search .AppicaAutocomplete-root, .bd-search [data-appica-autocomplete] { width: 100%; } /* 输入框 */ .bd-search .AppicaAutocomplete-input, .bd-search input[role="combobox"] { width: 100%; height: 34px; padding: 0 30px 0 34px; font-size: 12.5px; color: var(--bd-ink); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(47, 107, 255, 0.16); border-radius: 9px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .bd-search input[role="combobox"]::placeholder { color: #8fa1ba; } .bd-search input[role="combobox"]:focus { border-color: rgba(47, 107, 255, 0.5); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12); } /* 弹出层 */ .bd-search-pos { z-index: 2000 !important; } .bd-search-pop { z-index: 2000; min-width: 280px; overflow: hidden; background: rgba(20, 30, 50, 0.96); border: 1px solid rgba(120, 160, 220, 0.25); border-radius: 12px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } .bd-search-pop [role="listbox"] { max-height: 320px; overflow-y: auto; padding: 6px; } .bd-search-pop [role="option"] { display: flex; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: #dbe6f5; font-size: 12.5px; transition: background 0.15s; } .bd-search-pop [role="option"]:hover, .bd-search-pop [role="option"][data-highlighted] { background: rgba(76, 140, 255, 0.18); } .bd-search-pop [role="option"][data-selected] { background: rgba(76, 140, 255, 0.25); } .bd-search-pop [role="presentation"]:empty { padding: 14px; text-align: center; color: #7d8fa9; font-size: 12px; } /* 列表项 */ .bd-search-item { display: flex; align-items: center; gap: 10px; width: 100%; } .bd-search-zone { display: inline-flex; flex-shrink: 0; } .bd-search-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; } .bd-search-info b { font-size: 12.5px; font-weight: 600; color: #eaf1fb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-search-info em { font-style: normal; font-size: 11px; color: #7d93b5; } .bd-search-room { flex-shrink: 0; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; color: #4cc2ff; background: rgba(76, 194, 255, 0.12); border: 1px solid rgba(76, 194, 255, 0.25); border-radius: 6px; padding: 2px 7px; } /* 选中结果 */ .bd-search-result { position: absolute; top: 40px; right: 0; width: 280px; z-index: 900; padding: 12px 14px; background: rgba(20, 30, 50, 0.97); border: 1px solid rgba(120, 160, 220, 0.25); border-radius: 12px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } .bd-search-result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .bd-search-result-name { font-size: 14px; font-weight: 700; color: #fff; } .bd-search-result-zone { font-size: 12px; font-weight: 600; } .bd-search-result-meta { display: flex; gap: 14px; font-size: 11.5px; color: #8fa1ba; } .bd-search-result-meta b { color: #eaf1fb; font-weight: 600; margin-left: 3px; } .bd-search-result-meta b.ok { color: #34d399; } /* 深色页面下 autocomplete 内联控件颜色 */ .bd-page [data-appica-clear], .bd-page [data-appica-chevron] { color: #8fa1ba; } /* ============ 数字孪生独立页(/twin) ============ */ .bd-twin-page { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } .bd-twin-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; padding: 14px; } .bd-twin-stage { position: relative; min-width: 0; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.15)); border: 1px solid rgba(120, 160, 220, 0.14); } .bd-twin-stage .bd3d-wrap { position: absolute; inset: 0; } .bd-twin-legend { position: absolute; bottom: 14px; left: 14px; z-index: 10; display: flex; gap: 14px; padding: 8px 14px; background: rgba(255,255,255,0.85); border: 1px solid rgba(120,160,220,0.2); border-radius: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .bd-twin-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #4a5b76; font-weight: 500; } .bd-twin-legend i { width: 9px; height: 9px; border-radius: 50%; } /* 右侧面板 */ .bd-twin-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; overflow: hidden; } .bd-twin-zones { display: flex; gap: 8px; flex-shrink: 0; } .bd-twin-zone { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; font-size: 13px; font-weight: 700; color: #64748d; background: rgba(255,255,255,0.7); border: 1px solid rgba(120,160,220,0.2); border-radius: 10px; cursor: pointer; transition: all 0.2s; } .bd-twin-zone em { font-style: normal; font-size: 10.5px; font-weight: 500; color: #8fa1ba; } .bd-twin-zone.active { background: rgba(255,255,255,0.95); box-shadow: 0 4px 14px rgba(47,107,255,0.12); } .bd-twin-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; min-height: 0; overflow-y: auto; padding: 2px; align-content: start; } .bd-twin-item { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 10px; background: rgba(255,255,255,0.72); border: 1px solid rgba(120,160,220,0.16); border-radius: 10px; cursor: pointer; text-align: left; transition: all 0.2s; } .bd-twin-item:hover { background: rgba(255,255,255,0.95); transform: translateY(-1px); } .bd-twin-item.active { background: rgba(76,140,255,0.10); border-color: rgba(76,140,255,0.4); box-shadow: 0 4px 14px rgba(76,140,255,0.15); } .bd-twin-room { font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; border: 1px solid; border-radius: 5px; padding: 1px 6px; } .bd-twin-name { font-size: 11.5px; font-weight: 600; color: #33415c; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .bd-twin-detail { flex-shrink: 0; padding: 12px 14px; background: rgba(255,255,255,0.85); border: 1px solid rgba(120,160,220,0.2); border-radius: 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .bd-twin-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .bd-twin-detail-head b { font-size: 14px; color: #1d2c44; } .bd-twin-detail-head span { font-size: 12px; font-weight: 600; } .bd-twin-detail-meta { display: flex; gap: 16px; font-size: 12px; color: #64748d; } .bd-twin-detail-meta b { color: #1d2c44; margin-left: 3px; } .bd-twin-detail-meta b.ok { color: #17b26a; } .bd-twin-feed { flex-shrink: 0; max-height: 190px; } .bd-twin-feed .bd-feed { overflow-y: auto; } /* ============ AI 智能助手对话区(/ai 左侧) ============ */ .bd-chat { position: relative; min-width: 0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.15)); border: 1px solid rgba(120, 160, 220, 0.14); } .bd-chat-head { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(120,160,220,0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .bd-chat-logo { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); box-shadow: 0 4px 12px rgba(47,107,255,0.28); } .bd-chat-titles { min-width: 0; flex: 1; } .bd-chat-titles b { display: block; font-size: 14px; color: var(--bd-ink); letter-spacing: 0.02em; } .bd-chat-titles span { display: block; margin-top: 1px; font-size: 10.5px; color: var(--bd-sub); } .bd-chat-model { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--bd-green); padding: 4px 10px; border-radius: 20px; background: rgba(23,178,106,0.08); border: 1px solid rgba(23,178,106,0.22); white-space: nowrap; } .bd-chat-model i { width: 6px; height: 6px; border-radius: 50%; background: var(--bd-green); box-shadow: 0 0 6px rgba(23,178,106,0.8); } .bd-chat-clear { width: 28px; height: 28px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(120,160,220,0.2); border-radius: 8px; background: rgba(255,255,255,0.7); color: var(--bd-sub); cursor: pointer; transition: all 0.2s; } .bd-chat-clear:hover { color: var(--bd-red); border-color: rgba(240,68,56,0.35); background: rgba(240,68,56,0.06); } .bd-chat-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; } .bd-msg { display: flex; gap: 9px; max-width: 86%; } .bd-msg.ai { align-self: flex-start; } .bd-msg.me { align-self: flex-end; flex-direction: row-reverse; } .bd-msg-avatar { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); box-shadow: 0 3px 8px rgba(47,107,255,0.22); } .bd-msg-bubble { padding: 9px 13px; font-size: 12.5px; line-height: 1.65; border-radius: 12px; color: #33415c; background: rgba(255,255,255,0.85); border: 1px solid rgba(120,160,220,0.16); box-shadow: 0 3px 10px rgba(56,100,170,0.06); white-space: pre-line; word-break: break-word; } .bd-msg.me .bd-msg-bubble { color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-blue-deep)); border-color: transparent; box-shadow: 0 4px 14px rgba(47,107,255,0.25); } .bd-typing { display: inline-flex; align-items: center; gap: 4px; padding: 12px 14px; } .bd-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9fb0c6; animation: bdTyping 1.2s ease-in-out infinite; } .bd-typing i:nth-child(2) { animation-delay: 0.15s; } .bd-typing i:nth-child(3) { animation-delay: 0.3s; } @keyframes bdTyping { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } } .bd-chat-quick { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; } .bd-chat-quick button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; font-size: 11px; font-weight: 600; color: var(--bd-blue); background: rgba(47,107,255,0.07); border: 1px solid rgba(47,107,255,0.16); border-radius: 20px; cursor: pointer; transition: all 0.2s; } .bd-chat-quick button:hover { background: rgba(47,107,255,0.14); transform: translateY(-1px); } .bd-chat-input { flex-shrink: 0; display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(255,255,255,0.85); border: 1px solid rgba(120,160,220,0.22); box-shadow: 0 4px 16px rgba(56,100,170,0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .bd-chat-input input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 12.5px; color: var(--bd-ink); font-family: inherit; } .bd-chat-input input::placeholder { color: #9fb0c6; } .bd-chat-send { width: 32px; height: 32px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 9px; color: #fff; cursor: pointer; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); box-shadow: 0 4px 12px rgba(47,107,255,0.3); transition: all 0.2s; } .bd-chat-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(47,107,255,0.38); } .bd-chat-send:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; } /* ---------- 模式切换(文字 / 语音) ---------- */ .bd-chat-modes { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(120,160,220,0.12); border: 1px solid rgba(120,160,220,0.18); flex-shrink: 0; } .bd-chat-modes button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; font-size: 11px; font-weight: 700; color: #64748d; background: transparent; border: none; border-radius: 7px; cursor: pointer; transition: all 0.2s; white-space: nowrap; } .bd-chat-modes button:hover { color: var(--bd-blue); } .bd-chat-modes button.active { color: var(--bd-blue); background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(47,107,255,0.18); } /* ---------- 语音对话区 ---------- */ .bd-chat-voice { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 16px 18px; } .bd-chat-voice-hint { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #64748d; min-height: 18px; transition: color 0.2s; } .bd-chat-voice-hint.listening { color: var(--bd-blue); } .bd-chat-voice-hint.processing { color: var(--bd-orange); } /* 聆听波形 */ .bd-voice-wave { display: inline-flex; align-items: center; gap: 3px; height: 14px; } .bd-voice-wave i { width: 3px; border-radius: 2px; background: var(--bd-blue); animation: bdWave 1s ease-in-out infinite; } .bd-voice-wave i:nth-child(1) { height: 6px; animation-delay: 0s; } .bd-voice-wave i:nth-child(2) { height: 12px; animation-delay: 0.12s; } .bd-voice-wave i:nth-child(3) { height: 8px; animation-delay: 0.24s; } .bd-voice-wave i:nth-child(4) { height: 13px; animation-delay: 0.36s; } .bd-voice-wave i:nth-child(5) { height: 7px; animation-delay: 0.48s; } @keyframes bdWave { 0%, 100% { transform: scaleY(0.5); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } } /* 语音交互按钮 */ .bd-chat-mic { position: relative; width: 76px; height: 76px; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); box-shadow: 0 10px 28px rgba(47,107,255,0.32); cursor: pointer; transition: all 0.25s; } .bd-chat-mic:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(47,107,255,0.4); } .bd-chat-mic.listening { background: linear-gradient(140deg, var(--bd-blue-deep), var(--bd-blue)); box-shadow: 0 0 0 0 rgba(47,107,255,0.35); } .bd-chat-mic.processing { background: linear-gradient(140deg, var(--bd-orange), #ffb648); box-shadow: 0 10px 28px rgba(247,144,9,0.3); cursor: default; } /* 聆听扩散波纹 */ .bd-mic-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(47,107,255,0.4); animation: bdMicRing 1.5s ease-out infinite; pointer-events: none; } .bd-mic-ring.r2 { animation-delay: 0.5s; } @keyframes bdMicRing { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } } .bd-chat-voice-tip { font-size: 10.5px; color: #9fb0c6; letter-spacing: 0.03em; } /* 语音提问消息标记 */ .bd-msg-voice-tag { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; padding: 1px 7px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; border-radius: 10px; color: rgba(255,255,255,0.92); background: rgba(255,255,255,0.22); vertical-align: 1px; } /* 移动端/窄屏:消息宽度放开 */ @media (max-width: 1100px) { .bd-msg { max-width: 94%; } } /* ============ 全局覆盖层(后端/AI 指令:通知 + 卡片) ============ */ .bd-overlay { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; } .bd-overlay-alert { position: fixed; top: 74px; right: 18px; z-index: 3000; display: flex; align-items: flex-start; gap: 10px; max-width: 360px; padding: 12px 14px; background: rgba(255,255,255,0.92); border: 1px solid rgba(47,107,255,0.22); border-radius: 12px; box-shadow: 0 10px 30px rgba(47,107,255,0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: bdOverlayIn 0.3s ease; } .bd-overlay-alert-ico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); } .bd-overlay-alert-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .bd-overlay-alert-body b { font-size: 13px; color: var(--bd-ink); } .bd-overlay-alert-body span { font-size: 11.5px; line-height: 1.5; color: var(--bd-sub); } .bd-overlay-close { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 6px; background: rgba(120,160,220,0.12); color: var(--bd-sub); cursor: pointer; transition: all 0.2s; } .bd-overlay-close:hover { color: var(--bd-red); background: rgba(240,68,56,0.1); } @keyframes bdOverlayIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } } .bd-overlay-mask { position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center; background: rgba(29,44,68,0.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: bdOverlayIn 0.25s ease; } .bd-overlay-card { width: min(680px, 86vw); max-height: 78vh; overflow: hidden; display: flex; flex-direction: column; background: rgba(255,255,255,0.94); border: 1px solid rgba(120,160,220,0.25); border-radius: 16px; box-shadow: 0 24px 60px rgba(29,44,68,0.22); } .bd-overlay-card-head { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: linear-gradient(180deg, rgba(76,194,255,0.08), rgba(255,255,255,0)); border-bottom: 1px solid rgba(120,160,220,0.14); } .bd-overlay-card-ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); } .bd-overlay-card-head b { flex: 1; min-width: 0; font-size: 15px; color: var(--bd-ink); } .bd-overlay-card-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px; } .bd-overlay-card-group { margin-bottom: 14px; } .bd-overlay-card-group-title { font-size: 12px; font-weight: 700; color: var(--bd-sub); margin-bottom: 8px; letter-spacing: 0.06em; } .bd-overlay-card-chips { display: flex; flex-wrap: wrap; gap: 8px; } .bd-overlay-card-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; font-size: 11.5px; color: #33415c; background: rgba(255,255,255,0.85); border: 1px solid rgba(120,160,220,0.18); border-radius: 9px; } .bd-overlay-card-chip b { font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700; border: 1px solid; border-radius: 5px; padding: 1px 6px; } .bd-overlay-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .bd-overlay-card-stat { padding: 10px 12px; background: rgba(255,255,255,0.85); border: 1px solid rgba(120,160,220,0.16); border-radius: 10px; display: flex; flex-direction: column; gap: 4px; } .bd-overlay-card-stat span { font-size: 10.5px; color: var(--bd-sub); } .bd-overlay-card-stat b { font-size: 16px; color: var(--bd-blue); font-family: "JetBrains Mono", monospace; } .bd-overlay-card-text { font-size: 13px; line-height: 1.7; color: #33415c; white-space: pre-line; } /* 页眉左右切换按钮(← 左页 · 右页 →,可点击) */ .bd-nav-keys { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 11.5px; font-weight: 600; color: #4a5b76; background: rgba(255,255,255,0.7); border: 1px solid rgba(47,107,255,0.14); border-radius: 9px; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } /* ============ 页眉音量控制(媒体 + 音效) ============ */ .bd-vol-wrap { position: relative; flex-shrink: 0; } .bd-vol-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: #4a5b76; background: rgba(255,255,255,0.7); border: 1px solid rgba(47,107,255,0.14); border-radius: 9px; cursor: pointer; transition: all 0.2s; } .bd-vol-btn:hover { color: var(--bd-blue); border-color: rgba(47,107,255,0.4); background: rgba(255,255,255,0.95); } .bd-vol-btn.muted { color: var(--bd-red); } .bd-vol-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: 220px; padding: 12px 14px; background: rgba(255,255,255,0.96); border: 1px solid rgba(47,107,255,0.16); border-radius: 12px; box-shadow: 0 10px 30px rgba(56,100,170,0.16), 0 1px 0 rgba(255,255,255,0.95) inset; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); animation: bdRotIn 0.2s ease both; } .bd-vol-title { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--bd-ink); margin-bottom: 4px; } .bd-vol-title .appica-ico { color: var(--bd-blue); } .bd-vol-panel input[type="range"] { width: 100%; height: 5px; -webkit-appearance: none; appearance: none; border-radius: 3px; background: rgba(47,107,255,0.14); outline: none; cursor: pointer; } .bd-vol-panel input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(47,107,255,0.4); } .bd-vol-panel input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--bd-blue); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(47,107,255,0.4); } .bd-vol-val { display: block; text-align: right; font-family: "JetBrains Mono", "Oswald", monospace; font-size: 10.5px; font-weight: 700; color: var(--bd-blue); margin: 2px 0 8px; } .bd-vol-val:last-child { margin-bottom: 0; } .bd-nav-key { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: none; background: transparent; color: inherit; font-size: inherit; font-weight: 600; font-family: inherit; border-radius: 6px; cursor: pointer; transition: all 0.2s; } .bd-nav-key:hover { color: var(--bd-blue); background: rgba(47, 107, 255, 0.1); } .bd-nav-key .appica-ico { color: var(--bd-blue); } .bd-nav-dot { color: rgba(125, 147, 181, 0.5); font-size: 10px; } /* ============ 园区今日概览 ============ */ .bd-overview { position: relative; z-index: 2; flex-shrink: 0; padding: clamp(10px, 1vw, 14px) clamp(12px, 1.5vw, 22px) 0; } .bd-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(7px, 0.7vw, 10px); } /* 运行状态内联条(标题右侧) */ .bd-ov-status { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; } /* 卡片标题右侧的概括数据内联 */ /* 卡片标题右侧的概括数据内联(强制一行,不允许超出) */ .bd-head-stats { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 4px; min-width: 0; } .bd-head-stats .bd-ost-chip { flex-shrink: 1; min-width: 0; padding: 2px 7px; font-size: 9.5px; gap: 3px; overflow: hidden; white-space: nowrap; } .bd-head-stats .bd-ost-chip i { overflow: hidden; text-overflow: ellipsis; max-width: 70px; } .bd-head-stats .bd-ost-chip b { overflow: hidden; text-overflow: ellipsis; max-width: 120px; } .bd-ost-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; font-size: 10px; border-radius: 12px; white-space: nowrap; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(47, 107, 255, 0.14); } .bd-ost-chip .appica-ico { color: var(--bd-blue); } .bd-ost-chip i { font-style: normal; color: var(--bd-sub); } .bd-ost-chip b { font-family: "JetBrains Mono", "Oswald", monospace; font-weight: 700; color: var(--bd-blue); } .bd-overview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto; gap: clamp(6px, 0.6vw, 10px); } .bd-cell { min-width: 0; min-height: 0; display: flex; } .bd-cell .bd-kpi { flex: 1; } /* 五个指标卡片:一行展示 */ .bd-cell-token { grid-column: 1; } .bd-cell-revenue { grid-column: 2; } .bd-cell-projects { grid-column: 3; } .bd-cell-tools { grid-column: 4; } .bd-cell-jobs { grid-column: 5; } /* 底部园区概览(见 .bd-strip 区块) */ /* ============ 页眉媒体播放控制(仅媒体轮播页) ============ */ .bd-hd-media { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(47, 107, 255, 0.14); border-radius: 9px; flex-shrink: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .bd-hd-media-btn { width: 24px; height: 24px; border: none; border-radius: 6px; background: transparent; color: var(--bd-blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; } .bd-hd-media-btn:hover { background: rgba(47, 107, 255, 0.12); } .bd-hd-media-btn.primary { color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); box-shadow: 0 3px 8px rgba(47, 107, 255, 0.3); } .bd-hd-media-btn.warn { color: var(--bd-orange); } .bd-hd-media-num { font-family: "JetBrains Mono", "Oswald", monospace; font-size: 11px; color: var(--bd-sub); display: inline-flex; align-items: baseline; gap: 2px; padding: 0 2px; } .bd-hd-media-num b { font-size: 12px; color: var(--bd-ink); } .bd-hd-media-num em { font-style: normal; font-size: 10px; } .bd-hd-media-name { display: inline-flex; align-items: center; gap: 5px; max-width: 160px; padding: 3px 8px; border: none; border-radius: 6px; background: transparent; font-size: 11px; font-weight: 600; font-family: inherit; color: var(--bd-sub); cursor: pointer; overflow: hidden; } .bd-hd-media-name > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bd-hd-media-name:hover { background: rgba(47, 107, 255, 0.08); color: var(--bd-ink); } .bd-hd-media-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--bd-green); box-shadow: 0 0 6px rgba(23, 178, 106, 0.8); animation: bdPulse 1.6s ease-in-out infinite; } /* 窄屏:页眉控制区收起名称,保留核心按钮 */ @media (max-width: 1280px) { .bd-hd-media-name { display: none; } } /* ==================== 关于 PineSound 弹窗 ==================== */ .bd-about-btn { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(47, 107, 255, 0.25); background: rgba(255, 255, 255, 0.7); color: var(--bd-sub, #7d8fa9); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; } .bd-about-btn:hover { color: #2f6bff; border-color: #2f6bff; background: #fff; } /* 手势状态:识别到手势 → 绿色惊喜图标 + 光晕脉冲 */ .bd-about-btn.gesture-hit { color: var(--bd-green, #17b26a); border-color: rgba(23, 178, 106, 0.55); background: rgba(23, 178, 106, 0.1); box-shadow: 0 0 14px rgba(23, 178, 106, 0.45); animation: bdGesturePulse 1s ease-in-out infinite; } @keyframes bdGesturePulse { 0%, 100% { box-shadow: 0 0 8px rgba(23, 178, 106, 0.3); transform: scale(1); } 50% { box-shadow: 0 0 18px rgba(23, 178, 106, 0.6); transform: scale(1.08); } } /* 视觉识别中:浅蓝色(摄像头开启 / 检测中 / 面向 / 触发) */ .bd-about-btn.vision-active { color: var(--bd-cyan, #4cc2ff); border-color: rgba(76, 194, 255, 0.5); background: rgba(76, 194, 255, 0.1); box-shadow: 0 0 10px rgba(76, 194, 255, 0.35); animation: bdVisionPulse 2s ease-in-out infinite; } @keyframes bdVisionPulse { 0%, 100% { box-shadow: 0 0 6px rgba(76, 194, 255, 0.25); } 50% { box-shadow: 0 0 14px rgba(76, 194, 255, 0.5); } } /* 视觉识别异常:红色 */ .bd-about-btn.vision-error { color: var(--bd-red, #f04438); border-color: rgba(240, 68, 56, 0.5); background: rgba(240, 68, 56, 0.08); } .about-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(13, 28, 48, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; } .about-modal { position: relative; width: min(420px, calc(100vw - 48px)); background: #fff; border-radius: 16px; padding: 28px 30px 22px; box-shadow: 0 24px 60px rgba(15, 42, 96, 0.28); animation: about-pop 0.25s ease; } @keyframes about-pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } } .about-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border: none; background: transparent; color: #9fb0c6; font-size: 20px; line-height: 1; cursor: pointer; border-radius: 8px; } .about-close:hover { color: #1d2c44; background: #f0f4fa; } .about-brand { text-align: center; margin-bottom: 6px; } .about-logo { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 18px; background: linear-gradient(135deg, #2f6bff 0%, #22d3ee 100%); color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 0.02em; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(47, 107, 255, 0.35); } .about-name { margin: 0; font-size: 24px; font-weight: 800; color: #1d2c44; letter-spacing: 0.04em; } .about-product { margin-top: 4px; font-size: 13px; color: #7d8fa9; } .about-tagline { text-align: center; margin: 14px 0 18px; font-size: 12.5px; color: #4a5b74; line-height: 1.6; padding: 10px 12px; background: #f5f8ff; border-radius: 10px; } .about-section h4 { margin: 0 0 8px; font-size: 12px; color: #7d8fa9; letter-spacing: 0.08em; } .about-section ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; } .about-section li { font-size: 12.5px; color: #33425c; padding: 6px 10px; background: #f8fafd; border-radius: 8px; border: 1px solid #eef2f8; } .about-meta { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e3ecf7; display: flex; justify-content: space-between; font-size: 11px; color: #9fb0c6; } /* 页眉开发署名(© 图标 + 公司名 + 开发;空间不足自动折叠为两行) */ .bd-credit { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--bd-sub, #7d8fa9); white-space: nowrap; letter-spacing: 0.02em; align-self: center; padding: 0 6px; border-left: 1px solid rgba(47, 107, 255, 0.18); margin-left: 4px; line-height: 1.2; } .bd-credit .appica-ico { flex-shrink: 0; color: var(--bd-blue); opacity: 0.7; } .bd-credit-text { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; } .bd-credit-name { white-space: nowrap; } .bd-credit-dev { color: #9fb0c6; white-space: nowrap; } /* 空间不足(窄屏):折叠为两行 —— 公司名 / 开发 */ @media (max-width: 1560px) { .bd-credit { font-size: 12px; gap: 4px; } .bd-credit-text { flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.15; } .bd-credit-dev { font-size: 11px; } } /* 更窄:仅保留公司名,隐藏「开发」 */ @media (max-width: 1180px) { .bd-credit-dev { display: none; } } /* ============ 真实数据面板补充样式 ============ */ .bd-jobs-panel, .bd-revenue-panel { display: flex; flex-direction: column; overflow: hidden; } .bd-jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 14px; row-gap: 12px; padding: 8px 2px; flex: 1; min-height: 0; } .bd-jobs-grid .bd-big-stat { padding: 9px 14px; border-radius: 10px; } .bd-jobs-grid .bd-big-stat b { font-size: 19px; } .bd-jobs-grid .bd-big-stat span { font-size: 11.5px; } .bd-jobs-grid .bd-big-stat b em { font-size: 11.5px; } .bd-jobs-panel > .bd-hbars { flex: 0 1 auto; min-height: 0; gap: 5px; } /* 营收总额面板:8 卡紧凑布局,确保不溢出面板 */ .bd-revenue-nums { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 14px; row-gap: 12px; padding: 8px 2px; flex: 1; min-height: 0; } .bd-revenue-nums .bd-big-stat { padding: 9px 14px; border-radius: 10px; } .bd-revenue-nums .bd-big-stat b { font-size: 19px; } .bd-revenue-nums .bd-big-stat span { font-size: 11.5px; } .bd-revenue-nums .bd-big-stat b em { font-size: 11.5px; } .bd-revenue-panel .bd-revenue-tags, .bd-revenue-panel .bd-real-metrics { flex-shrink: 0; } .bd-revenue-panel .bd-real-metrics { margin-top: 6px; } .bd-revenue-panel .bd-real-metrics span { padding: 2px 8px; font-size: 11px; } .bd-jobs-note { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(47, 107, 255, 0.06); border: 1px solid rgba(47, 107, 255, 0.12); font-size: 12px; line-height: 1.7; color: var(--bd-sub, #7d8fa9); } .bd-real-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0 2px; } .bd-real-metrics span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: rgba(47, 107, 255, 0.06); border: 1px solid rgba(47, 107, 255, 0.14); font-size: 12px; color: var(--bd-sub, #7d8fa9); white-space: nowrap; } .bd-real-metrics b { color: #2f6bff; font-weight: 700; } /* ============ 入驻企业展示墙(/wall · 全量档案版 · 配色与整体一致) ============ */ .cw-page { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: clamp(12px, 1.4vw, 24px) clamp(16px, 2vw, 34px); gap: clamp(10px, 1.2vw, 18px); position: relative; overflow: hidden; color: var(--bd-ink); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; } .cw-page::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(47, 107, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 107, 255, 0.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 100%); pointer-events: none; } .cw-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; } .cw-glow-a { width: 420px; height: 420px; top: -140px; left: -100px; background: rgba(76, 194, 255, 0.15); } .cw-glow-b { width: 460px; height: 460px; bottom: -180px; right: -120px; background: rgba(47, 107, 255, 0.12); } .cw-head { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; flex-shrink: 0; } .cw-eyebrow { display: block; font-size: 10px; letter-spacing: 0.32em; color: rgba(125, 143, 169, 0.65); margin-bottom: 6px; text-transform: uppercase; } .cw-title h1 { margin: 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: 0.06em; background: linear-gradient(92deg, var(--bd-blue-deep) 10%, var(--bd-blue) 55%, var(--bd-cyan) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 12px rgba(47, 107, 255, 0.14)); } .cw-sub { margin: 8px 0 0; font-size: 13px; color: var(--bd-sub); letter-spacing: 0.02em; } .cw-stats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .cw-stat { display: flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(47, 107, 255, 0.1); box-shadow: 0 2px 12px rgba(29, 93, 206, 0.06); } .cw-stat b { font-size: 22px; font-weight: 800; color: var(--bd-blue); font-family: "JetBrains Mono", monospace; } .cw-stat i { font-style: normal; font-size: 11.5px; color: var(--bd-sub); } .cw-status { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; font-size: 12px; color: var(--bd-sub); background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(47, 107, 255, 0.12); } .cw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bd-green); box-shadow: 0 0 10px rgba(23, 178, 106, 0.5); animation: cwPulse 1.6s ease-in-out infinite; } .cw-dot.idle { background: #94a3b8; box-shadow: none; animation: none; } @keyframes cwPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } } /* 滚动墙 */ .cw-wall { flex: 1; min-height: 0; overflow: hidden; position: relative; z-index: 2; border-radius: 20px; border: 1px solid rgba(47, 107, 255, 0.1); background: rgba(255, 255, 255, 0.35); mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); } .cw-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); padding: clamp(14px, 1.4vw, 24px); animation: cwScrollY linear infinite; } .cw-wall:hover .cw-track { animation-play-state: paused; } @keyframes cwScrollY { from { transform: translateY(0); } to { transform: translateY(-50%); } } /* 企业卡片 */ .cw-card { position: relative; display: flex; gap: 16px; padding: 18px 20px 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(47, 107, 255, 0.1); border-left: 3px solid var(--ind); box-shadow: 0 3px 16px rgba(29, 93, 206, 0.06); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; break-inside: avoid; } .cw-card:hover { transform: translateY(-3px); border-color: rgba(47, 107, 255, 0.32); box-shadow: 0 10px 28px rgba(47, 107, 255, 0.12), 0 3px 16px rgba(29, 93, 206, 0.06); } .cw-idx { flex-shrink: 0; font-family: "JetBrains Mono", monospace; font-size: 30px; font-weight: 800; line-height: 1; color: var(--ind); opacity: 0.3; padding-top: 2px; min-width: 34px; text-align: center; } .cw-body { flex: 1; min-width: 0; } .cw-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .cw-name { flex: 1; min-width: 0; margin: 0; font-size: clamp(14px, 1.25vw, 18px); font-weight: 700; line-height: 1.35; color: var(--bd-ink); letter-spacing: 0.01em; } .cw-tags { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; } .cw-tag { font-size: 11px; padding: 2px 10px; border-radius: 999px; white-space: nowrap; } .cw-tag-ind { border: 1px solid transparent; font-weight: 600; } .cw-tag-zone { color: var(--bd-sub); background: rgba(148, 163, 184, 0.12); border: 1px dashed rgba(125, 143, 169, 0.45); } .cw-founder { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; margin-bottom: 10px; border-radius: 12px; background: rgba(244, 248, 253, 0.85); border: 1px solid rgba(47, 107, 255, 0.08); } .cw-avatar { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 2px 8px rgba(29, 93, 206, 0.2); } .cw-finfo { min-width: 0; } .cw-flabel { display: block; font-size: 9.5px; letter-spacing: 0.18em; color: rgba(125, 143, 169, 0.75); margin-bottom: 1px; } .cw-fname { font-size: 13.5px; font-weight: 700; color: var(--bd-ink); } .cw-fbio { margin: 2px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--bd-sub); } .cw-bio { margin: 0; font-size: 12.5px; line-height: 1.75; color: #4a5b76; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } .cw-card:hover .cw-bio { -webkit-line-clamp: unset; } .cw-foot { position: relative; z-index: 2; flex-shrink: 0; text-align: center; font-size: 11px; color: rgba(125, 143, 169, 0.7); letter-spacing: 0.04em; } /* 手势识别徽标 + 隐藏摄像头 */ .cw-vision { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 12px; color: var(--bd-sub); background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(47, 107, 255, 0.12); } .cw-vision .cw-vision-ico { font-size: 13px; filter: grayscale(1) opacity(0.7); } .cw-vision.on { border-color: rgba(23, 178, 106, 0.35); } .cw-vision.on .cw-vision-ico { filter: none; } .cw-vision-tip { color: var(--bd-green); font-weight: 600; } .cw-vision-off { color: #94a3b8; font-weight: 400; } .cw-video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } /* ============ 全局手势识别(GlobalVision) ============ */ .gv-video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } .gv-badge { position: fixed; right: 16px; bottom: 16px; z-index: 999; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 11.5px; color: var(--bd-sub); background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(47, 107, 255, 0.14); box-shadow: 0 4px 18px rgba(29, 93, 206, 0.12); backdrop-filter: blur(6px); transition: border-color 0.3s ease; } .gv-badge .gv-ico { font-size: 13px; filter: grayscale(1) opacity(0.65); } .gv-badge .gv-dot { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; } .gv-badge.on { border-color: rgba(23, 178, 106, 0.35); } .gv-badge.on .gv-ico { filter: none; } .gv-badge.on .gv-dot { background: var(--bd-green); box-shadow: 0 0 8px rgba(23, 178, 106, 0.6); animation: cwPulse 1.6s ease-in-out infinite; } .gv-badge.flash { border-color: rgba(23, 178, 106, 0.6); background: rgba(232, 250, 241, 0.95); color: #047857; transform: scale(1.05); } /* ============ 企业详情卡片(完整信息版) ============ */ .bd-twin-detail { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: linear-gradient(165deg, rgba(255,255,255,0.94), rgba(244,248,253,0.9)); border: 1px solid rgba(47, 107, 255, 0.14); border-radius: 14px; box-shadow: 0 4px 18px rgba(29, 93, 206, 0.08); } .bd-twin-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed rgba(47, 107, 255, 0.16); } .bd-twin-detail-head b { font-size: 14.5px; line-height: 1.4; color: var(--bd-ink); flex: 1; min-width: 0; } .bd-twin-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; } .bd-twin-ind { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; } .bd-twin-zone-tag { font-size: 10.5px; padding: 1px 9px; border-radius: 999px; background: rgba(125, 143, 169, 0.1); border: 1px dashed rgba(125, 143, 169, 0.4); white-space: nowrap; } /* 创始人区 */ .bd-twin-founder { display: flex; align-items: flex-start; gap: 10px; padding: 9px 11px; border-radius: 11px; background: rgba(244, 248, 253, 0.9); border: 1px solid rgba(47, 107, 255, 0.08); } .bd-twin-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 2px 8px rgba(29, 93, 206, 0.18); } .bd-twin-founder-info { min-width: 0; } .bd-twin-founder-info i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: 0.16em; color: rgba(125, 143, 169, 0.8); margin-bottom: 1px; } .bd-twin-founder-info b { font-size: 13.5px; color: var(--bd-ink); } .bd-twin-founder-info p { margin: 2px 0 0; font-size: 11px; line-height: 1.6; color: var(--bd-sub); } /* 企业简介 */ .bd-twin-bio { margin: 0; font-size: 12px; line-height: 1.8; color: #4a5b76; max-height: 108px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; } .bd-twin-bio::-webkit-scrollbar { width: 4px; } .bd-twin-bio::-webkit-scrollbar-thumb { background: rgba(47, 107, 255, 0.25); border-radius: 4px; } .bd-twin-detail-meta { display: flex; gap: 16px; padding-top: 6px; border-top: 1px dashed rgba(47, 107, 255, 0.12); font-size: 12px; color: #64748d; } .bd-twin-detail-meta b { color: var(--bd-ink); margin-left: 3px; } .bd-twin-detail-meta b.ok { color: var(--bd-green); } /* 企业详情卡片:公司名单行显示(过长自动缩小) */ .bd-twin-detail-head b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; } .bd-twin-detail-head { align-items: flex-start; } /* ============ 预设问题面板(AI 助手右侧) ============ */ .bd-prompt-side { width: 300px; height: 100%; flex-shrink: 0; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; border-left: 1px solid rgba(47, 107, 255, 0.1); background: rgba(255, 255, 255, 0.6); } .bd-prompt-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(47, 107, 255, 0.1), rgba(76, 194, 255, 0.08)); border: 1px solid rgba(47, 107, 255, 0.14); } .bd-prompt-head .appica-ico { color: #2f6bff; flex-shrink: 0; } .bd-prompt-head b { font-size: 14px; color: var(--bd-ink); } .bd-prompt-head span { margin-left: auto; font-size: 10.5px; color: var(--bd-sub); } .bd-prompt-group { display: flex; flex-direction: column; gap: 7px; } .bd-prompt-group-title { font-size: 11px; font-weight: 700; color: var(--bd-sub); letter-spacing: 0.06em; border-left: 3px solid #2f6bff; padding-left: 8px; } .bd-prompt-list { display: flex; flex-direction: column; gap: 5px; } .bd-prompt-item { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(47, 107, 255, 0.1); border-radius: 9px; background: rgba(255, 255, 255, 0.85); color: var(--bd-ink); font-size: 12.5px; text-align: left; cursor: pointer; transition: all 0.2s ease; } .bd-prompt-item:hover { border-color: #2f6bff; color: #2f6bff; background: rgba(47, 107, 255, 0.06); transform: translateX(2px); } .bd-prompt-item .appica-ico { color: #f59e0b; flex-shrink: 0; margin-right: 2px; } .bd-prompt-tools { display: flex; flex-wrap: wrap; gap: 6px; } .bd-prompt-tool { font-size: 11px; padding: 3px 10px; border-radius: 999px; color: #0e7490; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.22); } /* ============ Markdown 富文本渲染(问问小园回复) ============ */ .md-block { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; line-height: 1.7; color: var(--bd-ink); word-break: break-word; } .md-h1, .md-h2, .md-h3 { margin: 4px 0 0; font-weight: 700; line-height: 1.4; color: var(--bd-ink); } .md-h1 { font-size: 15px; } .md-h2 { font-size: 13.5px; } .md-h3 { font-size: 12.5px; } .md-p { margin: 0; } .md-li { display: flex; align-items: flex-start; gap: 6px; padding-left: 2px; } .md-dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; margin-top: 7px; background: #2f6bff; } .md-oli { color: var(--bd-ink); } .md-quote { padding: 6px 10px; border-left: 3px solid #4cc2ff; background: rgba(47, 107, 255, 0.05); border-radius: 0 8px 8px 0; color: #4a5b76; } .md-hr { border-top: 1px dashed rgba(47, 107, 255, 0.25); margin: 2px 0; } .md-pre { margin: 2px 0; padding: 8px 10px; background: #0f172a; color: #dbe7ff; border-radius: 8px; font-size: 11.5px; overflow-x: auto; } .md-table { width: 100%; border-collapse: collapse; margin: 2px 0; font-size: 12px; } .md-table th, .md-table td { border: 1px solid rgba(47, 107, 255, 0.15); padding: 5px 8px; text-align: left; } .md-table th { background: rgba(47, 107, 255, 0.08); font-weight: 700; color: var(--bd-ink); } .md-table tr:nth-child(even) td { background: rgba(244, 248, 253, 0.6); } .md-bold { font-weight: 700; color: var(--bd-ink); } .md-code { padding: 1px 5px; border-radius: 4px; background: rgba(47, 107, 255, 0.08); color: #1d4fd8; font-family: "JetBrains Mono", monospace; font-size: 11.5px; } /* ============ 手势确认弹窗(新对话确认卡片) ============ */ .bd-chat-confirm { align-self: center; display: flex; align-items: center; gap: 12px; max-width: 92%; padding: 12px 16px; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(47, 107, 255, 0.25); border-radius: 14px; box-shadow: 0 12px 34px rgba(47, 107, 255, 0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: bdOverlayIn 0.3s ease; } .bd-chat-confirm-ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-cyan)); box-shadow: 0 5px 14px rgba(47, 107, 255, 0.32); } .bd-chat-confirm-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .bd-chat-confirm-text b { font-size: 13.5px; color: var(--bd-ink); } .bd-chat-confirm-text span { font-size: 11px; color: var(--bd-sub); } .bd-chat-confirm-btn { flex-shrink: 0; padding: 7px 18px; font-size: 12.5px; font-weight: 700; border: none; border-radius: 9px; color: #fff; background: linear-gradient(140deg, var(--bd-blue), var(--bd-blue-deep)); box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3); cursor: pointer; transition: all 0.2s; } .bd-chat-confirm-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(47, 107, 255, 0.4); } .bd-chat-confirm-btn.ghost { color: var(--bd-sub); background: rgba(120, 160, 220, 0.1); border: 1px solid rgba(120, 160, 220, 0.2); box-shadow: none; } .bd-chat-confirm-btn.ghost:hover { color: var(--bd-red); background: rgba(240, 68, 56, 0.06); }