* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #FFFFFF;  /* 白色背景 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
}

/* 重播按钮 */
.controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.replay-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.replay-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 600px) {
    .controls {
        bottom: 20px;
    }

    .replay-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}
