:root {
    --blue: #4f7cff;
    --red: #ff6b6b;
    --green: #21c9a5;
    --yellow: #f7b731;
    --purple: #a55eea;
    --bg: #f0f2f7;
    --card: #ffffff;
    --text: #1a1a2e;
    --muted: #888;
}

.gd_class {
    display: flex;
}

/* 按钮基础样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    height: 2.5rem;
    width: 8rem;
    margin-top: 1rem;
    border-radius: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 主要按钮 */
.btn-primary {
    background: linear-gradient(90deg, #006DFF 0%, #00A1FF 100%);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* 次要按钮 */
.btn-secondary {
    background-color: transparent;
    color: #006DFF;
    border: 2px solid #006DFF;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: rgba(0, 109, 255, 0.1);
}

/*新布局*/
.main_div {
    position: relative;
}

.main_div img {
    display: block;
}

.main_div_content {
    position: absolute;
    top: 160px;
    left: 12%;
    color: #000000;
    text-align: left;
}

.title_div {
    font-size: 1.8rem;
    font-weight: 500;
}

.title1_div {
    font-size: 3.6rem;
    font-weight: 800;
}

.subtitle_div {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 18px;
}
.container_style{
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
}
/*适配笔记本*/
@media screen and (max-width: 1600px) {
    .main_div_content {
        position: absolute;
        top: 10%;
        left: 5%;
        color: #000000;
        text-align: left;
    }

    .title_div {
        font-size: 1.6rem;
        font-weight: 500;
    }

    .title1_div {
        font-size: 3rem;
        font-weight: 800;
    }

    .subtitle_div {
        margin-top: 15px;
        margin-bottom: 50px;
        font-size: 14px;
        line-height: 1.5;
    }
}

/* 功能卡片网格 - 跨越两个模块 */
.function_grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 1200px;
    margin: 0 auto;
    margin-top: -56px;
    margin-bottom: -58px;
    position: relative;
    z-index: 1;
    padding: 0;
    box-sizing: border-box;
}

.function_card {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
}

.function_card img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    display: block;
}

.core_function_video_div {
    margin: 0 auto;
    width: 1200px;
}

.products_div {
    width: 100%;
    background: white;
}

.banner_bg {
    width: 100%;
    display: block;
}

.bee_icon {
    position: absolute;
    left: 10%;
    top: 55%;
    transform: translateY(-50%);
}

.bee_icon img {
    width: 150px;
    height: 150px;
}

/*适配笔记本*/
@media screen and (max-width: 1600px) {
    .bee_icon {
        left: 9%;
    }

    .bee_icon img {
        width: 100px;
        height: 100px;
    }
}

.banner_btns {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.banner_btns a {
    padding: 10px 30px;
    background: linear-gradient(90deg, #006DFF 0%, #00A1FF 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 24px;
    transition: opacity 0.3s;
}

.banner_btns a:hover {
    opacity: 0.9;
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

#brandTrack {
    animation: brandScroll 60s linear infinite;
}

#brandTrack:hover {
    animation-play-state: paused;
}

/* brand-item 样式 */
.brand-item {
    padding: 0 25px;
    flex-shrink: 0;
}

.brand-item img {
    height: 70px;
    width: auto;
    display: block;
}

/* 核心痛点卡片容器 */
.pain-cards-container {
    height: 258px;
    width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
}

/* 核心痛点卡片 */
.pain-card-item {
    flex: 1;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #ebebeb;
}

/* 展开状态 */
.pain-card-item.active {
    flex: 2;
}

/* 小图视图 */
.card-small-icon-only {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.1s;
}

.card-small-icon-only img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-bottom: 12px;
}

