/* 动态光栅背景样式 */
#gratingBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none; /* 允许点击穿透，不影响游戏操作 */
    z-index: 0; /* 确保在画布之下，游戏内容之上 */
    overflow: hidden;
}

/* 光栅画布样式 */
#gratingBackground canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
