/* 基础样式设置 */
        :root {
            --primary-dark: #2d2d2d;
            --primary: #333333;
            --primary-light: #4a4a4a;
            --accent: #ffc107;
            --text-light: #f0f0f0;
            --text-dark: #2d2d2d;
            --border-color: #ddd;
            --highlight: #e74c3c;
            --disabled-bg: #f5f5f5;
            --table-hover: #f5f5f5;
        }

        .container {
            max-width: 100%;
            margin: 0 auto;
            background-color: white;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
            padding: 10px;
        }

        /* 顶部按钮和售价容器 - 所有屏幕保持在一行 */
        .header-container {
            display: flex;
            width: 100%;
            margin: 1px 0 10px 0; /* 缩小与表格的间距 */
            gap: 8px; /* 元素间距 */
        }

        .button-container {
            flex: 1; /* 占50%宽度 */
            min-width: 0; /* 允许内容收缩 */
        }

        .price-display-container {
            flex: 1; /* 占50%宽度 */
            min-width: 0; /* 允许内容收缩 */
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        /* 售价样式 - 加粗加大并添加动画 */
        .price-display {
            color: var(--highlight);
            font-weight: bold;
            font-size: 18px; /* 加大字体 */
            padding: 8px 12px;
            background-color: rgba(89, 89, 89, 0.15);
            border-radius: 4px;
            border: 1px solid rgba(231, 76, 60, 0.1);
            white-space: nowrap;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            animation: pricePulse 1s infinite alternate; /* 1秒一次的动画 */
        }

        /* 售价动画效果 */
        @keyframes pricePulse {
            from {
                transform: scale(1);
                box-shadow: 0 0 0 rgba(231, 76, 60, 0.1);
            }
            to {
                transform: scale(1.03);
                box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
            }
        }

        /* 按钮样式 */
        .button {
            padding: 8px 14px;
            font-size: 14px;
            font-weight: 500;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            width: 100%;
            justify-content: center;
        }

        .edit-btn {
            background-color: var(--accent);
            color: var(--primary-dark);
        }

        .edit-btn:hover {
            background-color: #ffd700;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        /* 表格样式 - 缩小行间距 */
        .data-table {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            font-size: 13px;
            margin-bottom: 10px;
        }

        .data-table thead {
            background-color: #f5f5f5;
            border-bottom: 2px solid #eee;
        }

        .data-table th,
        .data-table td {
            padding: 5px 5px; /* 缩小单元格内边距，减少行高 */
            border-bottom: 1px solid #f0f0f0;
        }

        .data-table th {
            text-align: left;
            font-weight: 500;
            color: var(--primary);
        }

        .data-table tr:last-child td {
            border-bottom: none;
        }

        .data-table tr:hover {
            background-color: var(--table-hover);
            transition: background-color 0.2s ease;
        }

        /* 列宽设置 */
        .label-column {
            width: 60px;
            font-weight: 500;
            white-space: nowrap;
            vertical-align: top;
            padding-top: 6px; /* 配合行高调整垂直位置 */
        }

        .value-column {
            width: calc(100% - 180px);
            padding-right: 10px;
        }

        .price-column {
            width: 120px;
            white-space: nowrap;
            text-align: right;
            padding-right: 10px;
        }

        /* 文本省略样式 */
        .truncated-text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            position: relative;
            display: block;
            width: 100%;
        }

        /* 全称提示 */
        .full-text-tooltip {
            visibility: hidden;
            background-color: var(--primary-dark);
            color: var(--text-light);
            text-align: left;
            border-radius: 4px;
            padding: 5px 8px;
            position: absolute;
            z-index: 100;
            bottom: 100%;
            left: 0;
            margin-bottom: 5px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
            max-width: 300px;
            white-space: normal;
            box-shadow: 0 3px 6px rgba(0,0,0,0.2);
        }

        .full-text-tooltip::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 10px;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: var(--primary-dark) transparent transparent transparent;
        }

        /* 图片样式与动画 */
        .product-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 6px;
            margin: 10px 0;
            border: 1px solid #eee;
            max-width: 460px;
        }

        .product-image {
            width: 100%;
            height: auto;
        }

        .product-image-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(
                to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.3) 100%
            );
            transform: skewX(-25deg);
            animation: shine 2s infinite;
        }

        @keyframes shine {
            0% { left: -100%; }
            20%, 100% { left: 125%; }
        }

        /* 特殊文本样式 */
        .blue-text { color: var(--primary-light); }
        .red-text { color: var(--highlight); font-weight: bold; }

        /* 隐藏"其他"行 */
        .hide-row {
            display: none;
        }

        /* 响应式调整 */
        @media (max-width: 600px) {
            .button {
                font-size: 13px;
                padding: 7px 10px;
            }
            
            .price-display {
                font-size: 16px; /* 小屏幕适当缩小售价字体 */
                padding: 7px 10px;
            }
            
            .data-table { font-size: 12px; }
            .label-column { width: 50px; }
            .price-column { width: 90px; }
            .value-column { width: calc(100% - 140px); }
            
            .button i {
                margin-right: 3px;
            }
        }

        /* 极小屏幕处理 */
        @media (max-width: 360px) {
            .button span {
                font-size: 12px;
            }
            
            .price-display {
                font-size: 14px;
            }
            
            .header-container {
                gap: 5px;
            }
        }

/* 全局重置与基础设置 */
        html, /* 黑灰色主题色定义 */
        :root {
            --primary-dark: #2d2d2d;
            --primary: #333333;
            --primary-light: #4a4a4a;
            --accent: #ffc107;
            --text-light: #f0f0f0;
            --text-dark: #2d2d2d;
        }

        /* 动画效果 */
        @keyframes float {
            0%, 100% { transform: translateX(0) !important; }
            50% { transform: translateX(8px) !important; }
        }

        @keyframes flash {
            0%, 100% { 
                color: var(--text-light);
                opacity: 1;
            }
            50% { 
                color: var(--accent);
                opacity: 0.8;
            }
        }

        /* 响应式调整 - 小屏手机 */
        @media (max-width: 360px) {

        }

        /* 大屏设备优化 */
        @media (min-width: 768px) {

        }

.watermark-wrapper {
        position: fixed;
        top: 50%;
        /* 【位置调整】从居中改为靠左，预留40px防止旋转后文字被裁切 */
        left: 40px; 
        /* 【关键修复】将变换原点设为左中心，确保旋转围绕左侧进行 */
        transform-origin: left center; 
        transform: translateY(-50%) rotate(-30deg);
        
        pointer-events: none;
        user-select: none;
        z-index: 100;
        white-space: nowrap;
        text-align: left; /* 多行文字左对齐 */
    }

    .watermark-line {
        display: block;
        font-size: 42px;
        font-weight: 900;
        font-family: "Microsoft YaHei", sans-serif;
        color: rgba(0, 0, 0, 0.12);
        letter-spacing: 2px;
        line-height: 1.4;
        -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
    }

    @media (max-width: 768px) {
        .watermark-wrapper {
            left: 20px; /* 移动端减少边距，避免右侧溢出 */
        }
        .watermark-line {
            font-size: 22px;
            letter-spacing: 1px;
        }
    }