/* 1. 禁用文本选择 */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 2. 打印保护：打印时隐藏整个页面或显示空白 */
@media print {
    body {
        display: none !important;
    }
}

/* 3. 允许输入框等交互元素 */
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 4. 移动端防长按选中/弹出菜单 */
* {
    -webkit-touch-callout: none;
    /* iOS Safari */
}