/* Only room/connection controls need new markup. Gameplay uses the native scene. */
#rin-pvp {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  z-index: 5000;
  background: #0007;
  color: #27232b;
  font-size: 23rem;
}
#rin-pvp[hidden],
#rin-pvp [hidden] {
  display: none !important;
}
#rin-pvp .pvp-native-popup {
  position: absolute;
  left: 303px;
  top: 100px;
  width: 674px;
  min-height: 430px;
  box-sizing: border-box;
  padding: 25px 40px 22px;
  background: url("/source_20240722/image/ui/99_popup/po_startbg_new.png")
    no-repeat;
  background-size: 100% 100%;
  text-align: center;
}
#rin-pvp h1 {
  color: #941717;
  font-size: 35rem;
  margin: 0 0 10px;
}
#rin-pvp p {
  margin: 8px 0;
}
#rin-pvp button {
  width: 220px;
  height: 68px;
  padding: 0 12px;
  border: 0;
  background: url("/source_20240722/image/ui/1_mainmenu/mm_mainbt.png")
    no-repeat center/100% 100%;
  color: white;
  font: inherit;
  text-shadow: 1px 1px 2px black;
  cursor: pointer;
}
/* Native main-menu focus is an overlay with the same 216 × 71 canvas. */
#rin-pvp button:not(:disabled):is(:hover, :focus) {
  background-image: url("/source_20240722/image/ui/1_mainmenu/mm_mainbt_focus.png"),
    url("/source_20240722/image/ui/1_mainmenu/mm_mainbt.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  color: yellow;
}
#rin-pvp button:focus-visible {
  outline: none;
}
#rin-pvp .pvp-lobby-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
#rin-pvp #pvp-search {
  width: 280px;
  height: 92px;
}
#rin-pvp #pvp-private-menu h2 {
  margin: 12px 0 8px;
  font-size: 27rem;
}
#rin-pvp .pvp-room-note {
  font-size: 18rem;
  line-height: 1.4;
}
#rin-pvp #pvp-join-form {
  margin: 12px 0;
}
#rin-pvp button:disabled {
  opacity: 0.5;
  cursor: default;
}
#rin-pvp label {
  display: block;
  margin: 8px 0;
}
#rin-pvp input {
  width: 175px;
  height: 40px;
  font: bold 28rem monospace;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 4px;
  color: #27232b;
  background: #fff9e5;
  border: 2px solid #b39578;
}
#rin-pvp #pvp-code {
  display: block;
  font: bold 36rem monospace;
  letter-spacing: 6px;
  margin: 12px;
}
#rin-pvp #pvp-room-deck {
  font-size: 16rem;
}
#rin-pvp #pvp-error {
  font-size: 19rem;
  color: #a32626;
  min-height: 24px;
}
#rin-pvp #pvp-progress {
  font-size: 19rem;
}
