body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #050505;
    font-family: 'Courier New', Courier, monospace; /* 科幻终端字体 */
    user-select: none;
}

#canvas-container {
    width: 100vw;
    height: 100vh;
    display: block;
}

/* 还原 Civ-UI 风格 */
#civ-ui {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 20, 30, 0.85);
    border: 1px solid #409cff;
    box-shadow: 0 0 15px rgba(64, 156, 255, 0.3);
    padding: 15px;
    border-radius: 4px;
    color: #409cff;
    width: 280px;
    backdrop-filter: blur(4px);
    z-index: 100;
}

.header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(64, 156, 255, 0.3);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #0f0;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 5px #0f0;
}

h2 {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.metrics p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #aaddff;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

button {
    background: rgba(64, 156, 255, 0.1);
    border: 1px solid #409cff;
    color: #409cff;
    padding: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.2s;
}

button:hover {
    background: #409cff;
    color: #000;
}

.tip {
    font-size: 0.7rem;
    margin-top: 10px;
    opacity: 0.6;
    text-align: center;
}