body {
    margin-top:0px;
    margin-bottom:4px;
}

header {
    grid-area:header;
    justify-self:center;
}

.tabledata {
    border:1px solid black;
    color:rgb(0, 0, 0);
    background-color:rgb(213, 213, 213);
}

.anodecoration {
    text-decoration: none;
}

.toptable {
    font-size:25px;
}

#bg {
    background-repeat: no-repeat;
    background-size: 2200px;
}
div {
    font-family: 'Times New Roman', Times, serif;
}

#main {
    /* 新增：给父容器加相对定位，作为子图片的定位基准（核心改动） */
    position: relative;
    /* 可选：设置容器宽度与底图一致，避免定位偏移 */
    width: 700px;
    margin: 0 auto;
    margin-top: 20px;
    pointer-events: none
}

#papa {
    z-index: 0;
    /* 保留底图原有宽度，与容器匹配 */
    width: 700px;
}

#a {
    position:absolute;
    top: 10px;
    left:20px;
    z-index: 1;
    pointer-events: none;
}

#b {
    position: absolute;
    top:15px;
    left:150px;
    z-index: 1;
}

#c {
    position:absolute;
    top:120px;
    left:20px;
    z-index: 1;
}

#d {
    position:absolute;
    top:130px;
    left:150px;
    z-index: 1;
}

#e {
    position:absolute;
    top:235px;
    left:15px;
    z-index: 1;
}

#f {
    position:absolute;
    top:210px;
    left:130px;
    z-index: 1;
}

#g {
    position:absolute;
    top:25px;
    left:270px;
    z-index: 1;
}

#AnotherspaceEntrance {
    position:absolute;
    top: 340px;
    left: 522px;
    z-index: 1;
    pointer-events: auto;
}