/* Final HUD layer: two clearly owned scores around an independent turn status. */
.street-team {
  display: none;
}
html.painted .hud-top.street-scoreboard {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 140px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  max-height: none;
  box-sizing: border-box;
}
.street-scoreboard .street-player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 100%;
}
.street-scoreboard .street-player-info {
  display: grid;
  gap: 7px;
  min-width: 0;
}
html.painted .street-scoreboard .name {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  color: #fff;
  text-align: left;
}
.street-scoreboard .street-self {
  flex-direction: row-reverse;
  justify-content: flex-start;
  border: 0;
  padding: 0;
}
.street-scoreboard .street-self .name {
  text-align: right;
}
.street-scoreboard .street-player > img {
  width: 68px;
  height: 80px;
  max-height: 100%;
  object-fit: contain;
  aspect-ratio: 768/896;
  flex: none;
}
.street-scoreboard .portrait {
  object-fit: contain;
  align-self: center;
  flex: none;
  max-height: none;
}
.street-scoreboard .count-row {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  font-size: 17px;
  color: #fff;
  position: relative;
}
.street-scoreboard .street-self .count-row {
  justify-content: flex-end;
}
.street-scoreboard .count-row img {
  width: 22px;
  height: 25px;
  object-fit: contain;
}
.street-scoreboard .count-row .num {
  min-width: 18px;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}
.street-scoreboard .count-row .king-ico {
  margin-left: 4px;
}
.street-scoreboard .count-row.active::before {
  display: none;
}
.street-scoreboard .count-row.active {
  color: #ffdc54;
}
.street-match-status {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
  border-inline: 1px solid #355886;
  padding: 4px 8px;
}
html.painted .street-scoreboard .street-match-status .status {
  white-space: normal;
  overflow: visible;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  color: #ffdc54;
  text-align: center;
}
html.painted .street-scoreboard .timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: #c9ddf7;
  padding: 0;
  margin: 0;
  border: 0;
}
.street-scoreboard .timer[hidden] {
  display: none !important;
}
.street-scoreboard .timer svg {
  width: 13px;
  height: 13px;
}
html.painted .hud-bottom.street-controls {
  display: flex !important;
  align-items: stretch;
  gap: 10px;
  padding: 0;
}
html.painted .street-controls .btn {
  min-height: 40px;
  min-width: 0;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
}
html.painted .street-controls .btn svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
@media (max-width: 599px) and (min-height: 440px) {
  html.painted .hud-top.street-scoreboard {
    grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
    gap: 4px;
    padding: 4px 6px;
  }
  .street-scoreboard .street-player,
  .street-scoreboard .street-self {
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
  .street-scoreboard .street-player-info {
    gap: 3px;
    justify-items: center;
  }
  html.painted .street-scoreboard .name,
  .street-scoreboard .street-self .name {
    font-size: 15px;
    text-align: center;
  }
  .street-scoreboard .street-player > img {
    width: 62px;
    height: 72px;
  }
  .street-scoreboard .count-row,
  .street-scoreboard .street-self .count-row {
    justify-content: center;
    gap: 3px;
    font-size: 16px;
  }
  .street-scoreboard .count-row img {
    width: 20px;
    height: 22px;
  }
  .street-scoreboard .count-row .num {
    min-width: 17px;
  }
  .street-scoreboard .count-row .king-ico {
    margin-left: 2px;
  }
  .street-match-status {
    padding: 4px;
  }
  html.painted .street-scoreboard .street-match-status .status {
    font-size: 12px;
  }
  html.painted .street-controls .btn {
    font-size: 12px;
    gap: 6px;
  }
}
@media (max-height: 439px) {
  .street-brand {
    display: none !important;
  }
  html.painted .hud-top.street-scoreboard {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 150px) minmax(0, 1fr);
    gap: 8px;
    padding: 1px 9px;
    border-radius: 11px;
  }
  .street-scoreboard .street-player,
  .street-scoreboard .street-self {
    flex-direction: row;
    gap: 6px;
  }
  .street-scoreboard .street-self {
    flex-direction: row-reverse;
  }
  .street-scoreboard .street-player-info {
    gap: 2px;
  }
  .street-scoreboard .street-player > img {
    width: 38px;
    height: 44px;
  }
  html.painted .street-scoreboard .name {
    font-size: 13px;
  }
  .street-scoreboard .count-row {
    font-size: 13px;
    gap: 3px;
  }
  .street-scoreboard .count-row img {
    width: 17px;
    height: 18px;
  }
  .street-scoreboard .count-row .num {
    min-width: 14px;
  }
  .street-scoreboard .count-row .king-ico {
    margin-left: 2px;
  }
  .street-match-status {
    padding: 0 5px;
    gap: 2px;
  }
  html.painted .street-scoreboard .street-match-status .status {
    font-size: 12px;
  }
  html.painted .street-scoreboard .timer {
    font-size: 10px;
  }
  html.painted .hud-bottom.street-controls {
    gap: 8px;
  }
  html.painted .street-controls .btn {
    min-height: 40px;
    padding: 8px;
    font-size: 12px;
    gap: 7px;
    border-radius: 9px;
  }
  html.painted .street-controls .btn svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}
