#screen-versus {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}
.versus-bg,
.versus-id-panel {
  position: absolute;
  height: auto;
}
.versus-bg {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
#screen-versus .prep-header {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}
#screen-versus .prep-header button,
.versus-row-actions button {
  background: 0 0;
  border: 0;
  padding: 0;
  cursor: pointer;
}
#screen-versus .prep-header #btn-versus-back {
  margin-top: -5px;
}
#screen-versus .prep-header #btn-versus-back img {
  width: 205px;
  height: auto;
  display: block;
}
#screen-versus .prep-header #btn-versus-jiaocheng img {
  width: 232px;
  height: auto;
  display: block;
  margin-top: -4px;
}
.versus-id-panel {
  top: 230px;
  left: 20px;
  width: 320px;
  z-index: 5;
  transform-origin: left top;
  transform: scale(1.2);
}
.versus-id-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
.versus-id-content {
  position: relative;
  z-index: 2;
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.versus-id-title {
  width: 140px;
  height: auto;
  margin-bottom: 5px;
}
.versus-input-box {
  position: relative;
  width: 240px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.versus-input-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.versus-input-box input {
  position: relative;
  z-index: 2;
  width: 90%;
  height: 80%;
  background: 0 0;
  border: 0;
  outline: 0;
  text-align: center;
  font-size: 24px;
  color: #333;
  font-weight: 700;
}
.versus-formation-panel {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.versus-formation-title {
  position: absolute;
  top: -85px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  z-index: 3;
}
.versus-formation-frame {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
.versus-formation-content,
.versus-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.versus-formation-content {
  z-index: 2;
  padding-top: 50px;
  flex-direction: column;
}
.versus-row {
  justify-content: center;
}
.versus-row-chars {
  height: 140px;
  transform: translateY(-5px);
}
.versus-slot {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.versus-row-actions button img,
.versus-slot-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.versus-slot-bg {
  z-index: 2;
  pointer-events: none;
}
.versus-slot-inner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: scale(0.88);
}
.versus-char-img,
.versus-item-img {
  position: relative;
  z-index: 1;
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.versus-rope {
  position: absolute;
  z-index: 0;
  width: 50%;
  height: auto;
}
.versus-rope-char-1,
.versus-rope-item-1 {
  left: 50%;
  transform: translateX(-50%);
}
.versus-rope-item-1 {
  width: 30%;
}
.versus-row-items {
  height: 100px;
  transform: translateY(-5px);
}
.versus-row-items .versus-slot {
  width: 90px;
  height: 90px;
}
.versus-row-actions button {
  position: relative;
  width: 260px;
  height: 78px;
  z-index: 10;
}
#btn-versus-edit {
  transform: translate(5px, 5px);
}
#btn-versus-start {
  transform: translate(-5px, 5px);
}
.versus-row-actions button img {
  object-fit: contain;
  transform: scale(1.09);
}
.versus-btn-active,
.versus-btn-disabled {
  opacity: 0;
  transition: opacity 0.1s;
}
.versus-row-actions button:active .versus-btn-normal {
  opacity: 0;
}
.versus-row-actions button:active .versus-btn-active {
  opacity: 1;
}
.versus-row-actions button:disabled .versus-btn-normal,
.versus-row-actions button:disabled:active .versus-btn-active {
  opacity: 0;
}
.versus-row-actions button:disabled .versus-btn-disabled {
  opacity: 1;
}
.versus-row-actions button:disabled {
  pointer-events: none;
  cursor: default;
}
.versus-decoration {
  margin-top: -230px;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.versus-footer {
  position: absolute;
  bottom: -420px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 10;
}
#screen-versus.screen-intro-playing #btn-versus-back,
#screen-versus.screen-intro-playing .versus-formation-panel,
#screen-versus.screen-intro-playing .versus-id-panel {
  animation: slideInFromLeftSoft var(--screen-intro-duration) linear both;
}
#screen-versus.screen-intro-playing #btn-versus-jiaocheng {
  animation: slideInFromRightSoft var(--screen-intro-duration) linear both;
}
