/* Player desk: fixed profile/navigation, independently scrolling data workspace. */
.player-dialog.desk-workspace {
  width: min(1440px, 97vw);
  height: min(940px, 94svh);
  max-height: 94svh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #435749;
  border-radius: 14px;
  background: #101b16;
  color: #e7eee5;
  box-shadow: 0 30px 100px #0008;
}
.desk-workspace #modal-body,
.desk-workspace #player-desk {
  height: 100%;
  max-width: none;
  padding: 0;
}
.desk-workspace #player-desk.desk-app {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.player-dialog.desk-workspace > .close {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 32px;
  height: 32px;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 22px;
  background: #203027;
  z-index: 15;
}
.desk-workspace .desk-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 84px;
  padding: 12px 70px 12px 26px;
  margin: 0;
  border-bottom: 1px solid #2c3d32;
  background: #15231c;
  position: relative;
}
.desk-workspace .desk-identity {
  flex: 1;
  gap: 14px;
}
.desk-workspace .desk-avatar {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid #607954;
  font-size: 25px;
}
.desk-workspace .desk-header .desk-eyebrow {
  display: none;
}
.desk-workspace .desk-header h2 {
  margin: 4px 0;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.desk-workspace .desk-eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.desk-workspace .desk-account-id {
  display: inline;
  margin-left: 9px;
  font-size: 10px;
  color: #7f9788;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.desk-workspace .desk-connected {
  font-size: 10px;
  color: #b7ce98;
}
.desk-workspace button,
.desk-workspace select,
.desk-workspace input {
  font-family: inherit;
}
.player-dialog.desk-workspace input:not([type="range"]):not([type="color"]) {
  background: #15271b;
  color: #dbe8ce;
  border: 1px solid #314b33;
}
.desk-workspace button:focus-visible,
.desk-workspace input:focus-visible,
.desk-workspace select:focus-visible,
.desk-workspace summary:focus-visible {
  outline: 2px solid #c0d69a;
  outline-offset: 3px;
}
.desk-workspace .desk-header > button,
.desk-workspace .desk-change-player > summary {
  font-size: 12px;
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid #3b5142;
  border-radius: 6px;
  color: #c2d0bd;
  background: #203227;
  cursor: pointer;
}
.desk-workspace #account-logout {
  order: 4;
  background: transparent;
  color: #94aa98;
}
.desk-change-player {
  position: relative;
  order: 3;
}
.desk-change-player > summary {
  list-style: none;
}
.desk-change-player > summary::-webkit-details-marker {
  display: none;
}
.desk-workspace .desk-change-player .desk-player-search {
  position: absolute;
  right: 0;
  top: 35px;
  width: 330px;
  max-width: 85vw;
  background: #1c3024;
  padding: 18px;
  border: 1px solid #4c664f;
  box-shadow: 0 15px 30px #0006;
  border-radius: 9px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 8px 0;
}
.desk-workspace .desk-change-player .desk-player-search label {
  max-width: none;
  font-size: 11px;
}
.desk-workspace .desk-change-player input {
  padding: 10px;
  font-size: 13px;
}
.desk-workspace .desk-change-player button {
  padding: 10px;
  font-size: 12px;
}
.desk-app-layout {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 0;
  flex: 1;
}
.desk-sidebar {
  display: flex;
  flex-direction: column;
  background: #132019;
  border-right: 1px solid #2a3d30;
  padding: 28px 12px 20px;
  min-height: 0;
}
.desk-side-label {
  padding: 0 16px 15px;
  font-size: 10px;
  color: #77927e;
  letter-spacing: 2px;
}
.desk-workspace .desk-tabs {
  display: flex;
  flex-direction: column;
  border: 0;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: none;
  position: static;
}
.desk-workspace .desk-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 7px;
  padding: 13px 16px;
  text-align: left;
  font-size: 13px;
  color: #9db19d;
  white-space: nowrap;
  background: transparent;
}
.desk-workspace .desk-tabs button > span {
  font-size: 20px;
  line-height: 20px;
  width: 20px;
  text-align: center;
  color: #7f9a82;
}
.desk-workspace .desk-tabs button.selected {
  background: #2a402c;
  color: #d8eab3;
  border: 0;
  box-shadow: inset 3px 0 #c3dc96;
}
.desk-workspace .desk-tabs button.selected > span {
  color: #c4de9f;
}
.desk-side-note {
  margin-top: auto;
  padding: 20px 12px 0;
  border-top: 1px solid #293d2f;
  color: #b0c1a6;
  font-size: 10px;
  line-height: 2;
}
.desk-side-note > i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #abc984;
  border-radius: 50%;
  margin-right: 5px;
}
.desk-side-note small {
  color: #6e8976;
  font-size: 9px;
}
.desk-main {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 26px 30px 30px;
  scrollbar-width: thin;
  scrollbar-color: #46603e transparent;
  scroll-behavior: auto;
}
.desk-view-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.desk-view-title > div > span {
  display: none;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #839781;
}
.desk-workspace .desk-view-title h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 7px 0 0;
  color: #e5eddb;
}
.desk-workspace #desk-reset-filters {
  font-size: 11px;
  background: transparent;
  border-color: #344a38;
  color: #9cb28e;
  padding: 8px 11px;
}
.player-dialog.desk-workspace .desk-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #344b37;
  border-radius: 9px;
  overflow: hidden;
  margin: 0 0 20px;
  background: #1a2b20;
}
.desk-workspace .desk-stats article,
.desk-workspace .desk-stats article:first-child {
  padding: 11px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #d9e5cc;
  min-width: 0;
  border-right: 1px solid #344b37;
}
.desk-workspace .desk-stats article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label value" "hint value";
  align-items: center;
  column-gap: 10px;
  line-height: 1.3;
}
.desk-workspace .desk-stats article > span {
  grid-area: label;
}
.desk-workspace .desk-stats article > strong {
  grid-area: value;
  margin: 0;
  font-size: 23px;
}
.desk-workspace .desk-stats article > small {
  grid-area: hint;
  margin-top: 5px;
}
.desk-workspace .desk-stats article:last-child {
  border-right: 0;
}
.desk-workspace .desk-stats article > span {
  font-size: 10px;
  color: #8fa589;
}
.desk-workspace .desk-stats strong {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 6px 0;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.desk-workspace .desk-stats article:nth-child(2) strong {
  font-size: 21px;
  letter-spacing: -0.5px;
}
.desk-workspace .desk-stats article:first-child strong {
  color: #cbe69d;
}
.desk-workspace .desk-stats small {
  font-size: 9px;
  color: #8aa07c;
  opacity: 1;
  line-height: 1.5;
}
.desk-workspace .desk-filters {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 0 12px;
}
.desk-workspace .desk-filters label {
  gap: 5px;
  min-width: 0;
  flex: 0 1 auto;
}
.desk-workspace .desk-filters label > span {
  font-size: 10px;
  color: #809a7d;
}
.desk-workspace .desk-filters select,
.desk-workspace .desk-filters > button,
.desk-workspace .hero-search-trigger {
  height: 36px;
  font-size: 11px;
  padding: 7px 10px;
  border: 1px solid #344e39;
  border-radius: 5px;
  background: #1b3022;
  color: #d1debf;
  max-width: none;
}
.desk-workspace .desk-filters > button {
  padding: 7px 12px;
  font-weight: 500;
}
.desk-workspace #account-refresh {
  background: #b6cf8e;
  color: #1a2b18;
  border-color: #b6cf8e;
  font-weight: 700;
}
.desk-workspace button:disabled {
  cursor: default;
  opacity: 0.35;
}
.desk-workspace .hero-search-picker {
  width: 200px;
  max-width: 100%;
}
.desk-workspace .hero-search-trigger img {
  height: 24px;
  width: 23px;
}
.desk-workspace .hero-search-popup {
  background: #203626;
  border-color: #526644;
  color: #e7ead8;
  width: 290px;
}
.desk-workspace .hero-search-popup input {
  background: #14241b;
  color: #e0ead5;
  border-color: #4b6343;
  font-size: 12px;
}
.desk-workspace .hero-search-options button {
  color: #dbe7ce;
  font-size: 12px;
}
.desk-workspace .hero-search-options button:hover {
  background: #364e30 !important;
}
.desk-workspace .desk-sync {
  margin: 0 0 10px;
  font-size: 10px;
  color: #7e997b;
  align-items: center;
  gap: 10px;
}
.desk-workspace .desk-sync summary {
  font-size: 10px;
  color: #a6bb95;
}
.desk-workspace .desk-source-health {
  padding: 9px 12px;
  border: 1px solid #2c4230;
  background: #18291d;
  border-radius: 5px;
  margin: 0 0 18px;
  gap: 8px;
}
.desk-workspace .desk-source-health summary {
  font-size: 10px;
}
.desk-workspace .desk-source-health h3 {
  font-size: 13px;
  margin: 5px 0;
}
.desk-workspace .desk-source-health p {
  font-size: 10px;
  margin: 5px 0;
  line-height: 1.7;
}
.desk-workspace .desk-pulse {
  margin: 12px 0 18px;
  gap: 14px;
}
.desk-workspace [data-view="matches"] .desk-pulse,
.desk-workspace [data-view="heroes"] .desk-pulse,
.desk-workspace [data-view="review"] .desk-pulse {
  display: none;
}
.desk-workspace .desk-footnote {
  font-size: 9px !important;
  margin: 18px 0 0;
  color: #69846b !important;
}
.desk-workspace [data-view="detail"] .desk-view-title,
.desk-workspace [data-view="detail"] #desk-stats,
.desk-workspace [data-view="detail"] .desk-filters,
.desk-workspace [data-view="detail"] .desk-sync,
.desk-workspace [data-view="detail"] #account-source,
.desk-workspace [data-view="detail"] #desk-pulse,
.desk-workspace [data-view="detail"] .my-rank-panel {
  display: none;
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
}
.history-heading h3 {
  display: none;
}
.desk-workspace .history-heading p {
  font-size: 11px;
  margin: 0;
  color: #809777;
}
.history-heading > span {
  font-size: 11px;
  color: #aac58e;
}
.history-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.history-result-filters {
  display: flex;
  gap: 3px;
  border: 1px solid #324a33;
  border-radius: 6px;
  padding: 3px;
  background: #14251a;
}
.desk-workspace .history-result-filters button {
  font-size: 11px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  padding: 7px 10px;
  color: #97ae89;
  white-space: nowrap;
}
.history-result-filters small {
  font-size: 9px;
  opacity: 0.7;
  margin-left: 6px;
}
.desk-workspace .history-result-filters button.selected {
  background: #36512f;
  color: #d7edb2;
}
.history-search {
  margin-left: auto;
  display: flex;
  flex: 0 1 210px;
}
.desk-workspace .history-search input {
  height: 34px;
  padding: 8px 10px;
  width: 100%;
  min-width: 0;
  background: #15271b;
  color: #dbe8ce;
  border: 1px solid #314b33;
  border-radius: 5px;
  font-size: 11px;
}
.history-sort {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #839c7b;
}
.desk-workspace .history-sort select {
  height: 34px;
  font-size: 11px;
  padding: 5px 8px;
  background: #1b3021;
}
.history-table {
  border: 1px solid #2d4431;
  border-radius: 7px;
  overflow: hidden;
  scroll-margin-top: 15px;
}
.history-columns,
.desk-workspace .history-row {
  display: grid;
  grid-template-columns:
    60px minmax(160px, 1.5fr) minmax(105px, 0.9fr)
    85px 55px 100px 12px;
  gap: 12px;
  align-items: center;
}
.history-columns {
  padding: 12px 15px;
  background: #1d3122;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #88a07e;
  border-bottom: 1px solid #314b33;
}
.player-dialog.desk-workspace .history-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #2a3e2d;
  border-left: 3px solid #4c6147;
  border-radius: 0;
  text-align: left;
  padding: 11px 12px;
  background: #17291c;
  transition: background 0.15s;
  color: #dbe7d0;
  font-weight: 400;
}
.desk-workspace .history-row:last-child {
  border-bottom: 0;
}
.desk-workspace .history-row:nth-child(odd) {
  background: #1a2d20;
}
.player-dialog.desk-workspace .history-row:hover {
  background: #2b4230;
}
.player-dialog.desk-workspace .history-row.result-border-1 {
  border-left-color: #a5c782;
}
.player-dialog.desk-workspace .history-row.result-border-2 {
  border-left-color: #b57564;
}
.history-outcome {
  font-size: 11px;
  background: none !important;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.history-outcome i {
  font-size: 15px;
  font-style: normal;
}
.history-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.history-hero > img,
.history-hero > .desk-avatar-placeholder {
  width: 39px;
  height: 46px;
  flex: none;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  background: #273c29;
}
.history-hero > span {
  min-width: 0;
}
.history-hero strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}
.history-hero small {
  display: block;
  font-size: 9px;
  color: #819b79;
  margin-top: 5px;
}
.history-kda strong {
  font-size: 14px;
  display: block;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.history-kda em {
  font-style: normal;
  color: #6c866d;
  font-weight: 400;
}
.history-kda b {
  font-weight: 500;
  color: #bdcaaf;
}
.history-kda small,
.history-economy small,
.history-date small {
  display: block;
  font-size: 9px;
  color: #819877;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.history-economy strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.history-duration,
.history-date {
  font-size: 11px;
  color: #b1c2a5;
  font-variant-numeric: tabular-nums;
}
.history-arrow {
  font-size: 21px;
  color: #718d6b;
}
.history-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  font-size: 10px;
  color: #839a79;
}
.history-pagination > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.desk-workspace .history-pagination button {
  font-size: 10px;
  padding: 7px 10px;
  background: #1b3022;
}
.history-empty {
  text-align: center;
  padding: 40px 16px;
  font-size: 13px;
}
.history-empty p {
  font-size: 11px;
}
.desk-detail-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.desk-detail-toolbar > span {
  font-size: 11px;
  color: #819a79;
  flex: 1;
}
.desk-detail-toolbar > div {
  display: flex;
  gap: 5px;
}
.desk-workspace .desk-detail-toolbar button {
  font-size: 11px;
  padding: 8px 11px;
  background: #1b3021;
  margin: 0;
}
.desk-workspace .desk-detail-hero {
  background: linear-gradient(100deg, #2b422b, #1b2e22);
  gap: 17px;
  border: 1px solid #3c5336;
  border-radius: 8px;
}
.desk-workspace .desk-detail-hero > img {
  width: 84px;
  height: 108px;
}
.desk-workspace .desk-detail-hero h3 {
  font-size: 24px;
  margin: 6px 0 10px;
}
.desk-workspace .desk-detail-hero p {
  font-size: 10px;
  margin: 9px 0;
}
.desk-workspace .desk-detail-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #314830;
  border-radius: 7px;
  overflow: hidden;
  margin: 14px 0;
}
.desk-workspace .desk-detail-stats > div {
  background: #1a2d20;
  padding: 12px 14px;
  border-right: 1px solid #314830;
  border-radius: 0;
  min-width: 0;
}
.desk-workspace .desk-detail-stats > div:last-child {
  border-right: 0;
}
.desk-workspace .desk-detail-stats span {
  font-size: 9px;
  color: #859c7b;
}
.desk-workspace .desk-detail-stats strong {
  font-size: 18px;
  margin-top: 7px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.desk-workspace .desk-detail-stats > div:first-child strong {
  font-size: 15px;
}
.desk-workspace .desk-detail-actions button {
  font-size: 10px;
  padding: 7px 10px;
}
.desk-workspace .match-insight {
  margin-top: 20px;
  padding-top: 0;
  border: 0;
}
.desk-workspace .performance-intro > span {
  display: none;
}
.desk-workspace .performance-intro h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}
.desk-workspace .performance-intro p {
  font-size: 11px;
  margin: 0 0 16px;
}
.match-section-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid #354d32;
  margin-bottom: 16px;
}
.player-dialog.desk-workspace .match-section-tabs button {
  font-size: 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #91a882;
  padding: 11px 15px;
}
.player-dialog.desk-workspace .match-section-tabs button[aria-pressed="true"] {
  border-color: #c0d99a;
  color: #d4eab1;
}
.desk-workspace [data-match-view][hidden] {
  display: none !important;
}
.desk-workspace .performance-controls {
  margin: 12px 0;
}
.desk-workspace .performance-hint {
  font-size: 10px;
  line-height: 1.7;
}
.desk-workspace .desk-note {
  margin-top: 25px;
  font-size: 12px;
}
.desk-workspace .desk-note textarea {
  min-height: 60px;
  font-size: 12px;
}
.desk-workspace .my-rank-panel {
  padding: 15px;
  margin: 0 0 20px;
}
.desk-workspace .rank-summary img {
  width: 65px;
  height: 65px;
}
.desk-workspace .rank-summary h3 {
  font-size: 20px;
}
.desk-workspace .rank-summary p,
.desk-workspace .my-rank-panel .source-note {
  font-size: 11px;
}
.desk-workspace .desk-signin {
  max-width: 680px;
  margin: 10vh auto;
  padding: 35px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1150px) {
  .desk-workspace .desk-stats article {
    display: block;
  }
  .desk-workspace .desk-stats article > strong {
    margin: 6px 0;
  }
  .desk-app-layout {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .desk-sidebar {
    padding-inline: 8px;
  }
  .desk-workspace .desk-tabs button {
    padding: 12px;
    gap: 8px;
  }
  .desk-main {
    padding: 23px 20px;
  }
  .history-columns,
  .desk-workspace .history-row {
    grid-template-columns: 50px minmax(130px, 1.3fr) 100px 70px 48px 83px 10px;
    gap: 8px;
  }
  .desk-workspace .desk-stats strong {
    font-size: 23px;
  }
  .desk-workspace .desk-stats article:nth-child(2) strong {
    font-size: 18px;
  }
  .desk-workspace .desk-stats article {
    padding: 14px 12px;
  }
}
@media (max-width: 950px) {
  .history-columns,
  .desk-workspace .history-row {
    grid-template-columns: 46px minmax(125px, 1fr) 98px 68px 75px 10px;
  }
  .history-columns > span:nth-child(5),
  .history-row > .history-duration {
    display: none;
  }
  .history-date {
    font-size: 10px;
  }
  .history-hero strong {
    font-size: 11px;
  }
  .desk-workspace .desk-detail-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .desk-workspace .desk-detail-stats > div:nth-child(-n + 3) {
    border-bottom: 1px solid #314830;
  }
  .history-search {
    flex: 1 1 160px;
  }
}
@media (max-width: 720px) {
  .player-dialog.desk-workspace {
    height: 97svh;
    max-height: 97svh;
    width: 98vw;
    border-radius: 10px;
  }
  .desk-workspace .desk-header {
    padding: 15px 48px 15px 14px;
    min-height: 86px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .desk-workspace .desk-avatar {
    width: 44px;
    height: 44px;
  }
  .desk-workspace .desk-header h2 {
    font-size: 18px;
  }
  .desk-workspace .desk-header .desk-eyebrow {
    display: none;
  }
  .desk-workspace .desk-header > button,
  .desk-workspace .desk-change-player > summary {
    font-size: 10px;
    padding: 7px;
  }
  .desk-workspace .desk-account-id {
    font-size: 9px;
  }
  .desk-workspace #account-logout {
    display: none;
  }
  .desk-app-layout {
    display: flex;
    flex-direction: column;
  }
  .desk-sidebar {
    padding: 0 10px;
    border-right: 0;
    border-bottom: 1px solid #314332;
    flex: none;
  }
  .desk-side-label,
  .desk-side-note {
    display: none;
  }
  .desk-workspace .desk-tabs {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
  }
  .desk-workspace .desk-tabs button {
    padding: 13px 10px;
    font-size: 12px;
    border-radius: 0;
    gap: 6px;
  }
  .desk-workspace .desk-tabs button > span {
    font-size: 16px;
    width: 16px;
  }
  .desk-workspace .desk-tabs button.selected {
    background: none;
    box-shadow: inset 0 -2px #c3dc96;
  }
  .desk-main {
    padding: 20px 15px;
  }
  .desk-workspace .desk-view-title h2 {
    font-size: 23px;
  }
  .desk-view-title {
    margin-bottom: 18px;
  }
  .player-dialog.desk-workspace .desk-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
  }
  .desk-workspace .desk-stats article {
    padding: 12px 15px;
  }
  .desk-workspace .desk-stats article:nth-child(2) {
    border-right: 0;
  }
  .desk-workspace .desk-stats article:nth-child(-n + 2) {
    border-bottom: 1px solid #344b37;
  }
  .desk-workspace .desk-stats strong {
    font-size: 24px;
  }
  .desk-workspace .desk-stats article:nth-child(2) strong {
    font-size: 21px;
  }
  .desk-workspace .desk-filters {
    gap: 8px;
  }
  .desk-workspace .desk-filters label {
    flex: 1;
  }
  .desk-workspace .desk-filters label:has(#account-hero) {
    flex: 1 1 160px;
  }
  .desk-workspace .hero-search-picker {
    width: 100%;
  }
  .desk-workspace .desk-filters select {
    width: 100%;
  }
  .desk-workspace #account-sync {
    display: none;
  }
  .desk-workspace .desk-sync {
    font-size: 9px;
  }
  .desk-workspace .desk-sync details {
    display: none;
  }
  .history-tools {
    gap: 9px;
  }
  .history-search {
    order: 3;
    flex: 1 1 100%;
    margin: 0;
  }
  .history-sort {
    margin-left: auto;
  }
  .history-result-filters {
    flex: 1;
  }
  .desk-workspace .history-result-filters button {
    padding: 7px 9px;
  }
  .history-columns,
  .desk-workspace .history-row {
    grid-template-columns: 38px minmax(115px, 1fr) 86px 63px 10px;
    gap: 7px;
  }
  .history-columns > span:nth-child(6),
  .history-date {
    display: none;
  }
  .history-columns {
    padding: 10px 9px;
    font-size: 9px;
  }
  .player-dialog.desk-workspace .history-row {
    padding: 10px 7px;
  }
  .history-hero {
    gap: 7px;
  }
  .history-hero > img {
    width: 32px;
    height: 42px;
  }
  .history-hero strong {
    font-size: 10px;
  }
  .history-hero small {
    font-size: 8px;
  }
  .history-kda strong {
    font-size: 12px;
  }
  .history-outcome {
    font-size: 10px;
    display: block;
  }
  .history-outcome i {
    display: none;
  }
  .history-economy strong {
    font-size: 12px;
  }
  .history-pagination {
    font-size: 9px;
    gap: 6px;
  }
  .history-pagination > div {
    gap: 8px;
  }
  .desk-workspace .history-pagination button {
    font-size: 9px;
    padding: 6px;
  }
  .desk-detail-toolbar {
    gap: 6px;
    flex-wrap: wrap;
  }
  .desk-detail-toolbar > span {
    font-size: 9px;
  }
  .desk-workspace .desk-detail-toolbar button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .desk-workspace .desk-detail-hero h3 {
    font-size: 21px;
  }
  .desk-workspace .desk-detail-stats strong {
    font-size: 17px;
  }
  .desk-workspace .desk-detail-stats > div {
    padding: 11px;
  }
  .player-dialog.desk-workspace .match-section-tabs button {
    font-size: 11px;
    padding: 11px 10px;
  }
  .desk-workspace .performance-intro h3 {
    font-size: 17px;
  }
}
.hero-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0 16px;
}
.hero-table-toolbar h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
.hero-table-toolbar small {
  font-size: 10px;
  color: #89a07f;
}
.hero-table-toolbar label {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #93ab87;
}
.desk-workspace .hero-table-toolbar select {
  font-size: 11px;
  padding: 8px;
  background: #1b3022;
}
.hero-performance-table {
  border: 1px solid #2e4831;
  border-radius: 7px;
  overflow: hidden;
}
.hero-table-columns,
.desk-workspace .hero-table-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.5fr) 60px 75px 95px 140px 90px;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.hero-table-columns {
  background: #1e3423;
  padding: 13px 16px;
  font-size: 10px;
  color: #8ca47e;
}
.player-dialog.desk-workspace .hero-table-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #2a402d;
  border-radius: 0;
  padding: 12px 16px;
  background: #192c1e;
  color: #c4d4b7;
  font-size: 12px;
  font-weight: 400;
}
.desk-workspace .hero-table-row:nth-child(odd) {
  background: #1d3022;
}
.player-dialog.desk-workspace .hero-table-row:hover {
  background: #2c4430;
}
.hero-table-row:last-child {
  border-bottom: 0;
}
.hero-table-row > span > b {
  font-weight: 500;
  color: #c0dc97;
}
.hero-table-wr strong {
  font-size: 12px;
  color: #c5dd9f;
  font-weight: 600;
}
.hero-table-wr > i {
  display: block;
  background: #30462d;
  height: 3px;
  margin-top: 7px;
  width: 80%;
}
.hero-table-wr em {
  display: block;
  background: #a9c97c;
  height: 100%;
}
.hero-table-wr small {
  display: block;
  font-size: 8px;
  color: #b7a87b;
  margin-top: 5px;
}
@media (max-width: 1100px) {
  .hero-table-columns,
  .desk-workspace .hero-table-row {
    grid-template-columns: minmax(150px, 1fr) 45px 65px 75px 110px;
  }
  .hero-table-columns > span:last-child,
  .hero-table-row > span:last-child {
    display: none;
  }
}
@media (max-width: 720px) {
  .hero-table-columns,
  .desk-workspace .hero-table-row {
    grid-template-columns: minmax(130px, 1fr) 38px 55px 70px;
    gap: 7px;
  }
  .hero-table-columns > span:nth-child(5),
  .hero-table-row > span:nth-child(5) {
    display: none;
  }
  .hero-table-columns {
    padding: 11px 9px;
    font-size: 9px;
  }
  .player-dialog.desk-workspace .hero-table-row {
    padding: 10px 9px;
    font-size: 10px;
  }
  .hero-table-toolbar h3 {
    font-size: 16px;
  }
}

/* Targeted emphasis: the win-rate label and the outcome filter controls. */
.player-dialog.desk-workspace #desk-stats article:first-child>span{font-size:18px;font-weight:650;line-height:1.3;}
.player-dialog.desk-workspace .history-result-filters button{font-size:16px;font-weight:600;min-height:40px;padding:8px 14px;}
.player-dialog.desk-workspace .history-result-filters button small{font-size:14px;font-weight:500;opacity:1;}
