body {
    display: flex;
    flex-direction: column;
    align-items: center; /* 居中对齐 */
    justify-content: flex-start; /* 垂直居中 */
    overflow: hidden; /* 禁用滚动 */
    touch-action: none; /* 禁用触摸滚动 */
    height: 100vh;
    margin: 0;
    background-color: #faf8ef;
}

/* 页面头标题 */
h1 {
    margin-top: 30px;
}

.agu-display {
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* 自定义下拉选择框 */
.select-container {
    position: relative;
    width: 80px;
    margin-top: 30px;

    /* 字体 */
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.selected-option {
    background: transparent;
    color: black;
    border: 2px solid black;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    transition: border-color 0.3s ease;
}

/* 箭头样式 */
.selected-option-arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* 下拉框展开状态 */
.select-container.active .selected-option-arrow {
    transform: rotate(225deg);
}

.select-container.active .selected-option {
    border-color: #2980b9;
}

/* 下拉选项样式 */
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    list-style: none;
    background: white;
    padding: 0;
    margin: 5px 0 0;
    border: 2px solid #2980b9;
    color: #333;
    display: none;
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
}

.dropdown-options li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dropdown-options li:hover {
    background: #2980b9;
    color: white;
}

/* 激活状态显示下拉选项 */
.select-container.active .dropdown-options {
    display: block;
}

/* canvas */
#canvasContainer {
    box-sizing: border-box; /* 确保 padding 不影响宽度 */
}

canvas {
    background-color: #bbada0;
    display: block;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
    width: 100%;
    height: 100%;
}