* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
.clipboard_buffer {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 70% -15%,
      rgba(81, 141, 255, 0.12),
      transparent 34%
    ),
    #141815;
  font:
    500 15px/1.45 "Segoe UI",
    Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
}
.hero {
  position: relative;
  border-bottom: 1px solid #465049;
}
.hero:after {
  position: absolute;
  top: -90px;
  right: 8%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(184, 255, 56, 0.18);
  transform: rotate(45deg);
  content: "";
  pointer-events: none;
}
.hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 8px;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
h3 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
}
.hero__meta,
.progress__text {
  margin: 0;
}
.hero__tools {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.button {
  background: #b8ff38;
  padding: 10px 14px;
  cursor: pointer;
  letter-spacing: 0.025em;
}
.button--small {
  padding: 7px 10px;
  font-size: 13px;
}
.progress {
  overflow: hidden;
  margin-top: 26px;
}
.progress__fill {
  height: 100%;
  background: #b8ff38;
  box-shadow: 0 0 18px rgba(184, 255, 56, 0.5);
  transition: width 0.3s;
}
.progress__text {
  margin-top: 9px;
  font-size: 13px;
}
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.tab {
  border: 0;
  background: 0 0;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
}
.tab.is-active {
  background: #b8ff38;
  box-shadow: 0 0 20px rgba(184, 255, 56, 0.12);
}
.panel {
  display: none;
}
.panel.is-active {
  display: block;
}
.section_head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 4px 14px;
}
.section_head p {
  margin: 0;
}
.section_head--matrix {
  margin-top: 36px;
}
.table_wrap {
  overflow-x: auto;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
table {
  width: 100%;
  border-collapse: collapse;
}
td,
th {
  padding: 13px 12px;
  border-bottom: 1px solid #39423d;
  text-align: center;
  white-space: nowrap;
}
th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td:nth-child(2),
th:nth-child(2) {
  text-align: left;
}
.standings tr:last-child td {
  border: 0;
}
.rank {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
}
.player_link {
  border: 0;
  background: 0 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.competitor small,
.list_item small,
.player_card small,
.player_link small {
  display: block;
}
.player_identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.player_identity--away {
  justify-content: flex-end;
}
.club_logo {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.28));
}
.club_logo--match {
  width: 38px;
  height: 38px;
}
.club_logo--card {
  width: 48px;
  height: 48px;
}
.club_logo--hero {
  width: 76px;
  height: 76px;
}
.modal_player_head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.modal_player_head h2,
.modal_player_head p {
  margin-bottom: 2px;
}
.matrix {
  min-width: 900px;
}
.matrix th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  text-transform: none;
  background: #1a2028;
}
.matrix td {
  font-size: 12px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.filters select,
.head_to_head select,
.search {
  min-height: 42px;
  padding: 8px 12px;
  outline: 0;
}
.icon_button {
  width: 42px;
  cursor: pointer;
}
.icon_button:disabled {
  opacity: 0.35;
}
.matches {
  display: grid;
  gap: 10px;
}
.match_card {
  display: grid;
  grid-template-columns: 1fr 210px 1fr;
  align-items: center;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.competitor--away,
.competitor--away .player_link {
  text-align: right;
}
.match_score {
  text-align: center;
}
.score_button {
  min-width: 110px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 18px;
}
.score_button span {
  padding: 0 8px;
  color: #a6b0aa;
}
.score_editor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.score_editor input {
  width: 58px;
  height: 42px;
  text-align: center;
  font-weight: 900;
  appearance: textfield;
  -moz-appearance: textfield;
}
.editor_actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.delete_score {
  border: 0;
  background: 0 0;
  color: #ff626f;
  cursor: pointer;
  font-size: 12px;
}
.match_card--skeleton span {
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(
    90deg,
    rgba(127, 137, 150, 0.12) 25%,
    rgba(127, 137, 150, 0.25) 50%,
    rgba(127, 137, 150, 0.12) 75%
  );
  background-size: 200% 100%;
  animation: 1.2s ease-in-out infinite skeleton_loading;
}
.match_card--skeleton span:nth-child(2) {
  width: 110px;
  height: 42px;
  justify-self: center;
}
.match_card--skeleton span:nth-child(3) {
  justify-self: end;
  width: 70%;
}
@keyframes skeleton_loading {
  to {
    background-position: -200% 0;
  }
}
.metric_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.metric {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.metric span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.list {
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.list_item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 0;
  border-bottom: 1px solid #39423d;
  padding: 14px 16px;
  text-align: left;
}
.list_item:last-child {
  border: 0;
}
.list_item > b {
  text-align: right;
}
.leader_team {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
.leader_value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}
.leader_value small {
  text-align: right;
}
.player_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.player_card {
  padding: 18px;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    transform 0.2s;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.player_card__top {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.player_card__top strong {
  text-align: right;
  font-size: 25px;
}
.detail_metrics,
.player_card__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.detail_metrics span,
.player_card__stats span {
  font-size: 11px;
}
.detail_metrics b,
.player_card__stats b {
  display: block;
  font-size: 16px;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
}
.modal.is-open {
  display: block;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
}
.modal__dialog {
  position: relative;
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 20px auto;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: 0 0;
  cursor: pointer;
  font-size: 28px;
}
.detail_metrics {
  grid-template-columns: repeat(6, 1fr);
  padding: 16px;
}
.head_to_head {
  margin: 24px 0;
  padding: 16px;
}
.head_to_head label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.head_to_head p {
  margin: 8px 0 0;
}
.player_matches {
  display: grid;
  gap: 7px;
}
.player_matches > div {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  padding: 10px 0;
  border-bottom: 1px solid #39423d;
}
.player_matches p {
  margin: 0;
}
.modal_player_title {
  display: flex;
  align-items: center;
  gap: 7px;
}
.player_detail {
  display: none;
}
.player_detail.is-active {
  display: block;
}
.player_match_result {
  grid-column: 4;
  justify-self: end;
}
.copy_player_link {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: 10px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  padding: 0;
}
.copy_player_link:hover {
  background: rgba(255, 255, 255, 0.12);
}
.copy_player_link img {
  width: 15px;
  height: 15px;
  opacity: 0.48;
  transition: opacity 0.15s;
}
.copy_player_link:hover img {
  opacity: 0.9;
}
.empty,
.fatal {
  padding: 40px;
  border: 1px dashed #bfcac4;
  border-radius: 12px;
  text-align: center;
}
.fatal {
  margin: 40px;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  transform: translateY(20px);
  opacity: 0;
  border-radius: 10px;
  padding: 12px 16px;
  transition: 0.2s;
  pointer-events: none;
}
.toast.is-visible {
  transform: none;
  opacity: 1;
}
.club_logo--leader {
  width: 18px;
  height: 18px;
}
.record_value {
  display: grid;
  justify-items: end;
  gap: 3px;
}
.record_match {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.record_player {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.record_player--away {
  justify-content: flex-end;
}
.club_logo--record {
  width: 18px;
  height: 18px;
}
.record_value > small {
  color: #a6b0aa;
}
@media (max-width: 850px) {
  .hero__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .metric_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .match_card {
    grid-template-columns: 1fr 130px 1fr;
  }
  .detail_metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .shell {
    width: min(100% - 20px, 1180px);
    margin-top: 12px;
  }
  .hero {
    padding: 26px 16px;
  }
  .hero__tools {
    width: 100%;
  }
  .hero__tools .button {
    flex: 1;
  }
  .section_head {
    align-items: stretch;
    flex-direction: column;
  }
  .search {
    width: 100%;
  }
  .player_grid {
    grid-template-columns: 1fr;
  }
  .metric_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .match_card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .competitor,
  .competitor .player_link,
  .competitor--away,
  .competitor--away .player_link {
    text-align: center;
  }
  .competitor .player_identity,
  .competitor--away .player_identity {
    justify-content: center;
  }
  .match_score {
    grid-row: 2;
  }
  .player_card__stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .modal__dialog {
    padding: 22px 16px;
  }
  .detail_metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .head_to_head label {
    align-items: stretch;
    flex-direction: column;
  }
  .player_matches > div {
    grid-template-columns: 48px 1fr;
  }
  .player_matches small {
    grid-column: 2;
  }
}
html {
  min-height: 100%;
  background: #0d1219;
}
body {
  min-height: 100vh;
  padding: 18px 0 40px;
  color: #eef2f7;
  background:
    radial-gradient(
      circle at 8% -12%,
      rgba(37, 82, 157, 0.32),
      transparent 30%
    ),
    radial-gradient(circle at 92% 8%, rgba(22, 50, 91, 0.22), transparent 26%),
    linear-gradient(145deg, #090d13 0, #0d1219 48%, #080b10 100%);
  background-attachment: fixed;
  font-weight: 400;
}
.hero {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 28px 26px;
  overflow: hidden;
  border: 1px solid #28313c;
  border-radius: 14px;
  color: #eef2f7;
  background: linear-gradient(135deg, #171d25, #11161d);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero:after {
  display: none;
}
.league_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 -28px 25px;
  padding: 13px 20px;
  border-bottom: 1px solid #29313b;
  background: #12171e;
}
.league_brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.league_brand > span:last-child {
  display: grid;
}
.league_brand b {
  font-size: 13px;
  font-weight: 600;
}
.league_brand small {
  color: #788391;
  font-size: 10px;
}
.league_mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b72dd, #6799ff);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(51, 105, 210, 0.24);
}
.league_status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #929ca9;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43c784;
  box-shadow: 0 0 10px rgba(67, 199, 132, 0.55);
}
.hero__meta,
.progress__text {
  min-height: 19px;
  color: #8994a1;
}
.eyebrow {
  margin-bottom: 0;
  color: #5f91f4;
  font-weight: 500;
  letter-spacing: 0.16em;
}
h1,
h2,
h3 {
  color: #f3f6fa;
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(31px, 5vw, 50px);
  font-weight: 650;
}
h2 {
  margin-bottom: 0;
  font-size: 25px;
  font-weight: 700;
}
h3 {
  font-size: 17px;
  font-weight: 700;
}
.hero__tools {
  gap: 7px;
}
.button {
  border: 1px solid #3e6fce;
  border-radius: 7px;
  background: linear-gradient(135deg, #386dcf, #4e83e9);
  color: #fff;
  box-shadow: none;
  font-weight: 500;
}
.button:hover {
  filter: brightness(1.08);
}
.button--ghost {
  border-color: #333d49;
  background: #1b222b;
  color: #cdd4de;
}
.button--ghost:hover {
  border-color: #4c78ce;
  color: #fff;
  background: #202a36;
}
.button--danger {
  border-color: #56333b;
  background: #2a1c21;
  color: #e68a96;
}
.progress {
  height: 5px;
  border: 0;
  border-radius: 2px;
  background: #28313b;
}
.progress__fill {
  background: linear-gradient(90deg, #477ce4, #66a0ff);
  box-shadow: 0 0 14px rgba(78, 132, 235, 0.32);
}
.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 10px auto 0;
}
.tabs {
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tab {
  border-radius: 6px;
  color: #8b95a2;
  font-weight: 400;
}
.tab:hover {
  color: #dce2e9;
  background: #1b222b;
}
.tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #3568cb, #4c80e7);
  box-shadow: 0 5px 14px rgba(49, 98, 192, 0.22);
}
.section_head {
  margin-top: 24px;
}
.section_head p {
  color: #7f8996;
}
.list,
.match_card,
.metric,
.modal__dialog,
.player_card,
.table_wrap,
.tabs {
  border: 1px solid #2a333e;
  background: #1a2028;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.table_wrap {
  border-radius: 10px;
}
td,
th {
  border-color: #2c3540;
}
th {
  color: #828d9b;
  font-weight: 400;
}
.standings tbody tr:hover {
  background: #202834;
}
.rank {
  border: 0;
  border-radius: 5px;
  background: #28313c;
  color: #cdd4dd;
  font-weight: 500;
}
.place_1 .rank {
  background: #477de3;
  color: #fff;
}
.place_2 .rank {
  background: #434d5a;
  color: #eef1f5;
}
.place_3 .rank {
  background: #6b5239;
  color: #f3e6d8;
}
.player_card__top strong,
.win {
  color: #56c98e;
}
.loss {
  color: #e56f7a;
}
.player_card,
.player_link {
  color: #e9edf2;
}
.player_link b {
  font-weight: 500;
}
.competitor small,
.list_item small,
.player_card small,
.player_link small {
  color: #7f8996;
  font-weight: 400;
}
.diagonal {
  background: #222a34;
}
.filters {
  gap: 7px;
}
.filters select,
.head_to_head select,
.score_editor input,
.search {
  border: 1px solid #303a46;
  border-radius: 7px;
  background: #171d24;
  color: #dce2e9;
  box-shadow: none;
  backdrop-filter: none;
}
.filters select:focus,
.head_to_head select:focus,
.score_editor input:focus,
.search:focus {
  border-color: #4d7bd3;
  box-shadow: 0 0 0 2px rgba(70, 119, 210, 0.14);
}
.icon_button {
  border: 1px solid #303a46;
  border-radius: 7px;
  background: #1a212a;
  color: #81a9f7;
}
.matches {
  gap: 8px;
}
.match_card {
  min-height: 96px;
  border-radius: 9px;
  box-shadow: none;
  position: relative;
}
.score_button {
  border: 1px solid #34445b;
  border-radius: 7px;
  background: #202b3b;
  color: #8fb3fa;
  box-shadow: none;
  font-weight: 500;
}
.score_button:hover {
  border-color: #4c7ddb;
  color: #fff;
  background: #24334a;
}
.metric_grid {
  gap: 8px;
}
.metric {
  min-height: 104px;
  border-radius: 9px;
  padding: 15px;
}
.metric:after {
  position: absolute;
  top: 0;
  width: 34px;
  content: "";
  right: 12px;
  bottom: 12px;
  height: 3px;
  background: #4d82e8;
}
.metric span {
  color: #84909e;
  font-weight: 400;
}
.metric b {
  color: #f2f5f9;
  font-size: 30px;
  font-weight: 700;
}
.split {
  grid-template-columns: minmax(380px, 0.95fr) minmax(520px, 1.05fr);
  gap: 10px;
  margin-top: 20px;
}
.list {
  border-radius: 9px;
}
.list_item {
  border-color: #2b3540;
  background: 0 0;
  color: #e8edf2;
}
.list_item:hover {
  background: #202832;
}
.player_grid {
  gap: 9px;
}
.player_card {
  border-radius: 9px;
  box-shadow: none;
}
.player_card:hover {
  border-color: #456aa8;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.detail_metrics,
.player_card__stats {
  margin-bottom: 0;
  border-radius: 7px;
  background: #151b22;
}
.player_card__stats {
  padding: 12px;
}
.detail_metrics span,
.player_card__stats span {
  color: #7f8a98;
}
.detail_metrics b,
.player_card__stats b {
  color: #e8edf2;
  font-weight: 400;
}
.modal__backdrop {
  background: rgba(4, 7, 11, 0.78);
  backdrop-filter: blur(5px);
}
.modal__dialog {
  border-radius: 12px;
  background: #1a2028;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}
.modal__close {
  color: #8994a1;
}
.modal__team {
  color: #7f8996;
}
.head_to_head {
  border: 1px solid #303a46;
  border-radius: 8px;
  background: #151b22;
}
.head_to_head label,
.player_matches small,
.player_matches span {
  color: #7f8996;
}
.player_matches > div {
  border-color: #2b3540;
}
.empty,
.fatal {
  border-color: #303a46;
  background: #171d24;
  color: #808b99;
  backdrop-filter: none;
}
.toast {
  border: 1px solid #394555;
  background: rgba(23, 30, 39, 0.96);
  color: #eef2f7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
@media (max-width: 600px) {
  .hero,
  .shell {
    width: min(100% - 12px, 1240px);
  }
  .hero {
    margin-top: 6px;
    padding: 16px 16px 22px;
    border-radius: 10px;
  }
  .league_bar {
    margin: 0 -16px 22px;
    padding: 12px 14px;
  }
  .list,
  .match_card,
  .metric,
  .modal__dialog,
  .player_card,
  .table_wrap,
  .tabs {
    border-radius: 9px;
  }
  body {
    padding: 6px 0 24px;
  }
}
.record_item {
  display: grid;
  grid-template-columns: minmax(215px, 0.88fr) minmax(330px, 1.12fr);
  align-items: center;
}
.record_value {
  width: 100%;
}
.record_match {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(120px, 1fr) 42px minmax(120px, 1fr);
  align-items: center;
  gap: 6px;
}
.record_player {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  text-align: right;
}
.record_player--away {
  justify-content: flex-start;
  text-align: left;
}
.record_player > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.record_match strong {
  white-space: nowrap;
  justify-self: center;
  min-width: 38px;
  padding: 3px 6px;
  border: 0;
  border-radius: 4px;
  background: #2f3947;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.form_badges {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.form_badge {
  position: relative;
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.form_badge--win {
  background: #36a96b;
}
.form_badge--draw {
  background: #687483;
}
.form_badge--loss {
  background: #e34f5d;
}
.form_empty {
  color: #687483;
}
.match_round {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #6f7c8b;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.score_editor input::-webkit-inner-spin-button,
.score_editor input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.standings_row {
  cursor: pointer;
  outline: 0;
  user-select: none;
}
.standings_row:focus {
  outline-offset: -2px;
  outline: 0;
}
.player_matches {
  gap: 6px;
}
.player_match_row {
  display: grid;
  grid-template-columns: 58px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 0;
  border-bottom: 1px solid #2b3540;
}
.player_match_round {
  display: inline-grid;
  place-items: center;
  align-self: stretch;
  font-weight: 500;
}
.venue_icon {
  display: grid;
  place-items: center;
}
.player_match_opponent {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
.player_match_opponent > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player_match_opponent small {
  display: block;
  color: #7f8996;
}
.club_logo--opponent {
  width: 26px;
  height: 26px;
}
.player_match_score {
  min-width: 44px;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  text-align: right;
  font-weight: 700;
}
.player_match_score--win {
  background: #258657;
}
.player_match_score--loss {
  background: #b84550;
}
.player_match_score--draw {
  background: #586474;
}
.player_match_add {
  border: 1px solid #3f6dc4;
  border-radius: 6px;
  background: #263b60;
  color: #9dbdff;
  padding: 6px 9px;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .player_match_row {
    grid-template-columns: 52px 25px minmax(0, 1fr);
  }
  .player_match_add,
  .player_match_score {
    grid-column: 3;
    justify-self: end;
  }
  .player_match_add {
    margin-top: -4px;
  }
}
.head_to_head {
  display: none;
}
.player_matches > .player_match_row {
  display: grid;
  grid-template-columns: 50px 50px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  min-height: 50px;
  padding: 7px 0;
}
.player_match_round,
.venue_icon {
  display: inline-grid;
  width: 50px;
  height: 34px;
  place-items: center;
  align-self: center;
  box-sizing: border-box;
  border-radius: 6px;
}
.player_match_round {
  background: #2f3947;
  color: #dfe5ed !important;
  font-size: 11px;
}
.venue_icon {
  background: #2f3947;
  color: #dfe5ed;
  font-size: 16px;
}
.player_match_add,
.player_match_score {
  grid-column: 4;
  justify-self: end;
}
@media (max-width: 600px) {
  .player_matches > .player_match_row {
    grid-template-columns: 46px 46px minmax(0, 1fr) auto;
    column-gap: 7px;
  }
  .player_match_round,
  .venue_icon {
    width: 46px;
    height: 32px;
  }
  .player_match_opponent {
    margin-left: 8px;
  }
  .player_match_add,
  .player_match_score {
    grid-column: 4;
  }
}
.venue_icon--home svg {
  width: 15px;
  height: 15px;
}
.player_match_opponent {
  margin-left: 20px;
}
.player_match_opponent b {
  color: #fff;
  font-weight: 500;
}
.player_matches span.player_match_score {
  color: #fff;
  text-align: center;
}
.player_match_edit {
  cursor: pointer;
}
.player_match_add,
.player_match_edit,
.player_score_cancel,
.player_score_ok {
  transition: opacity 0.15s;
}
.player_match_add:hover,
.player_match_edit:hover,
.player_score_cancel:hover,
.player_score_ok:hover {
  opacity: 0.72;
}
.player_match_score {
  font-size: 14px;
}
.player_match_add {
  font-size: 11px;
}
.player_score_editor {
  display: flex;
  grid-column: 4;
  align-items: center;
  justify-self: end;
  gap: 4px;
  color: #fff !important;
}
.player_score_editor input {
  box-sizing: border-box;
  width: 29px;
  height: 27px;
  border: 1px solid #3d4958;
  border-radius: 5px;
  outline: 0;
  background: #222a34;
  color: #fff;
  text-align: center;
  font-size: 13px;
}
.player_score_editor input:focus {
  border-color: #718199;
}
.player_score_cancel,
.player_score_ok {
  height: 27px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}
.player_score_ok {
  padding: 0 7px;
  background: #258657;
  color: #fff;
}
.player_score_cancel {
  width: 27px;
  background: #394452;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
.hero_season {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #929ca9;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.record_value > small {
  width: 100%;
  text-align: center;
}
@media (max-width: 950px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.modal__dialog .detail_metrics {
  margin-bottom: 30px;
}
body.modal_open {
  overflow: hidden;
}
.delete_score_mobile,
.match_card.is-editing .match_round {
  display: none;
}
@media (max-width: 600px) {
  .player_match_opponent {
    margin-left: 8px;
  }
  .record_item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .record_match {
    grid-template-columns: minmax(100px, 1fr) 42px minmax(100px, 1fr);
  }
  .record_value {
    justify-items: stretch;
  }
  .record_value > small {
    text-align: right;
  }
  .delete_score_desktop {
    display: none;
  }
  .delete_score_mobile {
    display: inline;
  }
}
@media (min-width: 601px) {
  .score_button {
    min-width: 90px;
    margin-top: 15px;
    padding: 5px 14px;
    font-size: 16px;
  }
  .score_editor input {
    width: 53px;
    height: 34px;
  }
  .editor_actions .player_score_cancel,
  .editor_actions .player_score_ok {
    width: auto;
    height: 30px;
    padding: 0 14px;
    font-size: 11px;
  }
  .editor_actions .player_score_cancel {
    font-size: 14px;
  }
}
.delete_score_row {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
}
.delete_score_row .delete_score {
  height: 30px;
  border: 0;
  border-radius: 5px;
  background: #394452;
  color: #fff;
  padding: 0 14px;
  transition: opacity 0.15s;
}
.delete_score_row .delete_score:hover {
  opacity: 0.72;
}
.form_tooltip {
  position: fixed;
  z-index: 40;
  width: 250px;
  padding: 10px;
  border: 1px solid #354150;
  border-radius: 8px;
  background: #171e27;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}
.form_tooltip_round {
  margin-bottom: 7px;
  color: #8e99a7;
  font-size: 10px;
  text-transform: uppercase;
}
.form_tooltip_match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.form_tooltip_teams {
  display: grid;
  gap: 7px;
}
.form_tooltip_teams > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}
.form_tooltip_teams b {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
}
.form_tooltip_logo {
  width: 18px;
  height: 18px;
}
.form_tooltip_score {
  min-width: 43px;
  padding: 5px 7px;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.form_tooltip_score--win {
  background: #258657;
}
.form_tooltip_score--loss {
  background: #b84550;
}
.form_tooltip_score--draw {
  background: #586474;
}
.standings_sort {
  border: 0;
  background: 0 0;
  color: inherit;
  padding: 2px 3px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
}
.standings_sort:hover {
  color: #fff;
}
.standings_sort:after {
  display: inline-block;
  width: 9px;
  margin-left: 2px;
  color: #687483;
  content: "↕";
}
.standings_sort.sort-asc:after {
  content: "↑";
}
.standings_sort.sort-desc:after {
  content: "↓";
}
.activity_section {
  margin-top: 28px;
}
.activity_section h3 {
  margin-bottom: 10px;
}
.activity_log {
  overflow: hidden;
  border: 1px solid #2a333e;
  border-radius: 9px;
  background: #1a2028;
}
.activity_item {
  padding: 12px 15px;
  border-bottom: 1px solid #2b3540;
}
.activity_item:last-child {
  border-bottom: 0;
}
.activity_match,
.activity_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.activity_meta {
  margin-bottom: 8px;
}
.activity_meta b {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.activity_meta > span {
  color: #778391;
  font-size: 10px;
}
.activity_players {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #dfe5ed;
  font-size: 12px;
}
.activity_players > span:not(.activity_dash) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity_dash {
  color: #687483;
}
.activity_logo {
  width: 18px;
  height: 18px;
}
.activity_change {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}
.activity_change small {
  color: #778391;
  font-size: 10px;
}
.activity_change > span {
  color: #7f8996;
  font-size: 11px;
}
.activity_change > span:after {
  margin-left: 6px;
  content: "→";
}
.activity_change b {
  min-width: 37px;
  padding: 4px 6px;
  border-radius: 5px;
  background: #2f3947;
  color: #fff;
  text-align: center;
  font-size: 12px;
}
.activity_empty {
  padding: 24px;
  color: #7f8996;
  text-align: center;
}
.match_card .is-filtered-player .player_identity b {
  font-weight: 700;
}
.detail_metrics--extended {
  grid-template-columns: repeat(5, 1fr);
  row-gap: 22px;
}
.round_mobile {
  display: none;
}
.score_button--played,
.score_button--played span {
  color: #fff;
  font-weight: 700;
}
.score_button--pending {
  font-size: 16px;
}
@media (max-width: 600px) {
  .activity_item {
    padding: 11px;
  }
  .activity_match {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .activity_players {
    width: 100%;
  }
  .activity_change {
    width: 100%;
    justify-content: flex-end;
  }
  .detail_metrics--extended {
    grid-template-columns: repeat(2, 1fr);
  }
  .round_desktop {
    display: none;
  }
  .round_mobile {
    display: inline;
  }
  .player_matches .player_match_opponent small {
    display: none;
  }
  .player_matches > .player_match_row {
    grid-template-columns: 29px 29px minmax(0, 1fr) auto;
    grid-template-rows: 21px auto;
    column-gap: 3px;
    grid-template-columns: 38px 38px minmax(0, 1fr) auto;
    grid-template-rows: 26px auto;
    gap: 7px 6px;
    grid-template-rows: 23px auto;
    gap: 5px 6px;
    padding: 7px 0;
  }
  .match_card .score_button--pending {
    font-size: 10px;
  }
  .standings tbody td:not(:nth-child(2)):not(:last-child) {
    font-size: 12px;
  }
  .standings .rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 10px;
  }
  .standings td:first-child {
    padding-right: 6px;
  }
  .standings td:nth-child(2) {
    padding-left: 6px;
  }
  .standings td:nth-child(2) .player_identity {
    gap: 6px;
    align-items: center;
    transform: translateY(1px);
  }
  .standings tbody td {
    vertical-align: middle;
  }
  .standings td:nth-child(2) .club_logo {
    width: 18px;
    height: 18px;
  }
  .standings td:nth-child(2) .player_identity small {
    display: none;
  }
  .player_match_round,
  .venue_icon {
    width: 38px;
    font-size: 10px;
    height: 23px;
  }
  .player_match_opponent {
    grid-column: 1/4;
    grid-row: 2;
    margin-left: 0;
  }
  .player_match_add,
  .player_match_score,
  .player_score_editor {
    grid-column: 4;
    grid-row: 1/3;
    align-self: center;
    justify-self: end;
    margin-top: 0;
    grid-row: 2;
  }
  .venue_icon {
    font-size: 14px;
  }
  .venue_icon--home svg {
    width: 11px;
    height: 11px;
  }
  .player_match_score {
    min-width: 38px;
    padding: 4px 6px;
    font-size: 12px;
  }
  .match_card {
    grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
    gap: 8px;
    min-height: 132px;
    padding: 24px 10px 12px;
  }
  .match_card .competitor,
  .match_card .competitor--away {
    min-width: 0;
  }
  .match_card .player_identity,
  .match_card .player_identity--away {
    display: flex;
    max-width: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
  }
  .match_card .player_identity span {
    min-width: 0;
    max-width: 100%;
  }
  .match_card .player_identity b,
  .match_card .player_identity small {
    overflow-wrap: anywhere;
  }
  .match_card .club_logo--match {
    width: 34px;
    height: 34px;
  }
  .match_card .match_score {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .match_card .score_button {
    min-width: 62px;
    padding: 5px 10px;
    font-size: 12px;
  }
  .match_card .player_identity--away .club_logo--match {
    order: -1;
  }
  .match_card .player_identity b {
    font-size: 12px;
  }
  .match_card .player_identity small {
    font-size: 11px;
  }
  .match_card .player_identity,
  .match_card .player_identity span,
  .match_card .player_identity--away {
    width: 100%;
    text-align: center;
  }
  .match_card .score_editor {
    gap: 4px;
  }
  .match_card .score_editor input {
    width: 36px;
    height: 36px;
  }
  .match_card .match_round {
    top: 29px;
  }
  .match_card .score_button,
  .match_card .score_button span {
    color: #fff;
    font-weight: 700;
  }
}
.table_wrap,
.tabs {
  scrollbar-width: none;
}
.table_wrap::-webkit-scrollbar,
.tabs::-webkit-scrollbar {
  display: none;
}
.competitor.is-winner b {
  color: #36a96b;
}
.competitor.is-loser b {
  color: #e34f5d;
}
.hero__inner > div {
  width: 100%;
}
.hero_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hero_title h1 {
  margin-bottom: 0;
}
.hero_title .hero_season {
  position: static;
  width: auto;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .hero_title {
    gap: 10px;
  }
  .hero_title h1 {
    font-size: clamp(25px, 8vw, 30px);
  }
  .hero_title .hero_season {
    font-size: 10px;
  }
}
#stats_panel .split {
  margin-top: 40px;
}
#stats_panel .split h3 {
  margin-bottom: 8px;
}
#records_list .record_value {
  display: block;
}
#records_list .record_match {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}
#records_list .record_team_row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  color: #fff;
}
#records_list .record_team_row > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#records_list .record_team_row small {
  display: inline;
  color: #7f8996;
  font-size: 11px;
}
#records_list .record_team_row strong {
  min-width: 22px;
  padding: 0;
  background: 0 0;
  color: #fff;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
}
.record_fact {
  display: block;
  white-space: nowrap;
}
.record_fact small {
  display: block;
  margin-top: 3px;
  text-align: left;
}
.record_match_desktop {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(100px, 1fr) 42px minmax(100px, 1fr);
  align-items: center;
  gap: 6px;
}
.record_match_desktop > strong {
  justify-self: center;
  min-width: 38px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #2f3947;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.record_match_mobile {
  display: none;
}
@media (max-width: 600px) {
  .record_fact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .record_fact small {
    display: inline;
    margin: 0;
    text-align: right;
  }
  .record_match_desktop {
    display: none;
  }
  .record_match_mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: stretch;
    gap: 8px;
  }
  .record_mobile_teams {
    display: grid;
    gap: 5px;
  }
  #records_list .record_team_row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 7px;
  }
  .record_mobile_score {
    display: grid;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    border-radius: 5px;
    background: #2f3947;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
}
.account_bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  background: #111827;
  color: #fff;
  font-size: 14px;
}
.account_bar a,
.account_bar button {
  color: #fff;
}
.account_bar form {
  margin: 0;
}
.account_bar button {
  border: 0;
  background: 0 0;
  text-decoration: underline;
  cursor: pointer;
}
.tabs .tab {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}
