.planet-info {
    display: none;
    position: fixed;
    left: 1%; 
    top: 25%; 
    width: 30%; 
    z-index: 1;
}

.planet-info-content {
    background-color: rgb(0, 0, 35);
    padding: 20px;
    border: 1px solid #888;
    box-shadow: 0px 0px 10px 3px rgba(255,255,0,0.5);
    color: white;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Arial', sans-serif;
    overflow-y: auto; /* For scrolling */
}

.close-btn {
    color: lightyellow;
    /* 改造：给下面的 ::after 当定位基准（用它扩大可点区域） */
    position: relative;
    float: right;
    font-size: 28px;
    font-weight: bold;
    /* 触摸端细节：去掉点击时那层半透明高亮方块、去掉 300ms 双击缩放延迟，
       连点两下也不会把 × 当文字选中 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

/* 改造：把 × 的可点区域放大到约 53×56 像素（触屏推荐的最小点击尺寸是 44×44），
   而**外观与排版完全不变**——用绝对定位的 ::after 在四边各外扩 14px：它透明、脱离
   文档流，所以 × 的视觉位置、卡片的首行排版都和原来一模一样，只是手指更容易点中。
   （伪元素产生的盒子参与命中测试，事件目标仍是 .close-btn，因此 onclick="closeInfo()"
     与脚本里的 isUiHit 判定都不受影响，也不会再穿透到下面的行星。） */
.close-btn::after {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    bottom: -14px;
    left: -14px;
}

.close-btn:hover,
.close-btn:focus {
    color: white; 
    cursor: pointer;
}

h2 {
    color: lightyellow; 
}

p {
    color: white; 
    line-height: 1.5; 
}