.nrmt-pvp-overlay {
  position: fixed;
  z-index: 990420;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 65px 14px 14px;
  background: #020507e8;
  backdrop-filter: blur(6px);
  color: #d9dddc;
  font-family: "Segoe UI", Arial, sans-serif;
}
.nrmt-pvp-overlay[hidden] {
  display: none;
}
.nrmt-pvp-window {
  width: min(1220px, 98vw);
  height: min(820px, 91vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #806027;
  border-radius: 5px;
  background: linear-gradient(145deg, #252b2e, #101416);
  box-shadow: 0 25px 85px #000;
}
.nrmt-pvp-window > header {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 34px;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid #634a22;
  background: linear-gradient(#3a3f40, #24292b);
}
.nrmt-pvp-window > header small {
  color: #a5aaa8;
  font-size: 8px;
  letter-spacing: 0.16em;
}
.nrmt-pvp-window > header h2 {
  margin: 3px 0 0;
  color: #efc24c;
  font:
    18px NinjaTitle,
    Georgia,
    serif;
  letter-spacing: 0.08em;
}
.nrmt-pvp-window > header nav {
  display: flex;
  gap: 4px;
}
.nrmt-pvp-window > header nav button {
  padding: 8px 15px;
  border: 1px solid #454c4e;
  background: #191e20;
  color: #8f9693;
  font-size: 8px;
  cursor: pointer;
}
.nrmt-pvp-window > header nav button.is-active {
  border-color: #b9892f;
  background: #302719;
  color: #f1c655;
  box-shadow: inset 0 -2px #e2ad39;
}
.nrmt-pvp-window > header > button {
  width: 32px;
  height: 32px;
  border: 1px solid #6c4637;
  background: #2c1c19;
  color: #e4c7b9;
  font-size: 19px;
  cursor: pointer;
}
.nrmt-pvp-window > main {
  min-height: 0;
  flex: 1;
  overflow: auto;
  background: radial-gradient(circle at 50% 10%, #2d2415, #101517 48%);
  scrollbar-color: #806028 #0d1112;
}
.nrmt-pvp-lobby {
  width: min(920px, calc(100% - 30px));
  margin: 0 auto;
  padding: 28px 0;
}
.nrmt-pvp-hero {
  display: grid;
  grid-template-columns: 1fr 110px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid #55462c;
  background: linear-gradient(130deg, #252a2b, #15191a);
  box-shadow: 0 12px 30px #0007;
}
.nrmt-pvp-hero small,
.nrmt-pvp-selected small,
.nrmt-pvp-table small,
.nrmt-pvp-history small {
  color: #c99a37;
  font-size: 8px;
  letter-spacing: 0.16em;
}
.nrmt-pvp-hero h1 {
  margin: 5px 0;
  color: #f0c451;
  font:
    30px NinjaTitle,
    Georgia,
    serif;
  letter-spacing: 0.1em;
}
.nrmt-pvp-hero p {
  max-width: 620px;
  margin: 0;
  color: #9da3a0;
  font-size: 11px;
  line-height: 1.6;
}
.nrmt-pvp-seal {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 2px solid #a12821;
  border-radius: 50%;
  color: #d64e3a;
  font:
    36px Georgia,
    serif;
  box-shadow:
    inset 0 0 0 7px #1b1d1d,
    0 0 25px #d4412233;
  transform: rotate(-7deg);
}
.nrmt-pvp-profile {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 10px;
  border: 1px solid #3c4345;
  background: #161b1d;
}
.nrmt-pvp-rank {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.nrmt-pvp-rank > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #856527;
  background: #2b2418;
  color: #e7b744;
  font:
    25px Georgia,
    serif;
}
.nrmt-pvp-rank small {
  display: block;
  color: #8f9693;
  font-size: 7px;
}
.nrmt-pvp-rank strong {
  margin-right: 10px;
  color: #f0c451;
  font-size: 23px;
}
.nrmt-pvp-rank em {
  color: #b9bfbc;
  font:
    9px NinjaTitle,
    Georgia,
    serif;
}
.nrmt-pvp-record {
  display: flex;
  align-items: stretch;
}
.nrmt-pvp-record span {
  min-width: 95px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-left: 1px solid #343a3c;
  color: #7f8784;
  font-size: 7px;
}
.nrmt-pvp-record b {
  display: block;
  color: #d9dddc;
  font-size: 18px;
}
.nrmt-pvp-selected {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #3c4345;
  background: linear-gradient(120deg, #202628, #121718);
}
.nrmt-pvp-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #795c29;
  background: radial-gradient(circle, #60451d, #141819 70%);
  color: #f1c55c;
  font:
    20px NinjaTitle,
    Georgia,
    serif;
  text-shadow: 0 2px 5px #000;
}
.nrmt-pvp-selected h3 {
  margin: 4px 0;
  color: #e8c56e;
  font:
    15px NinjaTitle,
    Georgia,
    serif;
}
.nrmt-pvp-selected p {
  margin: 0;
  color: #8f9693;
  font-size: 9px;
}
.nrmt-pvp-find {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #c08b28;
  background: linear-gradient(#d39b30, #8f6117);
  color: #16120b;
  font:
    13px NinjaTitle,
    Georgia,
    serif;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow:
    inset 0 1px #ffe18a,
    0 6px 18px #0007;
}
.nrmt-pvp-find:hover {
  filter: brightness(1.13);
}
.nrmt-pvp-find:disabled {
  filter: grayscale(1);
  cursor: not-allowed;
}
.nrmt-pvp-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.nrmt-pvp-rules span {
  padding: 12px;
  border: 1px solid #303638;
  background: #111618;
  color: #777f7c;
  font-size: 8px;
  text-align: center;
}
.nrmt-pvp-rules b {
  display: block;
  margin-bottom: 4px;
  color: #d1a842;
}
.nrmt-pvp-searching {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid #8a6828;
  background: #262116;
}
.nrmt-pvp-searching i,
.nrmt-pvp-loading i {
  width: 27px;
  height: 27px;
  border: 3px solid #55431f;
  border-top-color: #efbd46;
  border-radius: 50%;
  animation: nrmt-pvp-spin 0.8s linear infinite;
}
.nrmt-pvp-searching b {
  display: block;
  color: #efc24c;
  font-size: 10px;
}
.nrmt-pvp-searching span {
  color: #8e9491;
  font-size: 8px;
}
.nrmt-pvp-searching button {
  padding: 9px 13px;
  border: 1px solid #70403a;
  background: #2a1a18;
  color: #d9aaa2;
  font-size: 8px;
  cursor: pointer;
}
.nrmt-pvp-result {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 12px 16px;
  border: 1px solid;
}
.nrmt-pvp-result.is-win {
  border-color: #557b35;
  background: #172416;
  color: #93d061;
}
.nrmt-pvp-result.is-loss {
  border-color: #7e3934;
  background: #281716;
  color: #e17b70;
}
.nrmt-pvp-result span {
  font-size: 9px;
}
.nrmt-pvp-battle {
  padding: 18px;
}
.nrmt-pvp-round {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  color: #8d9491;
  font-size: 8px;
}
.nrmt-pvp-round strong {
  color: #efc24c;
  letter-spacing: 0.12em;
}
.nrmt-pvp-round i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6f2e2a;
}
.nrmt-pvp-round i.is-ready {
  background: #6fbb50;
  box-shadow: 0 0 10px #71d34e;
}
.nrmt-pvp-versus {
  display: grid;
  grid-template-columns: 1fr 62px 1fr;
  align-items: stretch;
}
.nrmt-pvp-versus > b {
  display: grid;
  place-items: center;
  color: #c64734;
  font:
    24px NinjaTitle,
    Georgia,
    serif;
  text-shadow: 0 0 18px #da3e2c;
}
.nrmt-pvp-fighter {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 13px;
  padding: 15px;
  border: 1px solid #485052;
  background: linear-gradient(140deg, #242a2c, #111517);
}
.nrmt-pvp-fighter.is-enemy {
  border-color: #693b34;
  background: linear-gradient(140deg, #2b1c1b, #111517);
}
.nrmt-pvp-fighter__head small {
  color: #a8905f;
  font-size: 7px;
}
.nrmt-pvp-fighter__head h3 {
  margin: 4px 0;
  color: #e9c66f;
  font:
    15px NinjaTitle,
    Georgia,
    serif;
}
.nrmt-pvp-fighter__head p {
  margin: 0;
  color: #858d89;
  font-size: 8px;
}
.nrmt-pvp-bar {
  position: relative;
  grid-column: 1/-1;
  height: 18px;
  overflow: hidden;
  border: 1px solid #303638;
  background: #080b0c;
}
.nrmt-pvp-bar span {
  display: block;
  height: 100%;
  transition: width 0.35s;
}
.nrmt-pvp-bar b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 7px;
  text-shadow: 0 1px 2px #000;
}
.nrmt-pvp-bar.is-hp span {
  background: linear-gradient(90deg, #7b241f, #c84937);
}
.nrmt-pvp-bar.is-chakra span {
  background: linear-gradient(90deg, #165c88, #2a9acb);
}
.nrmt-pvp-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.nrmt-pvp-actions button {
  min-height: 74px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: center;
  gap: 2px 6px;
  padding: 8px;
  border: 1px solid #4a5153;
  background: linear-gradient(#22282a, #14191b);
  color: #c6cbc8;
  text-align: left;
  cursor: pointer;
}
.nrmt-pvp-actions button:hover:not(:disabled) {
  border-color: #c08d2f;
  background: #2b2519;
  transform: translateY(-1px);
}
.nrmt-pvp-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.nrmt-pvp-actions span {
  grid-row: 1/3;
  align-self: center;
  color: #d9a83c;
  font:
    15px NinjaTitle,
    Georgia,
    serif;
}
.nrmt-pvp-actions b {
  font-size: 8px;
}
.nrmt-pvp-actions small {
  color: #7d8581;
  font-size: 7px;
}
.nrmt-pvp-log {
  margin-top: 10px;
  border: 1px solid #363d3f;
  background: #0d1112;
}
.nrmt-pvp-log header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #303638;
  color: #9da4a1;
  font-size: 8px;
}
.nrmt-pvp-log header button {
  padding: 6px 10px;
  border: 1px solid #673630;
  background: #261716;
  color: #c97c72;
  font-size: 7px;
  cursor: pointer;
}
.nrmt-pvp-log > div {
  max-height: 175px;
  overflow: auto;
  padding: 6px 10px;
}
.nrmt-pvp-log p {
  display: grid;
  grid-template-columns: 42px 1fr;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px dashed #2b3032;
  color: #a8aeab;
  font-size: 8px;
}
.nrmt-pvp-log time {
  color: #5f6864;
}
.nrmt-pvp-log .is-victory span {
  color: #d9b446;
}
.nrmt-pvp-table,
.nrmt-pvp-history {
  width: min(920px, calc(100% - 30px));
  margin: 22px auto;
}
.nrmt-pvp-table > header,
.nrmt-pvp-history > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #51452d;
  background: #202527;
}
.nrmt-pvp-table h2,
.nrmt-pvp-history h2 {
  margin: 4px 0 0;
  color: #efc24c;
  font:
    18px NinjaTitle,
    Georgia,
    serif;
}
.nrmt-pvp-table__head,
.nrmt-pvp-table article {
  display: grid;
  grid-template-columns: 55px 1fr 120px 100px 100px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #32393b;
  border-top: 0;
  background: #151a1c;
}
.nrmt-pvp-table__head {
  color: #6e7773;
  font-size: 7px;
}
.nrmt-pvp-table article:nth-child(odd) {
  background: #181e20;
}
.nrmt-pvp-table article strong {
  color: #c99a37;
}
.nrmt-pvp-table article b {
  color: #d9dddc;
  font-size: 10px;
}
.nrmt-pvp-table article em {
  color: #a3aaa7;
  font-size: 8px;
}
.nrmt-pvp-table article span {
  color: #8b9390;
  font-size: 9px;
}
.nrmt-pvp-table article mark {
  background: none;
  color: #efc24c;
  font-weight: bold;
}
.nrmt-pvp-history article {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #343b3d;
  border-top: 0;
  background: #151a1c;
}
.nrmt-pvp-history article > strong {
  font-size: 9px;
}
.nrmt-pvp-history article.is-win > strong {
  color: #8bc95f;
}
.nrmt-pvp-history article.is-loss > strong {
  color: #d76b61;
}
.nrmt-pvp-history article b {
  display: block;
  color: #d6d9d7;
  font-size: 9px;
}
.nrmt-pvp-history article small {
  color: #707976;
}
.nrmt-pvp-history article > span {
  color: #d9b446;
  font-size: 9px;
}
.nrmt-pvp-empty {
  padding: 40px;
  border: 1px solid #343b3d;
  color: #7d8581;
  text-align: center;
}
.nrmt-pvp-loading {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  color: #d5aa44;
  font-size: 9px;
}
.nrmt-pvp-launch__icon {
  display: grid !important;
  place-items: center;
  color: #e7b747 !important;
  font-size: 17px !important;
}
.nrmt-pvp-launch {
  border-color: #7d5c24 !important;
}
.nrmt-pvp-launch:hover {
  box-shadow: inset 0 -2px #d8a33b !important;
}
@keyframes nrmt-pvp-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 850px) {
  .nrmt-pvp-window > header nav {
    display: none;
  }
  .nrmt-pvp-profile {
    grid-template-columns: 1fr;
  }
  .nrmt-pvp-record {
    border-top: 1px solid #343a3c;
  }
  .nrmt-pvp-versus {
    grid-template-columns: 1fr;
  }
  .nrmt-pvp-versus > b {
    height: 38px;
  }
  .nrmt-pvp-actions {
    grid-template-columns: 1fr 1fr;
  }
  .nrmt-pvp-rules {
    grid-template-columns: 1fr;
  }
  .nrmt-pvp-table__head,
  .nrmt-pvp-table article {
    grid-template-columns: 35px 1fr 75px 65px;
  }
  .nrmt-pvp-table__head span:nth-child(3),
  .nrmt-pvp-table article em {
    display: none;
  }
}

.nrmt-pvp-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.nrmt-pvp-modes button {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid #3e4648;
  background: #151a1c;
  color: #858d89;
  text-align: left;
  cursor: pointer;
}
.nrmt-pvp-modes button b { font: 11px NinjaTitle, Georgia, serif; }
.nrmt-pvp-modes button span { font-size: 8px; }
.nrmt-pvp-modes button.is-active {
  border-color: #b9892f;
  background: linear-gradient(135deg, #302719, #1b1d1c);
  color: #f0c451;
  box-shadow: inset 3px 0 #d8a83c;
}
.nrmt-pvp-roster { margin-top: 10px; border: 1px solid #3c4345; background: #111618; }
.nrmt-pvp-roster > header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #343b3d; background: #1c2224; }
.nrmt-pvp-roster > header small { display: block; color: #c99a37; font-size: 7px; letter-spacing: .13em; }
.nrmt-pvp-roster > header b { color: #b8bfbc; font-size: 8px; }
.nrmt-pvp-roster > header > span { padding: 6px 9px; border: 1px solid #6f5628; color: #efc24c; font-size: 9px; }
.nrmt-pvp-roster > div { max-height: 230px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; overflow: auto; padding: 8px; }
.nrmt-pvp-roster button { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; padding: 6px; border: 1px solid #343b3d; background: #181e20; color: #adb3b0; text-align: left; cursor: pointer; }
.nrmt-pvp-roster button:hover { border-color: #76602f; }
.nrmt-pvp-roster button.is-selected { border-color: #b9892f; background: #2b2519; box-shadow: inset 2px 0 #e0ac38; }
.nrmt-pvp-roster button i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #4a5153; background: #0d1112; color: #d4a841; font: 10px NinjaTitle, Georgia, serif; }
.nrmt-pvp-roster button b { display: block; color: #dadddb; font-size: 8px; }
.nrmt-pvp-roster button small { color: #737c78; font-size: 7px; }
.nrmt-pvp-roster button em { color: #8b9390; font-size: 6px; }
.nrmt-pvp-roster button.is-selected em { color: #efc24c; }
.nrmt-pvp-team-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 3px; }
.nrmt-pvp-team-strip > span { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 5px; padding: 4px; border: 1px solid #343b3d; background: #101415; color: #89918e; }
.nrmt-pvp-team-strip > span.is-active { border-color: #b9892f; background: #282318; color: #efc24c; }
.nrmt-pvp-team-strip > span.is-ko { opacity: .35; filter: grayscale(1); }
.nrmt-pvp-team-strip b { width: 26px; height: 26px; display: grid; place-items: center; background: #090c0d; font-size: 7px; }
.nrmt-pvp-team-strip small { overflow: hidden; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 850px) {
  .nrmt-pvp-roster > div { grid-template-columns: 1fr 1fr; }
  .nrmt-pvp-modes { grid-template-columns: 1fr; }
}
