/* ============================================================
 * mp.css — 多人对战专属样式（大厅/房间等待屏）
 * ============================================================ */

/* 大厅/等待屏容器 */
#mp-lobby {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 52px);
  padding: 30px 16px;
}

.lobby-box {
  width: 420px;
  max-width: 94vw;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  padding: 30px 32px;
  text-align: center;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .35);
}
.lobby-box h2 {
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 12px;
  color: #ffe9a8;
}
.lobby-box .tip { font-size: 13.5px; line-height: 1.9; opacity: .85; margin-bottom: 18px; }
.lobby-box .tip.small { font-size: 12px; opacity: .6; margin: 14px 0 4px; }

.frow { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; align-items: center; }
.frow.or { opacity: .5; font-size: 13px; margin: 6px 0 14px; }

#mp-lobby input {
  width: 220px;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .94);
  color: #1b2a1f;
  outline: none;
  text-align: center;
}
#mp-lobby input:focus { border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(255, 215, 106, .25); }

.room-code {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 16px;
  margin: 6px 0 16px;
  padding-left: 16px;      /* 抵消字距, 视觉居中 */
  background: linear-gradient(180deg, #fff8e0, var(--gold-1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .4));
}

.seat-list { margin: 6px 0 4px; }
.seat-list .slot {
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px dashed rgba(255, 255, 255, .25);
  opacity: .6;
}
.seat-list .slot.on {
  opacity: 1;
  border-style: solid;
  border-color: var(--gold-1);
  background: rgba(255, 215, 106, .12);
  font-weight: 700;
}

.mp-err { color: #ffb3ab; font-size: 13.5px; min-height: 18px; margin-bottom: 6px; }
.backlink { margin-top: 6px; font-size: 13px; opacity: .7; }