/* Desktop duel: keep board geometry intact and use its existing side space. */
.street-duel > .street-player {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  padding: 8px 6px 16px;
  border: 1px solid #5075a466;
  border-radius: 20px;
  background: linear-gradient(#0c234300 25%, #0c2343df 80%);
  box-shadow: 0 5px 0 #07162d66;
  outline: 2px solid transparent;
  outline-offset: 0;
}
.street-duel > .street-player.is-active {
  outline-color: #4cc4ff;
  background: linear-gradient(#0c234300 25%, #123562ed 80%);
}
.street-duel > .street-player .portrait {
  display: block;
  max-width: 100%;
  object-fit: contain;
  flex: none;
  filter: none;
}
.street-duel > .street-player .street-local-avatar {
  width: min(260px, 100%);
  height: auto;
  max-height: 260px;
  object-fit: contain;
}
.street-duel > .street-player .street-player-info {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}
html.painted .street-duel > .street-player .name {
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1.1;
  text-align: center;
}
.street-duel > .street-player .street-team {
  display: block;
  color: #b8d0ee;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.street-duel > .street-player .count-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-weight: 1000;
  font-size: 21px;
}
.street-duel > .street-player .count-row.active {
  color: #ffdc54;
}
.street-duel > .street-player .count-row.active::before {
  display: none;
}
.street-duel > .street-player .count-row img {
  width: 28px;
  height: 31px;
  object-fit: contain;
}
.street-duel > .street-player .count-row .king-ico {
  width: 21px;
  height: 25px;
  margin-left: 12px;
}
.street-duel > .street-player .count-row .kings {
  color: #c4d6ef;
  font-size: 15px;
}
.street-duel > .street-player .count-row .num {
  font-size: 21px;
  color: inherit;
  line-height: 1.1;
  min-width: 22px;
  font-weight: 1000;
}
.street-duel > .street-player .count-row .num.kings {
  font-size: 15px;
  color: #c4d6ef;
  min-width: 14px;
}
html.painted .street-duel .hud-top.street-scoreboard {
  display: flex !important;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.street-duel .street-match-status {
  border: 1px solid #4b7fbb;
  background: #0b2048e8;
  box-shadow: 0 4px 0 #07162d;
  border-radius: 12px;
  padding: 10px 22px;
  min-width: 180px;
}
html.painted .street-duel .street-match-status .status {
  font-size: 17px;
}
/* Mirror only artwork, never player names, counts or clocks. */
.street-duel > .street-self[data-character='tito'] > .portrait,
.street-duel > .street-self[data-character='olivia'] > .portrait {
  transform: scaleX(-1);
}
.street-duel > .street-opponent[data-character='amora'] > .portrait,
.street-duel > .street-opponent[data-character='amora'] > .street-local-avatar {
  transform: scaleX(-1);
}
.street-scoreboard .count-row .num {
  font-size: inherit;
  color: inherit;
  line-height: 1.1;
}
/* Turn ownership stays visible without pulsing or changing the scoreboard geometry. */
.street-scoreboard .street-player {
  border-radius: 10px;
  outline: 2px solid transparent;
  outline-offset: 0;
  padding: 0 4px;
}
.street-scoreboard .street-player.is-active {
  outline-color: #48c5ff;
  background: #1d6abc33;
}
.street-scoreboard .street-player.is-active .portrait {
  filter: drop-shadow(0 0 3px #43c8ff99);
}
.street-scoreboard .count-row .men {
  font-size: 19px;
  font-weight: 1000;
  min-width: 22px;
}
.street-scoreboard .count-row .kings {
  font-size: 12px;
  font-weight: 800;
  min-width: 12px;
  color: #bbcee8;
}
.street-scoreboard .count-row .king-ico {
  width: 17px;
  height: 19px;
  opacity: 0.85;
}
@media (max-width: 599px) and (min-height: 440px) {
  .street-scoreboard .count-row .men {
    font-size: 18px;
  }
  .street-scoreboard .count-row .kings {
    font-size: 12px;
  }
  .street-scoreboard .count-row .king-ico {
    width: 16px;
    height: 18px;
  }
  .street-scoreboard .street-player {
    padding: 2px;
  }
}
@media (max-height: 439px) {
  .street-scoreboard .count-row .men {
    font-size: 15px;
    min-width: 18px;
  }
  .street-scoreboard .count-row .kings {
    font-size: 11px;
    min-width: 11px;
  }
  .street-scoreboard .count-row .king-ico {
    width: 14px;
    height: 16px;
  }
  .street-scoreboard .street-player {
    padding: 0 3px;
  }
}

/* End of src/street-hud.css */

/* End of assets/street-hud-D5Sf2DxV.css */
