/* 合言葉の数字と振り直す釦（D-aikA・B）。面と局数・送る釦は友達の部屋と共通。 */
.vs-keypad { display: grid; justify-items: center; gap: 12px; }
.vs-slots { display: flex; gap: 10px; }
.vs-slots b {
  display: grid; place-items: center; width: 46px; height: 54px; border: var(--stroke-w) solid var(--stroke); border-radius: 12px;
  background: var(--gold); color: var(--ink); font: 700 32px/1 'Share Tech Mono', monospace;
}
.vs-slots b.is-blank { border-style: dashed; background: var(--surface); }
.vs-keys { display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; }
.vs-keys button {
  height: 42px; padding: 0; border: var(--stroke-w) solid var(--stroke); border-radius: 14px; background: var(--surface); box-shadow: 0 3px 0 var(--stroke);
  color: var(--ink); font: 700 22px/1 'Share Tech Mono', monospace; touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.vs-keys button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--stroke); }
.vs-keys button.is-plain { border: 0; background: none; box-shadow: none; color: var(--sub); font-family: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; }
.vs-pass-dice {
  width: 52px;
  padding: 0;
  border-radius: 12px;
  background: var(--gold);
}
.vs-pass-number {
  color: var(--ink);
  font: 700 min(52px, 18.5cqi)/1.1 'Share Tech Mono', monospace;
  letter-spacing: .16em;
}

/* 長い合言葉も盤幅に収める。面の高さと小さい端末の余白は versus-overlay-fit.css に従う。 */
[data-vs-overlay^="pass"] { container-type: inline-size; }

/* 入口の 2 つの釦・待っている 2 人・数字と振り直す釦（設計稿 ⑬-3）*/
.vs-pass-pick { max-width: 100%; }
.vs-pass-pick .vs-btn { display: grid; gap: 1px; padding-block: 10px; line-height: 1.4; }
.vs-pass-pick small { font-size: 11px; font-weight: 700; }
.vs-seats { display: flex; align-items: center; gap: 12px; }
.vs-seat { display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: var(--ink); }
.vs-seat i {
  display: grid; place-items: center; width: 40px; height: 40px; border: var(--stroke-w) solid var(--stroke); border-radius: 50%;
  background: var(--mino-s); font-style: normal; font-size: 18px; font-weight: 900;
}
.vs-seat.is-empty i { border-style: dashed; background: none; color: var(--muted); }
.vs-seat-dots { letter-spacing: 3px; font-weight: 900; color: var(--muted); }
.vs-pass-line { display: flex; align-items: center; gap: 12px; max-width: 100%; }
.vs-pass-line .vs-pass-dice { flex: none; display: grid; place-items: center; width: 44px; height: 44px; }
.vs-room-status:empty { display: none; }
.vs-pass-links { display: flex; align-items: center; justify-content: center; gap: 18px; }
.vs-pass-links .link-button { margin: 0; }
@media (max-width: 560px) and (max-height: 600px) {
  .vs-seat i { width: 28px; height: 28px; font-size: 14px; }
  .vs-keypad { gap: 8px; }
  .vs-slots b { height: 44px; }
  .vs-keys { gap: 6px; }
  .vs-keys button { height: 36px; }
}
/* 開始前の「友達と対戦」に添える一行。「パスワード」と探す人に、合言葉がそれだと分かるように（ご意見 11-26）*/
.vs-start .vs-btn-sub { flex-direction: column; gap: 0; line-height: 1.35; }
.vs-start .vs-btn-sub small { font-size: 11px; font-weight: 700; color: var(--sub); }
