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

body {
    font-family: Arial, sans-serif;
    background-color: #f1faee;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 叠加在container上的自定义元素 */
#overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10; /* 确保在 Matter.js 渲染上面 */

    /* 卡片背景 */
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
    
    /* 文字样式 */
    color: #1e1e24;
}

#overlay h1 {
    color: #ff6647;
    font-size: 2em;
    margin-bottom: 20px;
}

#overlay p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#overlay #footer {
    color: #ff6647;
}