.battle-mode-grid.is-two {
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

#view-pvp {
  display: none !important;
}
#view-pvp.active {
  display: block !important;
}

.pvp-main {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  padding: 36px 196px 24px 16px;
}
.pvp-panel {
  width: 560px;
  max-width: calc(100% - 16px);
  margin: 0;
  margin-left: 34vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pvp-table {
  flex: 1 1 auto;
  width: 560px !important;
  max-width: 100%;
  min-height: 220px;
  overflow: auto;
  border: 1px solid #444;
  border-radius: 10px;
  background: rgba(22, 22, 22, 0.88);
}
.pvp-title {
  margin: 0;
  color: #f0d78c;
  letter-spacing: 0.08em;
  font-size: 26px;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}
.pvp-toolbar {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.pvp-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #c9b27a;
  font-size: 13px;
}
.pvp-toolbar select {
  min-width: 240px;
  background: #222;
  border: 1px solid #555;
  color: #eee;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: Georgia, serif;
}
#btnPvpQueue {
  padding: 10px 16px;
  background: #2a2218;
  border: 1px solid #c9a227;
  color: #f0d78c;
  border-radius: 8px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 14px;
  white-space: normal;
  max-width: 100%;
}
#btnPvpQueue:hover {
  background: #3a3218;
}
#btnPvpQueue.is-on {
  background: #2a1515;
  border-color: #a33;
  color: #ffb0b0;
}
#pvpHubBody {
  display: flex;
  flex-direction: column;
}
.pvp-empty {
  margin: 24px;
  color: #888;
  text-align: center;
}
.pvp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2a2a;
}
.pvp-av {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #111;
  border: 1px solid #555;
  overflow: hidden;
  flex-shrink: 0;
}
.pvp-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pvp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pvp-info strong {
  color: #eee;
}
.pvp-meta {
  color: #888;
  font-size: 12px;
}
.pvp-defy {
  padding: 8px 14px;
  background: #2a2218;
  border: 1px solid #c9a227;
  color: #f0d78c;
  border-radius: 6px;
  cursor: pointer;
  font-family: Georgia, serif;
}
.pvp-defy:hover {
  background: #3a3218;
}
.pvp-defy.is-on {
  background: #2a1515;
  border-color: #a33;
  color: #ffb0b0;
}
.pvp-you {
  color: #888;
  font-size: 12px;
  min-width: 48px;
  text-align: right;
}
#pvpIncoming {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#pvpIncoming[hidden] {
  display: none !important;
}
.pvp-incoming-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #1c1810;
  border: 1px solid #c9a227;
  border-radius: 8px;
  padding: 10px 12px;
}
.pvp-incoming-line p {
  flex: 1;
  margin: 0;
  color: #f0d78c;
}
.pvp-yes,
.pvp-no {
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: bold;
}
.pvp-yes {
  background: #1a2a1a;
  border: 1px solid #3a3;
  color: #6e6;
}
.pvp-no {
  background: #2a1515;
  border: 1px solid #a33;
  color: #f66;
}
.pvp-incoming-line.is-match {
  border-color: #555;
}
.pvp-incoming-line.is-match p {
  color: #ccc;
}