/* Native MixQueue statistics: shared by match room and Flute profile. */
.mq-stat {
  --ms-accent: var(--accent, #da3633);
  --ms-line: #28282b;
  --ms-muted: #99999f;
  --ms-panel: #151516;
  color: var(--text, #f1f1f1);
  font:
    400 13px/1.5 Roboto,
    sans-serif;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.mq-stat * {
  box-sizing: border-box;
}
.mq-stat a {
  color: inherit;
  text-decoration: none;
}
.mq-stat a:hover {
  color: #fff;
}
.mq-stat a:focus-visible,
.mq-stat button:focus-visible,
.mq-stat-scroll:focus-visible {
  outline: 2px solid var(--ms-accent);
  outline-offset: 3px;
}
.mq-stat h2,
.mq-stat h3,
.mq-stat p {
  margin: 0;
}
.mq-stat h2,
.mq-stat h3 {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.025em;
}
.mq-stat h2 {
  font-size: 30px;
  line-height: 1.15;
}
.mq-stat h3 {
  font-size: 17px;
}
.mq-stat-profile {
  padding: 12px 0 24px;
}
.mq-stat-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid #685132;
  background: linear-gradient(110deg, #282217, #171615);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.mq-stat-demo b {
  display: block;
  color: #e5ba77;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.mq-stat-demo span {
  display: block;
  color: #a5a19a;
  font-size: 12px;
  margin-top: 5px;
}
.mq-stat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 26px;
}
.mq-stat-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--ms-muted);
  margin-bottom: 9px;
}
.mq-stat-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  white-space: nowrap;
}
.mq-stat-rating strong {
  font:
    600 36px/1 Oswald,
    sans-serif;
}
.mq-stat-rating span {
  display: block;
  color: var(--ms-muted);
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 6px;
}
.mq-stat-filters {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.mq-stat-filters > div {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #161617;
  border: 1px solid var(--ms-line);
  border-radius: 7px;
}
.mq-stat-filters a {
  padding: 8px 13px;
  color: #aaa;
  border-radius: 4px;
  font-size: 12px;
}
.mq-stat-filters a[aria-current="page"] {
  background: var(--ms-accent);
  color: #fff;
  font-weight: 700;
}
.mq-stat-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.mq-stat-kpis article {
  border: 1px solid var(--ms-line);
  background: linear-gradient(145deg, #1b1b1e, #141415);
  border-radius: 8px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.mq-stat-kpis article:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--ms-accent);
}
.mq-stat-kpis article > span {
  display: block;
  color: var(--ms-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.mq-stat-kpis strong {
  display: block;
  font:
    600 32px/1.2 Oswald,
    sans-serif;
  margin: 12px 0 7px;
  font-variant-numeric: tabular-nums;
}
.mq-stat-kpis small {
  display: block;
  font-size: 11px;
  color: #aaa;
}
.mq-stat-coverage {
  margin-top: 8px;
  color: #d9b56e !important;
}
.mq-stat-summary {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
  color: var(--ms-muted);
  font-size: 12px;
}
.mq-stat-summary b {
  color: #eee;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}
.mq-stat-panel {
  border: 1px solid var(--ms-line);
  border-radius: 8px;
  background: var(--ms-panel);
  margin-bottom: 20px;
  overflow: hidden;
}
.mq-stat-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ms-line);
}
.mq-stat-panel-head > span {
  color: var(--ms-muted);
  font-size: 11px;
}
.mq-stat-chart {
  padding-bottom: 16px;
}
.mq-stat-chart .mq-stat-panel-head {
  border: 0;
}
.mq-stat-chart svg {
  display: block;
  width: 100%;
  max-height: 200px;
  padding: 0 14px;
  overflow: visible;
}
.mq-stat-chart-grid {
  stroke: #29292c;
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 3 5;
}
.mq-stat-chart-area {
  fill: var(--ms-accent);
  opacity: 0.07;
}
.mq-stat-chart-line {
  fill: none;
  stroke: var(--ms-accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.mq-stat-chart circle {
  fill: var(--ms-accent);
  stroke: #171719;
  stroke-width: 1;
}
.mq-stat-chart-labels {
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 11px;
  padding: 0 30px;
}
.mq-stat-chart-labels strong {
  color: #eee;
}
.mq-stat-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: #48484d #161617;
  scrollbar-width: thin;
}
.mq-stat-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mq-stat-table th,
.mq-stat-table td {
  text-align: right;
  padding: 14px 16px;
  border-bottom: 1px solid #242426;
  height: 54px;
}
.mq-stat-table thead th {
  font-size: 10px;
  letter-spacing: 0.35px;
  font-weight: 600;
  color: var(--ms-muted);
  background: #1c1c1f;
  height: 38px;
  padding-block: 10px;
}
.mq-stat-table th:first-child,
.mq-stat-table td:first-child {
  text-align: left;
}
.mq-stat-table tbody th {
  font-weight: 500;
}
.mq-stat-table tbody tr:last-child > * {
  border-bottom: 0;
}
.mq-stat-table tbody tr:hover {
  background: #1b1b1f;
}
.mq-stat-table small {
  display: block;
  font-size: 10px;
  color: var(--ms-muted);
  margin-top: 2px;
}
.mq-stat-table .mq-stat-win {
  color: #77d9a0;
}
.mq-stat-table .mq-stat-loss {
  color: #ed8686;
}
.mq-stat-win {
  color: #77d9a0;
}
.mq-stat-loss {
  color: #ed8686;
}
.mq-stat-table tr.is-me {
  background: rgba(218, 54, 51, 0.065);
}
.mq-stat-table tr.is-me th:first-child {
  box-shadow: inset 2px 0 var(--ms-accent);
}
.mq-stat-map-thumb {
  display: inline-block;
  width: 40px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.mq-stat-winbar {
  display: inline-block;
  width: 45px;
  height: 3px;
  margin: 0 9px 3px 0;
  background: linear-gradient(to right, #77d9a0 var(--rate), #333 var(--rate));
  border-radius: 3px;
}
.mq-stat-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-top: 1px solid var(--ms-line);
  font-size: 12px;
  color: #aaa;
}
.mq-stat-pagination a {
  color: #eee;
}
.mq-stat-footnote {
  font-size: 11px;
  color: var(--ms-muted);
  line-height: 1.7;
}
.mq-stat-empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--ms-line);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at top, rgba(218, 54, 51, 0.075), transparent 70%),
    var(--ms-panel);
}
.mq-stat-empty-mark {
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid #49302f;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  font-size: 24px;
  color: #e78681;
}
.mq-stat-empty h3 {
  font-size: 24px;
}
.mq-stat-empty p {
  color: var(--ms-muted);
  margin: 10px 0 24px;
  text-align: center;
}
.mq-stat-cta {
  display: inline-block;
  background: var(--ms-accent);
  padding: 10px 16px;
  border-radius: 5px;
  color: #fff !important;
  font-weight: 600;
}
.mq-stat-scoreboard {
  margin: 22px 0;
}
.mq-stat-team-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ms-line);
}
.mq-stat-team-header .mq-stat-team-result {
  font:
    600 30px/1 Oswald,
    sans-serif;
  min-width: 30px;
}
.mq-stat-team-header h3 {
  font-size: 18px;
  word-break: break-word;
}
.mq-stat-team-header small {
  display: block;
  color: var(--ms-muted);
  font-size: 10px;
  font-family: Roboto, sans-serif;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.mq-stat-team-average {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
}
.mq-stat-team-average span {
  display: block;
  font-size: 10px;
  color: var(--ms-muted);
  font-weight: 400;
  text-align: right;
}
.mq-stat-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}
.mq-stat-player b {
  font-size: 12px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mq-stat-player .mq2-avatar {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 10px;
  object-fit: cover;
}
.mq-stat-table button[data-stat-sort] {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}
.mq-stat-table th[aria-sort="descending"] button:after {
  content: " ↓";
  color: #fff;
}
.mq-stat-table th[aria-sort="ascending"] button:after {
  content: " ↑";
  color: #fff;
}
.mq-stat-scoreboard .mq-stat-table th:first-child {
  position: sticky;
  left: 0;
  background: #171719;
  z-index: 1;
}
.mq-stat-scoreboard .mq-stat-table thead th:first-child {
  background: #1c1c1f;
  z-index: 2;
}
.mq-stat-scoreboard .mq-stat-table tr.is-me th:first-child {
  background: #211819;
}
.mq-stat-scoreboard .mq-stat-table th,
.mq-stat-scoreboard .mq-stat-table td {
  padding-inline: 13px;
}
@media (max-width: 900px) {
  .mq-stat-kpis article {
    padding: 16px;
  }
  .mq-stat-kpis strong {
    font-size: 29px;
  }
  .mq-stat-table th,
  .mq-stat-table td {
    padding-inline: 12px;
  }
  .mq-stat h2 {
    font-size: 26px;
  }
  .mq-stat-player b {
    max-width: 130px;
  }
}
@media (max-width: 600px) {
  .mq-stat-heading {
    gap: 14px;
  }
  .mq-stat h2 {
    font-size: 22px;
  }
  .mq-stat-rating strong {
    font-size: 30px;
  }
  .mq-stat-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mq-stat-filters a {
    padding: 7px 9px;
    font-size: 11px;
  }
  .mq-stat-summary {
    gap: 10px 18px;
  }
  .mq-stat-panel-head {
    padding: 15px;
  }
  .mq-stat h3 {
    font-size: 16px;
  }
  .mq-stat-team-header {
    padding: 15px;
    gap: 10px;
  }
  .mq-stat-team-header h3 {
    font-size: 16px;
  }
  .mq-stat-team-average {
    font-size: 12px;
  }
  .mq-stat-player {
    min-width: 115px;
  }
  .mq-stat-player b {
    max-width: 100px;
  }
  .mq-stat-scoreboard .mq-stat-table th,
  .mq-stat-scoreboard .mq-stat-table td {
    padding-inline: 10px;
  }
  .mq-stat-footnote {
    font-size: 10px;
  }
  .mq-stat-empty {
    padding: 40px 16px;
  }
}

.mq-stat-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.mq-stat-advanced article {
  background: #161616;
}
.mq-stat-scoreboard .mq-stat-table td {
  font-variant-numeric: tabular-nums;
}
.mq-stat-kpis + .mq-stat-kpis {
  margin-top: 12px;
}

.mq-stat-rating .mq-level-icon { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
