.pvp-setup {
  padding: 22px;
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pvp-setup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.pvp-setup-top h2 {
  font:
    800 25px Manrope,
    var(--font);
  letter-spacing: -0.7px;
  margin: 7px 0;
}
.pvp-setup-top p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.pvp-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pvp-team-card {
  background: #f7f7ef;
  padding: 22px;
}
.pvp-team-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.pvp-seat-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e8dfb8;
  color: #8d7944;
  font:
    800 16px Manrope,
    var(--font);
}
.pvp-team-second .pvp-seat-number {
  background: #d9e6e4;
  color: #638b90;
}
.pvp-team-card h2 {
  font-size: 15px;
  margin-top: 6px;
}
.pvp-team-card label {
  margin-bottom: 7px;
}
.pvp-team-cost {
  font-size: 11px;
  color: #748866;
  margin-top: 12px;
}
.pvp-team-cost.invalid,
.pvp-error {
  color: #a76039;
}
.pvp-team-card > p {
  font-size: 10px;
  line-height: 1.65;
  color: #96a087;
  margin: 12px 0 0;
}
.pvp-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 23px 3px;
  margin-top: 2px;
}
.pvp-how b {
  font-size: 11px;
  color: #607650;
}
.pvp-how p {
  font-size: 11px;
  line-height: 1.65;
  color: #929d84;
  margin: 6px 0 0;
}
.pvp-setup-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 19px;
  border-top: 1px solid #e5e9da;
}
.pvp-setup-bottom p {
  font-size: 10px;
  line-height: 1.6;
  color: #94a087;
  max-width: 420px;
  margin: 0;
}
.pvp-error {
  font-size: 12px;
  line-height: 1.6;
}
.pvp-scoreboard {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffef9;
  padding: 16px 22px;
}
.pvp-seat-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 13px;
  align-items: center;
}
.pvp-seat-score > span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9d9f80;
  grid-column: 1;
}
.pvp-seat-score > b {
  font-size: 13px;
  grid-column: 1;
  overflow-wrap: anywhere;
}
.pvp-seat-score > strong {
  font:
    800 30px Manrope,
    var(--font);
  color: #657a50;
  grid-column: 2;
  grid-row: 1/3;
}
.pvp-seat-two > strong {
  color: #668f97;
}
.pvp-seat-two > span {
  color: #8ba3a3;
}
.pvp-score-center {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}
.pvp-score-center > span {
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #98a084;
}
.pvp-score-center > b {
  font-size: 13px;
}
.pvp-score-center > small {
  font-size: 10px;
  color: #8e9a7e;
}
.pvp-handoff {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f4f5ed;
  border: 1px solid #e1e5d7;
  border-radius: 14px;
  margin-top: 18px;
  text-align: center;
  padding: 35px 22px;
}
.pvp-handoff-mark {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  background: #e8ecd8;
  border: 1px solid #dde5c9;
  color: #819865;
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 19px;
}
.pvp-handoff h2 {
  font:
    800 29px Manrope,
    var(--font);
  letter-spacing: -0.8px;
  margin: 9px 0 13px;
}
.pvp-handoff p {
  font-size: 13px;
  line-height: 1.8;
  color: #819075;
  margin: 0 0 23px;
}
.pvp-handoff > small {
  font-size: 10px;
  color: #a0aa93;
  margin-top: 16px;
}
.pvp-both-ready .pvp-handoff-mark {
  background: #e5e7cb;
  color: #8b8e54;
}
.pvp-private-banner,
.pvp-shared-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 3px;
  color: #768b65;
  font-size: 10px;
}
.pvp-private-banner b,
.pvp-shared-banner b {
  font-size: 11px;
  white-space: nowrap;
}
.pvp-private-banner > span,
.pvp-shared-banner > span {
  color: #93a083;
  font-size: 10px;
  line-height: 1.5;
}
.pvp-private-banner button {
  margin-left: auto;
  white-space: nowrap;
}
.pvp-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 20px;
  align-items: start;
}
.pvp-arena {
  min-width: 0;
  background: #132f28;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px #142d2512;
}
.pvp-field-toolbar {
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b2c29e;
  border-bottom: 1px solid #315044;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}
.pvp-field-toolbar > span:last-child {
  font-size: 11px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: #d0dbbd;
}
.pvp-field-wrap {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #27513d, #17392e);
}
.pvp-field-wrap svg {
  display: block;
  width: 100%;
  touch-action: none;
  user-select: none;
}
.pvp-legend {
  position: absolute;
  bottom: 15px;
  left: 25px;
  right: 25px;
  display: flex;
  gap: 17px;
  color: #acbe98;
  font-size: 8px;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.pvp-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pvp-legend > span:last-child {
  margin-left: auto;
  color: #84a076;
  font-size: 8px;
}
.pvp-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #f6d477;
}
.pvp-legend > span:nth-child(2) i {
  background: #8bd0ec;
}
.pvp-transport {
  padding: 16px 20px 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #35533c;
  flex-wrap: wrap;
}
.pvp-transport .button {
  font-size: 12px;
}
.pvp-transport > span {
  font-size: 10px;
  color: #a5b592;
  line-height: 1.6;
  flex: 1;
  min-width: 130px;
}
.pvp-field-note {
  font-size: 10px;
  color: #9bb08a;
  line-height: 1.65;
  margin: 0;
  padding: 0 22px 17px;
}
.pvp-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.pvp-editor .panel {
  padding: 18px;
}
.pvp-editor select {
  font-size: 12px;
}
.pvp-player-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}
.pvp-player-heading > span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6d477;
  color: #425137;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.pvp-player-heading > span.blue {
  background: #8bd0ec;
}
.pvp-player-heading b {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.pvp-player-heading small {
  font-size: 10px;
  color: #93a087;
  display: block;
  margin-top: 4px;
}
.pvp-abilities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.pvp-abilities b {
  font:
    700 19px Manrope,
    var(--font);
  display: block;
  color: #536d45;
}
.pvp-abilities small {
  font-size: 7px;
  line-height: 1.4;
  text-transform: uppercase;
  display: block;
  color: #9da58e;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.pvp-player-controls > label {
  margin-bottom: 12px;
}
.pvp-player-controls output {
  float: right;
  font-size: 10px;
  color: #8c9b7c;
}
.pvp-player-controls input {
  margin-top: 12px;
}
.pvp-control-row {
  display: flex;
  gap: 7px;
}
.pvp-editor .assignment-note {
  font-size: 10px;
}
.pvp-coach {
  margin-top: 18px;
  padding: 20px;
}
.pvp-coach-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pvp-coach-options > button {
  text-align: left;
  padding: 14px;
  border: 1px solid #e0e6d3;
  border-radius: 8px;
  background: #f7f8ef;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
}
.pvp-coach-options > button:hover {
  background: #eef2e3;
  border-color: #b5c69d;
}
.pvp-coach-options > button > span {
  font:
    800 11px Manrope,
    var(--font);
  color: #9fac89;
  margin-bottom: 9px;
}
.pvp-coach-options b {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 7px;
}
.pvp-coach-options small {
  font-size: 10px;
  line-height: 1.6;
  color: #849574;
}
.pvp-coach-options em {
  font-size: 9px;
  color: #8c9c7b;
  font-style: normal;
  margin-top: auto;
  padding-top: 12px;
}
.pvp-end-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 17px 3px;
  color: #a0aa92;
  font-size: 9px;
}
.pvp-end-row button {
  font-size: 10px;
}
.pvp-end-confirm {
  padding: 16px;
  background: #f6efe2;
  border: 1px solid #e7d9bc;
  border-radius: 9px;
  margin-bottom: 16px;
}
.pvp-end-confirm p {
  font-size: 12px;
  color: #957947;
  margin: 0 0 12px;
}
.pvp-end-confirm .button {
  font-size: 11px;
  margin-right: 7px;
  padding: 9px 12px;
}
.pvp-result-overlay {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(330px, 82%);
  padding: 23px;
  background: #f9f8edf0;
  backdrop-filter: blur(8px);
  border: 1px solid #fff9;
  border-radius: 12px;
  box-shadow: 0 12px 32px #061e2844;
  text-align: center;
  pointer-events: none;
}
.pvp-result-overlay h3 {
  font:
    800 26px Manrope,
    var(--font);
  letter-spacing: -0.7px;
  color: #365536;
  margin: 9px 0;
}
.pvp-result-overlay p {
  font-size: 11px;
  line-height: 1.65;
  color: #7f906d;
  margin: 0;
}
.pvp-result-overlay > b {
  display: block;
  margin-top: 11px;
  font:
    700 17px Manrope,
    var(--font);
  color: #637e4f;
}
.pvp-result-overlay > small {
  display: block;
  font-size: 11px;
  margin-top: 10px;
  color: #6d845b;
}
.pvp-revealed-call {
  border-bottom: 1px solid #e7ebdc;
  padding: 0 0 13px;
  margin-bottom: 13px;
}
.pvp-revealed-call > span {
  display: block;
  font-size: 9px;
  color: #a0aa90;
  margin-bottom: 5px;
}
.pvp-revealed-call b {
  font-size: 13px;
  color: #637b51;
  display: block;
}
.pvp-revealed-call small {
  font-size: 10px;
  color: #94a184;
  display: block;
  margin-top: 6px;
}
.pvp-log {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pvp-log li {
  display: flex;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #e7ecdc;
  font-size: 10px;
  line-height: 1.65;
  color: #7c8e6d;
}
.pvp-log li:first-child {
  border-top: 0;
}
.pvp-log time {
  font-size: 9px;
  color: #9da98e;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1200px) {
  .pvp-workspace {
    grid-template-columns: minmax(0, 1fr) 322px;
  }
}
@media (max-width: 1050px) {
  .pvp-workspace {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 14px;
  }
  .pvp-scoreboard {
    gap: 14px;
    padding: 16px;
  }
  .pvp-seat-score > b {
    font-size: 12px;
  }
  .pvp-score-center > b {
    font-size: 11px;
  }
  .pvp-score-center > span {
    font-size: 7px;
  }
  .pvp-coach-options b {
    font-size: 11px;
  }
  .pvp-transport > span {
    flex-basis: 100%;
  }
}
@media (max-width: 800px) {
  .pvp-workspace {
    grid-template-columns: 1fr;
  }
  .pvp-editor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .pvp-scoreboard {
    grid-template-columns: 1fr 1fr;
  }
  .pvp-score-center {
    grid-row: 2;
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
  }
  .pvp-score-center > span {
    display: none;
  }
  .pvp-setup-top {
    align-items: flex-start;
  }
  .pvp-setup-top .button {
    font-size: 10px;
    white-space: normal;
    text-align: center;
    max-width: 130px;
  }
  .pvp-team-grid {
    gap: 12px;
  }
  .pvp-team-card {
    padding: 18px;
  }
  .pvp-transport > span {
    flex-basis: auto;
  }
  .pvp-handoff {
    min-height: 350px;
  }
  .pvp-coach-options {
    gap: 8px;
  }
  .pvp-private-banner {
    flex-wrap: wrap;
  }
  .pvp-private-banner > span {
    order: 3;
    flex: 1 1 100%;
  }
  .pvp-private-banner button {
    margin-left: auto;
  }
}
@media (max-width: 540px) {
  .pvp-setup {
    padding: 18px;
  }
  .pvp-setup-top {
    gap: 12px;
    margin-bottom: 20px;
  }
  .pvp-setup-top h2 {
    font-size: 23px;
  }
  .pvp-setup-top p {
    font-size: 11px;
  }
  .pvp-team-grid {
    grid-template-columns: 1fr;
  }
  .pvp-team-card-top {
    margin-bottom: 15px;
  }
  .pvp-team-card {
    padding: 17px;
  }
  .pvp-team-card h2 {
    font-size: 14px;
  }
  .pvp-how {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }
  .pvp-how p {
    margin-top: 4px;
  }
  .pvp-setup-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .pvp-setup-bottom .button {
    width: 100%;
    font-size: 12px;
  }
  .pvp-scoreboard {
    padding: 14px;
    gap: 12px;
  }
  .pvp-seat-score > b {
    font-size: 11px;
  }
  .pvp-seat-score > strong {
    font-size: 25px;
  }
  .pvp-seat-score > span {
    font-size: 7px;
  }
  .pvp-score-center > b {
    font-size: 11px;
  }
  .pvp-score-center > small {
    font-size: 9px;
  }
  .pvp-handoff {
    min-height: 340px;
    margin-top: 13px;
    padding: 28px 18px;
  }
  .pvp-handoff h2 {
    font-size: 25px;
  }
  .pvp-handoff p {
    font-size: 12px;
  }
  .pvp-handoff > small {
    font-size: 9px;
  }
  .pvp-handoff .button {
    font-size: 12px;
  }
  .pvp-editor {
    display: flex;
  }
  .pvp-editor .panel {
    padding: 18px;
  }
  .pvp-editor select {
    font-size: 14px !important;
  }
  .pvp-abilities b {
    font-size: 24px;
  }
  .pvp-abilities small {
    font-size: 9px;
  }
  .pvp-editor .assignment-note {
    font-size: 11px;
  }
  .pvp-private-banner,
  .pvp-shared-banner {
    padding: 13px 3px;
    gap: 7px;
  }
  .pvp-shared-banner {
    flex-wrap: wrap;
  }
  .pvp-shared-banner > span {
    font-size: 9px;
  }
  .pvp-field-toolbar {
    padding: 14px;
    font-size: 8px;
  }
  .pvp-transport {
    padding: 13px 13px 10px;
  }
  .pvp-transport .button {
    font-size: 11px;
    padding: 12px;
  }
  .pvp-field-note {
    padding: 0 14px 14px;
  }
  .pvp-legend {
    left: 18px;
    right: 18px;
    gap: 14px;
  }
  .pvp-coach {
    padding: 18px;
  }
  .pvp-coach-options {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .pvp-coach-options > button {
    padding: 13px;
  }
  .pvp-coach-options b {
    font-size: 12px;
  }
  .pvp-coach-options small {
    font-size: 11px;
  }
  .pvp-coach-options > button > span {
    margin-bottom: 6px;
  }
  .pvp-end-row {
    font-size: 8px;
  }
  .pvp-result-overlay h3 {
    font-size: 23px;
  }
}
