/* ============ 全局重置 + rem 自适应 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 50px; } /* 375px 宽下 1rem=50px,JS 会动态调整 */
body {
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #eaf6ff url("../images/common/site-background.jpg?v=20260801") center top / 100% auto no-repeat;
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
input, button { border: none; outline: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============ PeteWrap 通用容器 ============ */
.PeteWrap {
  max-width: 550px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  margin: 0 auto;
  padding-top: 6.5rem;
  padding-bottom: 0.3rem;
}

/* ============ 底部 tabber 导航 ============ */
.tabberhide { height: 1.3rem; }
.tabber {
  height: 1.3rem;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 550px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #011533;
  z-index: 999;
  padding: 0.15rem;
}
.tabber .list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 1px solid #50526e;
  border-radius: 0.2rem;
  padding: 0.1rem 0.2rem;
}
.tabber .list .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0.02rem;
  cursor: pointer;
}
.tabber .list .item .img img {
  display: block;
  width: 0.4rem;
  height: 0.4rem;
}
.tabber .list .item .meeting-tab-icon { display:block; width:.4rem; height:.4rem; line-height:.4rem; color:#9da4b9; font-size:.29rem; text-align:center; }
.tabber .list .item .img img.meeting-nav-icon { border:1px solid rgba(236,207,137,.62); border-radius:.08rem; object-fit:cover; }
.tabber .list .item .text {
  padding-top: 0.05rem;
  line-height: 0.28rem;
  font-size: 0.2rem;
  color: #9da4b9;
}
.tabber .list .active .text { color: #3A6EDF; }
.tabber .list .active .img img {
  transform: translateY(-2002px);
  filter: drop-shadow(#3A6EDF 0 2002px);
}
.tabber .list .active .meeting-tab-icon { color:#3A6EDF; }
.tabber .list .active .img img.meeting-nav-icon { transform:none; filter:none; border-color:#f1d17f; box-shadow:0 0 .12rem rgba(241,209,127,.55); }

/* 管理员控制的强制入群警告海报 */
.warning-poster-overlay { position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; padding:.22rem; background:rgba(0,0,0,.86); isolation:isolate; }
.warning-poster-card { width:min(6.6rem,92vw); max-width:420px; overflow:hidden; border:1px solid rgba(255,83,119,.58); border-radius:.08rem; background:#080720; box-shadow:0 0 .45rem rgba(255,37,89,.38); }
.warning-poster-media { position:relative; line-height:0; }
.warning-poster-media img { display:block; width:100%; height:auto; max-height:calc(92vh - 1.2rem); object-fit:contain; background:#080720; }
.warning-poster-join { position:absolute; left:9%; right:9%; bottom:7.5%; height:12.5%; display:block; border:0; background:transparent; font-size:0; cursor:pointer; }
.warning-poster-confirm { display:block; width:calc(100% - .32rem); height:.76rem; margin:.16rem; border:1px solid rgba(90,220,255,.75); border-radius:.06rem; background:#153c88; color:#fff; font-size:.27rem; font-weight:600; letter-spacing:0; box-shadow:0 0 .18rem rgba(55,139,255,.42); }
.warning-poster-confirm:active { background:#0c2e74; }
.warning-poster-tip { display:none; margin:-.02rem .16rem .16rem; padding:.14rem; border:1px solid rgba(255,87,112,.65); background:#471329; color:#fff; font-size:.25rem; line-height:1.5; text-align:center; }
.warning-poster-tip.show { display:block; }

/* ============ 通用弹窗(layer 替代) ============ */
.layer-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer-dialog {
  width: 5rem;
  background: #fff;
  border-radius: 0.16rem;
  overflow: hidden;
  font-size: 0.26rem;
}
.layer-title {
  padding: 0.24rem;
  text-align: center;
  font-size: 0.3rem;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
}
.layer-content {
  padding: 0.4rem 0.3rem;
  text-align: center;
  color: #555;
  line-height: 1.6;
}
.layer-btns {
  display: flex;
  border-top: 1px solid #eee;
}
.layer-btns .layer-btn {
  flex: 1;
  text-align: center;
  padding: 0.24rem;
  color: #3A6EDF;
  font-size: 0.28rem;
  cursor: pointer;
}
.layer-btns .layer-btn + .layer-btn { border-left: 1px solid #eee; }
.layer-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.2rem;
  height: 1.2rem;
  background: rgba(0,0,0,0.6);
  border-radius: 0.16rem;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer-loading::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.layer-msg {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 0.2rem 0.36rem;
  border-radius: 0.12rem;
  font-size: 0.26rem;
  z-index: 99999;
  max-width: 80%;
  text-align: center;
}

/* 点击波纹 */
.btnclick { cursor: pointer; transition: opacity 0.15s; }
.btnclick:active { opacity: 0.7; }
