/* 1. 网页整体基础设置 */
body {
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    -webkit-user-select: none; /* 禁止选中文本 */
    user-select: none;
    -webkit-touch-callout: none; /* 禁止手机长按保存 */
}

/* 2. 图片布局与防御设置 */
img {
    display: block;          /* 消除缝隙 */
    max-width: 100%;        /* 关键：防止图片超出浏览器边界，如果浏览器比图片宽，图片按原大显示；如果浏览器比图片窄，图片自动缩小 */
    width: auto;            /* 核心：自动按比例调整宽度 */
    height: auto;           /* 核心：自动按比例调整高度，防止纵向拉伸 */
    margin: 0 auto;         /* 居中对齐 */

    /* 你的防御代码 */
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
/* 通过 src 属性精准定位这个二维码图片 */
img[src="images/gsw.jpg"] {
    width: 90px !important;
    height: 90px !important;
    max-width: none !important; /* 确保不被之前的 max-width 干扰 */
    pointer-events: none;       /* 保持防右键保护 */
}
