/* Css for , Version=1774246037 */
 
        :root {
            --primary-blue: #0056b3; 
            --text-main: #333;
            --bg-color: #f7f9fc; 
            --module-bg: #ffffff; 
        }
        body {
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-color);
            color: var(--text-main);
            /* 防止手机端橡皮筋回弹效果 */
            overflow: hidden; 
            height: 100vh;
            display: flex;
            flex-direction: column;
        }
        header {
            padding: 15px;
            text-align: center;
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            z-index: 10;
        }
        h1 {
            font-size: 1.2rem; 
            margin: 0;
            color: var(--primary-blue);
        }
        /* 核心修改：容器改为自适应高度 */
        #canvas-container {
            flex-grow: 1; /* 占据剩余所有空间 */
            width: 100%;
            position: relative;
            background: var(--module-bg);
            touch-action: none; /* 重要：防止浏览器默认触控干扰 */
        }
        .interaction-hint {
            font-size: 12px;
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: #888;
            background: rgba(255,255,255,0.8);
            padding: 5px 12px;
            border-radius: 20px;
            border: 1px solid #eee;
            z-index: 11;
            pointer-events: none; /* 不遮挡点击 */
            white-space: nowrap;
        }
        /* 标签优化：在小屏幕上自动缩小 */
        .atom-label {
            font-size: clamp(10px, 3vw, 14px);
            color: white;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: bold;
            pointer-events: none;
        }
        .si-label { background-color: #2196F3; }
        .h-label { background-color: #888; }
        .cl-label { background-color: #28a745; }
        .css-label-renderer {
            position: absolute;
            top: 0;
            pointer-events: none;
        }
    