body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100vh;
}
.container {
    display: flex;
    width: 100%;
    height: 100%;
}
.section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 2px solid #333;
    box-sizing: border-box;
}
.middle {
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid #333;
}
.title {
    text-align: center;
    font-size: 36px; /* 增加字体大小 */
    margin: 10px 0;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    width: 100%;
    text-align: center;
}
.info-grid div {
    border: 1px solid #ccc;
    padding: 10px;
}
.next-block {
    display: flex;
    justify-content: space-around;
    width: 100%;
}
.next-block canvas {
    width: 80px; /* Adjusted for 4x4 region */
    height: 80px; /* Adjusted for 4x4 region */
    background-color: #fff;
    border: 1px solid #333;
}
canvas {
    width: 360px; /* 12 blocks * 30 pixels */
    height: 660px; /* 22 blocks * 30 pixels */
    background-color: #fff;
    border: 2px solid #333;
}
#result {
    display: none;
    margin-top: 20px;
    font-size: 20px;
}
#result .winner {
    font-size: 30px; /* 增加获胜方字体大小 */
}
#startButton {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
.controls {
    text-align: center;
    margin: 10px 0;
    font-size: 16px; /* 提示信息字体大小 */
}
