/* 自定义样式 */
body, html {
    height: 100%;
    margin: 0;
    background-color: black;
    background-repeat: no-repeat; /* 不重复 */
    background-position: center center; /* 上下左右居中 */
    background-size: auto;

}

.main-content {
    display: flex;
    height: 100%;
    position: relative; /* 添加相对定位 */
}

.loading {
    color: #D3B889;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*width: 320px;*/
    height: auto;
    z-index: 999;
    background-color: black;
    border-radius: 8px;
}

.btn-close{
  position: absolute;
  top: 3px;
  right: 3px;
  transform: translate(30%, -30%);   /* 让 × 稍稍超出角落，更美观 */
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #D3B889;
  color: black;
  opacity: 1;
  font-weight: bolder;
  font-size: 30px;
  cursor: pointer;
}

.loading-text{
    font-size: 22px;
}

.iframe-container {
    flex-grow: 1;
    height: 100%;
    position: relative; /* 添加相对定位 */
    z-index: 1; /* 确保 iframe 容器在侧边栏下方 */
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.info {
    /*width: 600px;*/
    border-radius: 10px;
    line-height: 50px;
    font-size: 26px;
    font-weight: bolder;
    margin: auto;
    color: #000;
    border: #D3B889 solid 1px;
    background-color: #D3B889;
}

.ob-btn {
    width: 280px;
    height: 50px;
    border-radius: 10px;
    line-height: 50px;
    font-size: 22px;
    padding: 0;
    margin: auto;
    color: #000;
    border: #D3B889 solid 1px;
    background-color: #D3B889;
    text-decoration: none;
}

.ob-btn-vertical {
    width: 50px;
    height: 138px;
    border-radius: 10px;
    line-height: 50px;
    font-size: 22px;
    padding: 0;
    margin: auto;
    color: #000;
    border: #D3B889 solid 1px;
    background-color: #D3B889;
    text-decoration: none;
    writing-mode: vertical-lr;
    text-align: center;
}

.ob-btn-bottom {
    width: 440px;
    height: 50px;
    border-radius: 10px;
    line-height: 50px;
    font-size: 18px;
    padding: 0;
    margin: auto;
    color: #000;
    border: #D3B889 solid 1px;
    background-color: #D3B889;
    text-decoration: none;
}

.bottom-box {
    width: auto;
    height: 60px;
    background-color: #80808026;
    z-index: 1000;
}

.ob-btn:hover, .ob-btn-vertical:hover, .ob-btn-bottom:hover {
    background-color: black;
    color: #D3B889;
}


.sidebar {
    width: 60px;
    height: auto;
    background-color: #80808026;
    overflow: hidden;
    position: absolute; /* 使用绝对定位 */
    top: 8px;
    right: 8px; /* 靠右 */
    z-index: 1000;
    display: flex;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
}





