canvas {
    border: 0px solid #333;
    background-color:#000000;
    display: block;
    margin: 0 auto;
    image-rendering: crisp-edges;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    background: rgba(240, 240, 240, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    align-items: center;
}

#speedSelect {
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 4px;
background: white;
transition: all 0.3s ease;
}

button {
padding: 10px 20px;
background: #4CAF50;
color: white;
border: none;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
}

button:hover {
background: #45a049;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#stats {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #101010;
    color: white;
    padding: 5px;
    font-family: monospace;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid #191919;
    z-index: 100;
}

#visitor-div {
    position: absolute;
    top: 30px;
    left: 10px;
    background: #101010;
    color: white;
    padding: 5px;
    font-family: monospace;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid #191919;
    z-index: 100;
}

#speed {
    position: absolute;
    top: 10px;
    left: 200px;
    color: white;
    padding: 5px;
    font-family: monospace;
    border-radius: 3px;
    background: rgba(40, 40, 40, 0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.fullscreen-btn {
    position: absolute;
    bottom: 200px;
    right: 200px;
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
    z-index: 100;
}

.canvas-container:hover + .fullscreen-btn,
.fullscreen-btn:hover {
    display: flex;
}

/* Essential CSS to remove all margins */
html, body {
    margin: 0;
    padding: 0;
    display: grid;
    /* overflow: hidden; */
    width: 100%;
    height: 100%;
    color:#FFFFFF;
    background-color:#000000;
}


.canvas-container {
    position: relative;
    /*width: 100%;*/
    /*height: 100%;*/
    /*width: 2550px;*/
    /*height:1440px;*/
    /* overflow: hidden; Prevents scrollbars */
    display: flex;
    justify-content: center;
    align-items: center;
}

#blank{
    width:100%;
    height:200px;
}

.link{
    margin:0 auto;
    color: white;
}

.link a {
    color: white !important; /* 强制覆盖a标签默认颜色 */
    text-decoration: none; /* 去掉下划线 */
}

#beian{
    margin: 0 auto;
    color: white;
    text-decoration: none;
}