/* ===== 全局样式变量 ===== */
        :root {
            --bg-color: #e6e6e6;
            --land-color: #ffffff;
            --water-color: #efefef;
            --border-color: #ebebeb;
            --meridian-color: rgba(255, 255, 255, 0.8);
            --parallel-color: rgba(255, 255, 255, 0.8);
            --text-primary: #000000;
            --text-secondary: #000000;
            --border-light: #d5d5d5;
        }

        .wrapper {
            display: flex;
            flex-direction: row-reverse;
            gap: 0;
            align-items: stretch;
            background: var(--bg-color);
            width: 100vw;
            height: 86vh;
            max-width: 100%;
            max-height: 100%;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
            overflow: hidden;
            font-family: source-han-sans-simplified-c, sans-serif;
        }

        #globe {
            position: relative;
            flex: 0 0 83%;
            height: 100vh;
            background: var(--bg-color);
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        #globe svg {
            display: block;
            width: 100%;
            height: 100%;
            background: var(--bg-color);
            cursor: pointer;
        }

        .city-sidebar {
            flex: 0 0 17%;
            height: 100%;
            padding: 20px 14px 16px 14px;
            background: var(--bg-color);
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap:10px
        }
        .city-sidebar::-webkit-scrollbar {
            width: 4px;
        }
        .city-sidebar::-webkit-scrollbar-thumb {
            background: #b0b0b0;
            border-radius: 10px;
        }
        .city-sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar-list {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            overflow-x: hidden;
        }
        .sidebar-list::-webkit-scrollbar {
            width: 4px;
        }
        .sidebar-list::-webkit-scrollbar-thumb {
            background: #b0b0b0;
            border-radius: 10px;
        }
        .sidebar-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar-legend {
            flex-shrink: 0;
            padding-top: 10px;
            padding-left:10px;
            margin-top: 8px;
            display: flex;
            flex-direction: column;
        }
        .sidebar-legend .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-primary);
        }
        .sidebar-legend .legend-color {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }
        .legend-color.legend-warehouse {
            background: #2ecc71;
        }
        .legend-color.legend-office {
            background: #3498db;
        }
        .legend-color.legend-manufacture {
            background: #f1c40f;
        }
        .legend-color.legend-headquarters {
            background: #e74c3c;
        }
        .sidebar-legend .legend-label {
            font-weight: 400;
            color: var(--text-secondary);
        }

        /* 洲际标签栏：PC 端隐藏，仅手机端显示 */
        .continent-tabs {
            display: none;
        }
        .continent-tab {
            display: none;
        }

        .continent-group {
            margin-bottom: 0px;
        }
        .continent-group:last-child {
            margin-bottom: 0;
        }
        .continent-label {
            font-size: 26px;
            font-weight: 400;
            color: #555555;
            letter-spacing: 0.6px;
            text-transform: uppercase;
            padding: 4px 8px 3px 8px;
        }
        .city-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 10px;
            margin-left: 24px;
            cursor: pointer;
            transition: all 0.2s ease;
            border: aliceblue;
            background: var(--bg-color);
            width: 100%;
            text-align: left;
            font-family: inherit;
            font-size: 13px;
            color: var(--text-primary);
            border-left: 1px solid #ddd;
        }
        .city-item:hover {
            border-left: 3px solid #b0b0b0;
        }
        .city-item.active {
            font-weight: 600;
            border-left: 3px solid var(--color-primary);
        }
        .city-item.active .name {
            font-weight: 700;
            color: var(--color-primary);
        }
        .city-item .info {
            flex: 1;
            min-width: 0;
            display: flex;
            gap: 40px;
            align-items: center;
        }
        .city-item .name {
            font-size: 18px;
            line-height: 1.2;
            font-weight: 400;
            color: #666666;
        }
        .city-item .country {
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 400;
            margin-top: 0px;
            white-space: pre-line;
            line-height: 1.3;
            display: none;
        }
        .city-item .dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #cbd2de;
            flex-shrink: 0;
            transition: all 0.3s;
            display: none;
        }
        .city-item.active .dot {
            background: #2c3e50;
            box-shadow: 0 0 8px rgba(44, 62, 80, 0.2);
            display: none;
        }

        .hint {
            position: absolute;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%);
            color: #8e96a8;
            font-size: 14px;
            letter-spacing: 0.3px;
            pointer-events: none;
            z-index: 10;
            background: rgba(255, 255, 255, 0.85);
            padding: 6px 20px;
            border-radius: 40px;
            white-space: nowrap;
            transition: opacity 0.4s ease;
            backdrop-filter: blur(2px);
            border: 1px solid rgba(0, 0, 0, 0.02);
        }
        .hint.hidden {
            opacity: 0;
        }

        /* ===== 海外办事处标注 ===== */
        .office-label {
            position: absolute;
            z-index: 5;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0px;
            opacity: 0;
            transition: opacity 0.35s ease;
            pointer-events: none;
            white-space: nowrap;
        }
        .office-label.visible {
            opacity: 1;
        }

        .office-label .label-line {
            height: 1px;
            background: rgba(44, 62, 80, 0.25);
            position: relative;
            flex-shrink: 0;
            margin-bottom: 0px;
            margin-right: 0px;
        }

        .office-label .label-row {
            display: flex;
            flex-direction: row;
            align-items: stretch;
            justify-content: flex-start;
            width: 100%;
            gap: 0;
        }

        .office-label .label-card {
            background: transparent;
            backdrop-filter: none;
            color: var(--text-primary);
            border-radius: 0;
            display: inline-flex;
            flex-direction: column;
            line-height: 1.3;
            border: none;
            box-shadow: none;
            min-width: 120px;
            max-width: 240px;
            flex-shrink: 0;
            align-items: flex-start;
            justify-content: center;
            height: auto;
            min-height: 44px;
        }
        .office-label .label-card .main-name {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.4px;
            white-space: nowrap;
            color: var(--text-primary);
            margin: 15px 0px 10px 0;
        }
        .office-label .label-card .sub-info {
            font-size: 14px;
            font-weight: 400;
            opacity: 1;
            white-space: pre-line;
            line-height: 1.4;
            color: var(--text-secondary);
        }

        .office-label .label-en-wrapper {
            display: flex;
            align-items: flex-start;
            border-radius: 0 0 0 0;
            border-right: none;
            flex-shrink: 0;
            min-height: 44px;
            padding-right: 0;
            margin-left: auto;
        }
        .office-label .label-en {
            color: #ffffff;
            background: #4202DD;
            padding: 6px 12px 6px 18px;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 0.3px;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            height: auto;
            flex: 0 0 auto;
        }

        .office-label .type-badges-wrapper {
            display: flex;
            flex-direction: row;
            align-items: stretch;
            justify-content: flex-start;
            gap: 0px;
            padding-left: 0px;
            padding-right: 0px;
            flex-shrink: 0;
        }
        .office-label .type-badge {
            width: 4px;
            height: 100%;
            display: block;
            flex-shrink: 0;
        }
        .type-badge.warehouse {
            background: #2ecc71;
        }
        .type-badge.office {
            background: #3498db;
        }
        .type-badge.manufacture {
            background: #f1c40f;
        }
        .type-badge.headquarters {
            background: #e74c3c;
        }

        /* ============================================================
           ===== 手机端适配 (≤768px) — PC 端默认样式不受影响 =====
           ============================================================
           布局结构：
             · city-sidebar 固定高度(32vh)置于顶部
             · #globe 位于屏幕 15vh 处，高度 85vh，与 sidebar 重叠 15vh（=sidebar 一半高度）
             · sidebar-legend 脱离 sidebar，定位到屏幕底部
             · officeLabel 整体下移到地球下方 1/3 半径处
           ============================================================ */
        @media (max-width: 768px) {
            body {
                align-items: stretch;
            }
            .wrapper {
                position: relative;
                flex-direction: column;
                width: 100vw;
                height: 70vh;
                max-width: 100%;
                max-height: 100%;
                overflow: hidden;
            }

            /* 地球区域：定位到屏幕 15vh 起，覆盖到屏幕底部；
               这样地球与顶部 32vh 的 sidebar 在 15vh~32vh 区间重叠一半高度 */
            #globe {
                position: absolute;
                top: 5%;
                left: 0;
                width: 100%;
                height: 60vh;
                z-index: 1;
                flex: none;
                min-height: 0;
            }
            #globe svg {
                width: 100%;
                height: 100%;
            }

            /* 侧边栏：固定高度 32vh，浮在地球之上 */
            .city-sidebar {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                flex: none;
                overflow: hidden;
                padding: 8px 12px 6px 12px;
                gap: 6px;
                background: none;
                border-top: none;
                z-index: 3;
            }

            /* 城市列表：可滚动，避免内容超出 sidebar */
            .sidebar-list {
                flex: 1 1 auto;
                min-height: 0;
                overflow-y: auto;
                overflow-x: hidden;
                padding-right: 4px;
            }
            .sidebar-list::-webkit-scrollbar {
                width: 3px;
            }
            .sidebar-list::-webkit-scrollbar-thumb {
                background: #b0b0b0;
                border-radius: 10px;
            }
            .sidebar-list::-webkit-scrollbar-track {
                background: transparent;
            }

            /* 洲际标签：横向一行，当前洲高亮 */
            .continent-tabs {
                display: flex;
                flex-direction: row;
                gap: 0;
                flex-shrink: 0;
                border-bottom: 1px solid #d8d8d8;
            }
            .continent-tab {
                display: flex;
                flex: 1 1 0;
                justify-content: center;
                align-items: center;
                padding: 8px 4px;
                font-size: 16px;
                font-weight: 500;
                color: #999999;
                background: transparent;
                border: none;
                border-bottom: 3px solid transparent;
                cursor: pointer;
                font-family: inherit;
                transition: all 0.2s ease;
            }
            .continent-tab.active {
                color: #000000;
                font-weight: 700;
                border-bottom: 3px solid #4202DD;
            }

            /* 手风琴：仅当前洲下拉显示城市，其余隐藏 */
            .continent-label {
                display: none;
            }
            .continent-group {
                display: none;
                margin-bottom: 0;
            }
            .continent-group.active {
                display: block;
            }
            .city-item {
                margin-left: 14px;
                padding: 5px 8px;
                font-size: 12px;background:none;
            }
            .city-item .info {
                gap: 0;
            }
            .city-item .name {
                font-size: 14px;
                line-height: 1.25;
            }

            /* 图例：脱离 sidebar 和 wrapper 的定位上下文，
               直接固定到屏幕最底部（地球下方） */
            .sidebar-legend {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                z-index: 3;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 4px 12px;
                justify-content: center;
                padding: 6px 12px;
                padding-left: 12px;
                margin-top: 0;
                background: var(--bg-color);
                border-top: 1px solid #e0e0e0;
            }
            .sidebar-legend .legend-item {
                font-size: 12px;
                gap: 5px;
            }
            .sidebar-legend .legend-color {
                width: 9px;
                height: 9px;
            }

            /* 办事处标注：缩小尺寸适配窄屏 */
            .office-label .label-card {
                min-width: 80px;
                max-width: 62vw;
                min-height: 34px;
            }
            .office-label .label-card .main-name {
                font-size: 15px;
                margin: 6px 0 3px 0;
                letter-spacing: 0.2px;
            }
            .office-label .label-card .sub-info {
                font-size: 11px;
                line-height: 1.3;
            }
            .office-label .label-en-wrapper {
                min-height: 34px;
            }
            .office-label .label-en {
                font-size: 12px;
                padding: 4px 8px 4px 12px;
                letter-spacing: 0.2px;
            }
            .office-label .type-badge {
                width: 3px;
            }

            /* 提示：上移到 legend 上方，避免被遮挡 */
            .hint {
                font-size: 12px;
                padding: 4px 14px;
                bottom: 56px;
                border-radius: 30px;
            }
        }

        /* 横屏手机 / 小平板 适配 */
        @media (max-width: 1024px) and (orientation: landscape) and (max-height: 500px) {
            .wrapper {
                flex-direction: row-reverse;
                height: 100vh;
            }
            #globe {
                flex: 0 0 72%;
                height: 100vh;
            }
            .city-sidebar {
                flex: 0 0 28%;
                height: 100vh;
                gap: 8px;
                padding: 12px 12px 12px 12px;
            }
            .continent-label {
                font-size: 18px;
            }
            .city-item .name {
                font-size: 14px;
            }
            .office-label .label-card .main-name {
                font-size: 14px;
                margin: 4px 0 2px 0;
            }
            .office-label .label-card .sub-info {
                font-size: 10px;
            }
            .office-label .label-en {
                font-size: 11px;
                padding: 3px 7px 3px 10px;
            }
            .sidebar-legend {
                flex-direction: column;
                gap: 2px;
                padding-top: 8px;
            }
            .sidebar-legend .legend-item {
                font-size: 11px;
                gap: 6px;
            }
            .sidebar-legend .legend-color {
                width: 10px;
                height: 10px;
            }
        }

        /* ============================================================
           ===== iPad 竖屏适配 (769px ~ 1024px) =======================
           ===== 横向布局：地球左 + 侧边栏右，侧边栏稍宽 ============
           ============================================================ */
        @media (min-width: 769px) and (max-width: 1024px) {
            .wrapper {
                flex-direction: row-reverse;
                width: 100vw;
                height: 100vh;
                overflow: hidden;
            }
            #globe {
                flex: 0 0 70%;
                height: 100vh;
            }
            .city-sidebar {
                flex: 0 0 30%;
                height: 100vh;
                padding: 16px 12px 12px 12px;
                gap: 12px;
            }

            /* 洲际标签栏：显示为横向手风琴 */
            .continent-tabs {
                display: flex;
                flex-direction: row;
                gap: 0;
                flex-shrink: 0;
                border-bottom: 1px solid #d8d8d8;
            }
            .continent-tab {
                display: flex;
                flex: 1 1 0;
                justify-content: center;
                align-items: center;
                padding: 9px 4px;
                font-size: 14px;
                font-weight: 500;
                color: #999999;
                background: transparent;
                border: none;
                border-bottom: 3px solid transparent;
                cursor: pointer;
                font-family: inherit;
                transition: all 0.2s ease;
            }
            .continent-tab.active {
                color: #000000;
                font-weight: 700;
                border-bottom: 3px solid #4202DD;
            }

            /* 手风琴：当前洲展开，其余隐藏 */
            .continent-label {
                display: none;
            }
            .continent-group {
                display: none;
                margin-bottom: 0;
            }
            .continent-group.active {
                display: block;
            }
            .city-item {
                margin-left: 10px;
                padding: 6px 8px;
                font-size: 13px;
            }
            .city-item .name {
                font-size: 16px;
                line-height: 1.2;
            }

            /* 图例 */
            .sidebar-legend {
                flex-direction: column;
                gap: 4px;
                padding-top: 10px;
                padding-left: 4px;
                margin-top: 4px;
                border-top: 1px solid #e0e0e0;
            }
            .sidebar-legend .legend-item {
                font-size: 12px;
                gap: 6px;
            }
            .sidebar-legend .legend-color {
                width: 12px;
                height: 12px;
            }

            /* 标注尺寸：介于手机与 PC 之间 */
            .office-label .label-card {
                min-width: 90px;
                max-width: 50vw;
                min-height: 38px;
            }
            .office-label .label-card .main-name {
                font-size: 16px;
                margin: 8px 0 4px 0;
                letter-spacing: 0.3px;
            }
            .office-label .label-card .sub-info {
                font-size: 12px;
                line-height: 1.3;
            }
            .office-label .label-en-wrapper {
                min-height: 38px;
            }
            .office-label .label-en {
                font-size: 13px;
                padding: 5px 10px 5px 14px;
                letter-spacing: 0.2px;
            }
            .office-label .type-badge {
                width: 3px;
            }

            .hint {
                font-size: 13px;
                padding: 5px 16px;
                bottom: 16px;
                border-radius: 34px;
            }
        }

        /* ============================================================
           ===== iPad 横屏 / iPad Pro 适配 (1025px ~ 1366px) ==========
           ===== 接近 PC 布局，侧边栏略宽，字体略小 ==================
           ============================================================ */
        @media (min-width: 1025px) and (max-width: 1366px) {
            .wrapper {
                flex-direction: row-reverse;
                width: 100vw;
                height: 100vh;
                overflow: hidden;
            }
            #globe {
                flex: 0 0 85%;
                height: 100vh;
            }
            .city-sidebar {
                flex: 0 0 15%;
                height: 100vh;
                padding: 18px 12px 14px 12px;
                gap: 40px;
            }
            /* sidebar-list 不撑满，用内容高度 */
            .sidebar-list {
                flex: 0 1 auto;
                min-height: 0;
                overflow-y: auto;
                overflow-x: hidden;
            }

            /* PC 式洲名标题，字号略小 */
            .continent-tabs {
                display: none;
            }
            .continent-tab {
                display: none;
            }
            .continent-label {
                font-size: 22px;
                letter-spacing: 0.5px;
                padding: 3px 8px 2px 8px;
            }
            .city-item {
                margin-left: 18px;
                padding: 5px 8px;
            }
            .city-item .name {
                font-size: 17px;
            }

            .sidebar-legend {
                padding-top: 14px;
                padding-left: 6px;
            }
            .sidebar-legend .legend-item {
                font-size: 13px;
                gap: 8px;
            }
            .sidebar-legend .legend-color {
                width: 12px;
                height: 12px;
            }

            /* 标注尺寸：接近 PC 但略小 */
            .office-label .label-card .main-name {
                font-size: 17px;
                margin: 10px 0 6px 0;
            }
            .office-label .label-card .sub-info {
                font-size: 13px;
            }
            .office-label .label-en {
                font-size: 14px;
                padding: 5px 11px 5px 16px;
            }

            .hint {
                font-size: 13px;
                padding: 5px 18px;
                bottom: 22px;
            }
        }
        
        
        
        
        
        
        @media (min-width: 1025px) and (max-width: 1366px) {
        	.global-dis-tab .container { margin-left: calc(50% - 605px);width:1100px;}
            .global-distribution{margin-left: calc(50% - 605px);}
        }