.card-small-icon-only span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 大图视图 - 纯图片，填满卡片 */
.card-large-view {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-large-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 展开状态切换 */
.pain-card-item.active .card-small-icon-only {
    opacity: 0;
}

.pain-card-item.active .card-large-view {
    opacity: 1;
}

.stats-container {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 120px;
    width: 100%;
    max-width: 900px;
}

.stat-item {
    text-align: center;
    width: 280px;
}

.stat-item-desc {
    font-size: 22px;
    color: #333;
}

/*产品优势数字*/
/* 数字行容器 - 使用 flex 实现垂直居中 */
.stat-value {
    display: flex; /* flex 布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    font-size: 48px;
    font-weight: bold;
    color: #006DFF;
    margin-bottom: 8px;
    gap: 4px; /* 箭头与数字间距 */
}

/* 箭头样式 - 加粗 */
.arrow-icon {
    width: 40px;
    height: 40px;
    color: #006DFF;
}

/* 数字样式 - 固定宽度防止抖动 */
.advantage-number {
    text-align: left;
    font-variant-numeric: tabular-nums; /* 等宽数字 */
}

.percent_sign {
    font-size: 35px;
    color: #000000;
}

/*适配笔记本*/
@media screen and (max-width: 1600px) {
    .stats-container {
        top: 31%;
        gap: 80px;
        max-width: 700px;
    }

    .stat-value {
        font-size: 36px;
    }

    .stat-item-desc {
        font-size: 18px;
    }
    .arrow-icon {
        width: 40px;
        height: 40px;
    }
}

/* 图片展示区 */
.auto_product_report_content_div {
    margin: 0 auto;
    width: 1200px;
}

/* 图片容器 */
.image-container {
    position: relative;
    background: transparent;
    border-radius: 25px;
    overflow: hidden;
    border: 6px solid #e0e0e0;
}

/* 标准高度图片容器 */
.image-container-standard {
    height: 540px;
}

/* AI导入图片容器 */
.image-container-ai-import {
    height: 494px;
}

/* 设备数据直采图片容器 */
.image-container-device {
    height: 570px;
    background: #ffffff;
}

/* AI统计分析图片容器 */
.image-container-ai-stat {
    min-height: 495px;
    background: #0a0a0f;
    border-radius: 25px;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.image-layer.default {
    z-index: 1;
}

.image-layer.detail {
    z-index: 1;
    opacity: 0;
}

/* 热区层 */
.hotspot-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

/* 热区基础样式 */
.hotspot {
    position: absolute;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hotspot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hotspot:hover::before {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 热区形状变体 */
.hotspot-rounded {
    border-radius: 4px;
}

.hotspot-rounded::before {
    border-radius: 6px;
}

/* 热区状态 */
.hotspot.hidden {
    opacity: 0;
    pointer-events: none;
}

.hotspot.show {
    opacity: 1;
    visibility: visible;
}

/* 脉冲动画效果 */
.pulse-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
    opacity: 0.8;
}

/* 设备数据直采的热区默认隐藏脉冲 */
.device-img .hotspot-2 .pulse-ring,
.device-img .hotspot-3 .pulse-ring {
    display: none;
}

/* 激活时显示脉冲 */
.device-img .hotspot-2.active .pulse-ring,
.device-img .hotspot-3.active .pulse-ring {
    display: block;
}

/* 空心圆环脉冲动画 */
.pulse-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 3px solid #00d4ff5c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-dot-anim 1.5s infinite;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6), inset 0 0 10px rgba(0, 212, 255, 0.3);
    z-index: 8;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    animation: pulse-ring-anim 1.5s infinite;
    opacity: 0.6;
}

@keyframes pulse-dot-anim {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes pulse-ring-anim {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* 设备数据直采容器 */
.device_data_collect_div {
    width: 1200px;
    margin: 0 auto;
}

.device-wrap {
    margin: 0 auto;
}

.device-main {
    max-width: 100%;
    margin: 0 auto;
}

.device-display {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
}

.device-img {
    position: relative;
}

.device-img .image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.device-img .image-layer:nth-child(1) {
    z-index: 2;
    opacity: 1;
}

.device-img .image-layer:nth-child(2),
.device-img .image-layer:nth-child(3),
.device-img .image-layer:nth-child(4) {
    z-index: 1;
    opacity: 0;
}

.device-img .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-img .hotspot-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.device-img .hotspot-2 {
    left: 650px;
    top: 104px;
    opacity: 0;
    pointer-events: none;
}

.device-img .hotspot-3 {
    left: 659px;
    top: 215px;
    opacity: 0;
    pointer-events: none;
}


/* Tooltip 上下跳动动画 */
@keyframes tooltip-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* 设备数据直采的热区默认隐藏脉冲 */
.device-img .hotspot-2 .pulse-ring,
.device-img .hotspot-3 .pulse-ring {
    display: none;
}

/* 激活时显示脉冲 */
.device-img .hotspot-2.active .pulse-ring,
.device-img .hotspot-3.active .pulse-ring {
    display: block;
}

/* 容器：居中布局，控制整体间距 */
.compatible-title {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* 左右线条：还原渐隐效果 */
.title-line {
    flex: 1;
    height: 2px;
    max-width: 400px;
}

.title-line-left {
    background: linear-gradient(to right, transparent 0%, #c0c4cc 100%);
}

.title-line-right {
    background: linear-gradient(to right, #c0c4cc 0%, transparent 100%);
}

/* 标题文字：还原字体、颜色、字间距 */
.title-text {
    font-size: 20px;
    font-weight: 500;
    color: #868a91;
    white-space: nowrap;
    letter-spacing: 2px;
}

/* 工具提示 */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    border: 1px solid rgba(0, 212, 255, 0.5);
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    animation: tooltip-bounce 1.5s ease-in-out infinite;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: rgba(0, 212, 255, 0.5) transparent transparent;
}

/* 底部 tooltip */
.tooltip-bottom {
    bottom: auto;
    top: calc(100% + 15px);
}

.tooltip-bottom::after {
    top: auto;
    bottom: 100%;
    border-width: 0 6px 6px;
    border-color: transparent transparent rgba(0, 212, 255, 0.5);
}

/* tooltip 显示/隐藏状态 */
.tooltip.show {
    opacity: 1 !important;
    visibility: visible !important;
}


/* AI导入流程交互样式 */
.ai_import_content {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.ai_import_content .display-area {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 16px;
}


.ai_import_content .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图片顶部步骤导航 */
.ai_import_content .image-step-nav {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.ai_import_content .progress-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai_import_content .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai_import_content .nav-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.ai_import_content .nav-dot.active {
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.ai_import_content .nav-dot.completed {
    background: #00d4aa;
}

.ai_import_content .step-fraction {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.ai_import_content .step-fraction span {
    color: #00d4ff;
    font-weight: 600;
}

/* 热区层 */
.ai_import_content .hotspot-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}


/* 导入成功提示框 */
.ai_import_content .success-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #006DFF;
    padding: 20px 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0, 212, 170, 0.4);
    animation: success-pop 0.5s ease;
    z-index: 50;
}

.ai_import_content .success-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.ai_import_content .success-text {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

@keyframes success-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}


/* ── Performance Container ── */
.performance-container {
    width: 1186px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ── Performance Cards Container ── */
.performance-cards {
    display: flex;
    position: relative;
    width: 100%;
    height: 688px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.card-wrapper {
    flex: 0 0 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

.card-wrapper.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
    z-index: 2;
}

#chart-card:not(.active) {
    transform: translateX(-100%);
}

/* Card 样式 */
.performance-cards .card {
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.performance-cards .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 0;
    margin-top: 35px;
}

.performance-cards .card-header .accent {
    width: 4px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.performance-cards .card-header h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.performance-cards .card-header .sub {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
}

.performance-cards .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 10px;
    height: calc(100% - 60px);
}

/* Chart 样式 */
.chart-wrap {
    height: 320px;
    flex: none;
    position: relative;
}

/* Table 样式 */
.table-scroll {
    flex: 1;
    overflow: auto;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table-scroll thead tr {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 100%);
    color: #fff;
}

.table-scroll thead th {
    padding: 13px 14px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.table-scroll thead th.left {
    text-align: left;
}

.table-scroll .th-group {
    background: #2e4a8a;
    color: #c8d8ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-scroll tbody tr {
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.15s;
}

.table-scroll tbody tr:hover {
    background: #f7f9ff;
}

.table-scroll tbody tr:last-child {
    border-bottom: none;
}

.table-scroll tbody tr.total-row {
    background: linear-gradient(90deg, #f0f4ff, #f7f4ff);
    border-top: 2px solid #dde4f8;
    font-weight: 700;
}

.table-scroll tbody tr.total-row td {
    color: #2d2d5e;
}

.table-scroll td {
    padding: 11px 14px;
    text-align: center;
    white-space: nowrap;
}

.table-scroll td.left {
    text-align: left;
}

.table-scroll td.name {
    font-weight: 600;
    color: var(--text);
}

/* Rank badge */
.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

/* Progress bar */
.bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-bg {
    flex: 1;
    height: 8px;
    background: #edf0f7;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.bar-label {
    font-size: 12px;
    font-weight: 600;
    min-width: 42px;
    text-align: right;
}

/* 颜色辅助类 */
.c-blue {
    color: var(--blue);
}

.c-red {
    color: var(--red);
}

.c-green {
    color: var(--green);
}

.c-yellow {
    color: #d4971a;
}

.c-purple {
    color: var(--purple);
}

/* KPI Strip */
.kpi-module {
    margin-bottom: 10px;
    flex-shrink: 0;
}

.kpi-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #eaecf0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.kpi-item {
    background: #fff;
    padding: 18px 16px;
    text-align: center;
    transition: background 0.2s ease;
}

.kpi-item:hover {
    background: #f8f9ff;
}

.kpi-item .kpi-label {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
    white-space: nowrap;
}

.kpi-item .kpi-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.kpi-item .kpi-unit {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

/* 图表容器布局 */
.chart-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    margin-top: 70px;
}

.table-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Tag 样式 */
.tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

/* 底部图片按钮控制器 */
.slider-controller {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    position: absolute;
    top: 25px;
    right: 10px;
    z-index: 1000;
    background: transparent;
    pointer-events: auto;
}

.image-buttons {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.image-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.image-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.image-btn.active {
    background-color: var(--blue);
    color: white;
}

.image-btn:active {
    transform: scale(0.95);
}

.image-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.left-btn {
    border-radius: 10px 0 0 10px;
}

/* 左侧按钮激活状态 - 图表视图 */
.left-btn.active {
    background: var(--blue);
}

.right-btn {
    border-radius: 0 10px 10px 0;
}

/* 右侧按钮激活状态 - 图表视图 */
.right-btn.active {
    background: var(--blue);
}

.left-btn.active img {
    filter: brightness(0) invert(1);
}

.right-btn.active img {
    filter: brightness(0) invert(1);
}

/* 设备数据直采脉冲动画 */

/* 热区样式 */
.device-img .hotspot:hover::before {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 设备数据直采tooltip基础样式 - 不强制隐藏，让JS控制显示 */
.device-img .tooltip {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.device-img .tooltip.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 关闭按钮热区样式 */
.device-img .hotspot.close-btn-hotspot {
    position: absolute;
    top: 20px;
    left: 1100px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.device-img .hotspot.close-btn-hotspot.show {
    opacity: 1;
    visibility: visible;
}

/* 关闭按钮内的 X 图标 */
.device-img .hotspot.close-btn-hotspot::before,
.device-img .hotspot.close-btn-hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 0;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

.device-img .hotspot.close-btn-hotspot::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.device-img .hotspot.close-btn-hotspot::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.device-img .hotspot.close-btn-hotspot:hover {
    background: rgba(255, 107, 107, 0.9);
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* 关闭按钮的 tooltip 位置调整 */
.device-img .hotspot.close-btn-hotspot .tooltip {
    bottom: auto;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    animation: tooltip-bounce 1.5s ease-in-out infinite;
}

.device-img .hotspot.close-btn-hotspot .tooltip::after {
    top: auto;
    bottom: 100%;
    border-width: 0 6px 6px;
    border-color: transparent transparent rgba(0, 212, 255, 0.5);
}

/* 关闭按钮样式（旧版兼容） */
.device-img .close-btn::before,
.device-img .close-btn::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #fff;
}

.device-img .close-btn::before {
    transform: rotate(45deg);
}

.device-img .close-btn::after {
    transform: rotate(-45deg);
}

.device-img .close-btn:hover {
    background: rgba(255, 107, 107, 0.8);
    border-color: #ff6b6b;
}

/* tooltip 箭头 */


/* AI统计分析容器样式 */
.ai-stat-container {
    width: 100%;
    margin: 0 auto;
}

.ai-stat-hotspot-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}


.ai-stat-hotspot-layer .pulse-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
    opacity: 0.8;
}


.ai-stat-hotspot-layer .hotspot {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.ai-stat-hotspot-layer .hotspot.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 统计分析热区位置 */
.ai-stat-hotspot-layer .hotspot-pie {
    left: 266px;
    top: 230px;
    width: 10px;
    height: 10px;
}

.ai-stat-hotspot-layer .hotspot-leftbar {
    left: 219px;
    top: 375px;
    width: 10px;
    height: 10px;
}

.ai-stat-hotspot-layer .hotspot-rightbar {
    left: 663px;
    top: 380px;
    width: 10px;
    height: 10px;
}
