body {
    background-color: #faf3e5;
    font-family: "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 600px;
    margin: 0 auto;
}
/* 帮助按钮 */
.help-button {
    position: absolute;        /* 相对于 .hand-area 定位 */
    top: 5%;                   /* 初始位置：距离容器顶部 5% */
    left: 95%;                 /* 距离左边 90%（即靠近右侧） */
    transform: translate(-50%, -50%); /* 使按钮中心对准坐标点（与 .marker 一致） */
    width: 40px;
    height: 40px;
    background-color: #b8860b;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 20;               /* 确保在标签之上（可选） */
    user-select: none;
}
.help-button:hover {
    background-color: #9e7000;
}

/* 弹窗背景 */
.help-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

/* 弹窗内容 */
.help-modal-content {
    background-color: #fef9e7;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #b8860b;
    width: 80%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    color: #5d3a1a;
}

/* 关闭按钮 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: #5d3a1a;
    text-decoration: none;
}

/* 弹窗内列表样式 */
.help-modal-content ul {
    padding-left: 20px;
}
.help-modal-content li {
    margin-bottom: 8px;
}
.hand-area {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
}
.hand-bg {
    width: 100%;
    height: auto;
    display: block;
}
.marker {
    position: absolute;
    background-color: transparent;   /* 背景透明 */
    padding: 3rpx 7rpx;
    border-radius: 30rpx;
    font-size: 12px;
    color: #3d2b1a;                  /* 稍微加深文字颜色 */
    /*border: 2rpx solid #b8860b;     8/ /* 保留边框，让文字有边界感 */
    transform: translate(-50%, -50%);
    white-space: nowrap;
    /*box-shadow: 0 1px 3px rgba(0,0,0,0.2); *//* 阴影减弱 */
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8); /* 添加浅色文字阴影，增强可读性 */
    z-index: 10;
}
.highlight {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid gold;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px gold;
    display: none;
}
button {
    background-color: #b8860b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}
.result-area, .history-area {
    margin-top: 20px;
    background-color: #fff0d4;
    border-left: 5px solid #b8860b;
    padding: 15px;
    border-radius: 8px;
}
.history-item {
    background-color: #f5e6d3;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
}