#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#overlay img {
    display: block;
    margin: 0 auto;
    max-width: 40%;
    max-height: 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/*.footer {
    height: 20px;
    background-color: red;
}*/

.footer {
  position: absolute;
  bottom: 5px;
  right: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 20px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  z-index: 10;
}

.footer--icp {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  position: absolute;
  bottom: 5%;
  left: 46%;
  align-items: center;
  text-decoration: none;
  color: grey;
}

.footer--icp p {
  margin: 0 0 0 0;
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
}

/* unvisited link */
.footer--icp p:link {
  color: grey;
}

/* visited link */
.footer--icp p:visited {
  color: white;
}

/* mouse over link */
.footer--icp p:hover {
  color: white;
}

/* selected link */
.footer--icp p:active {
  color: white;
}

.footer--icp img {
  max-height: 11px;
  height: auto;
  width: auto;
}



/* 攀岩人格弹窗 - 强制显示版 */
#climbPersonalityModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    visibility: hidden;   /* 默认隐藏，由 JS 改为 visible */
    opacity: 0;
    transition: opacity 0.3s;
}
#climbPersonalityModal.show {
    visibility: visible;
    opacity: 1;
}
.modal-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 2.2rem 2rem;
    max-width: 420px;
    width: 85%;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
    position: relative;
}
.modal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}
.modal-card p {
    margin-bottom: 1.2rem;
    opacity: 0.8;
}
.modal-link {
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    border-bottom: 1px solid #666;
    padding-bottom: 2px;
}
.modal-link:hover {
    border-bottom-color: #fff;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #fff;
}
