* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body.scoreboard-page {
  min-height: 100vh;
  background: #ffffff;
  color: #262626;
  font-family: "Inter", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.scoreboard {
  min-height: 100vh;
  background: #ffffff;
}
.scoreboard__container {
  max-width: 1624px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
}
.scoreboard__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: flex-start;
}

/* HEADER */
.scoreboard-header {
  background: #000000;
  border-bottom: 1px solid #E1E8F0;
  padding: 12px 32px;
}
.scoreboard-header__inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.scoreboard-header__logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
}
.scoreboard-header__text {
  text-align: left;
}
.scoreboard-header__text h1 {
  font-family: "Oswald";
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(90deg, #BF9932 0%, #FEE5A0 50%, #BF9932 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.scoreboard-header__text p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
  font-weight: 400;
}

/* LEFT CARD */
.scoreboard-leader {
  min-width: 0;
}
.scoreboard-leader__logo-box {
  margin-bottom: 16px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  justify-content: center;
}
.scoreboard-leader__logo-box img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.scoreboard-leader__card {
  background: #ffffff;
  border: 1px solid #E1E8F0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.scoreboard-leader__group {
  padding: 12px;
}
.scoreboard-leader__group p {
  color: rgba(38, 38, 38, 0.7);
  font-size: 12px;
  font-weight: 400;
  font-family: "Inter";
  line-height: 16px;
  text-align: center;
}
.scoreboard-leader__body {
  padding: 16px;
}
.scoreboard-leader__person {
  margin-bottom: 16px;
  text-align: center;
}
.scoreboard-leader__person h2 {
  margin-bottom: 4px;
  color: #262626;
  font-size: 18px;
  font-family: "Inter";
  line-height: 27px;
  letter-spacing: 0;
  font-weight: 600;
}
.scoreboard-leader__person p {
  margin-bottom: 12px;
  color: #8C8C8C;
  font-size: 12px;
  font-weight: 400;
  font-family: "Inter";
  line-height: 16px;
  letter-spacing: 0;
}
.scoreboard-leader__place {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 4px;
  background: #BF9932;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald";
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  font-weight: 700;
}
.scoreboard-leader__apparatus {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: #F5F5F7;
  color: #262626;
  font-size: 12px;
  font-family: "Inter";
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
}
.scoreboard-leader__score-card {
  padding: 16px;
  border: 1px solid #E1E8F0;
  border-radius: 4px;
  background: #F5F5F7;
}
.scoreboard-leader__final {
  margin-bottom: 16px;
  text-align: center;
}
.scoreboard-leader__final span {
  display: block;
  margin-bottom: 8px;
  color: #BF9932;
  font-size: 12px;
  font-family: "Inter";
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
}
.scoreboard-leader__final strong {
  color: #262626;
  font-family: "Oswald";
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}
.scoreboard-leader__score-row {
  padding: 8px 0;
  border-bottom: 1px solid #E1E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.scoreboard-leader__score-row:last-child {
  border-bottom: none;
}
.scoreboard-leader__score-row span {
  color: #8C8C8C;
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter";
  line-height: 20px;
}
.scoreboard-leader__score-row strong {
  color: #262626;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  font-family: "Inter";
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* TABLE */
.scoreboard-table-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #E1E8F0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.scoreboard-table-card__header {
  padding: 16px;
  background: #262626;
  border-bottom: 2px solid #262626;
  text-align: center;
}
.scoreboard-table-card__header h2 {
  color: #ffffff;
  font-family: "Oswald";
  font-size: 22px;
  line-height: 33px;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.scoreboard-table-card__header p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: "Inter";
  font-weight: 400;
  line-height: 20px;
}
.scoreboard-table-card__tools {
  padding: 12px 16px;
  border-bottom: 1px solid #E1E8F0;
  background: #ffffff;
}
.scoreboard-table-card__table-wrap {
  overflow-x: auto;
}

.scoreboard-search {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #E1E8F0;
  border-radius: 4px;
  background: #F5F5F7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scoreboard-search img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.6;
}
.scoreboard-search input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #262626;
  font-size: 14px;
  line-height: 20px;
}
.scoreboard-search input::placeholder {
  color: #8C8C8C;
}

.scoreboard-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.scoreboard-table thead tr {
  background: #E5E5EA;
  border-bottom: 1px solid #E1E8F0;
}
.scoreboard-table thead th {
  padding: 12px 16px;
  color: #262626;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter";
  line-height: 21px;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.scoreboard-table thead th:nth-child(4), .scoreboard-table thead th:nth-child(5) {
  text-align: left;
  padding-left: 2px;
}
.scoreboard-table tbody {
  background: #F9FAFB;
}
.scoreboard-table tr {
  border-bottom: 1px solid #E1E8F0;
}
.scoreboard-table tbody tr[data-athlete-id] {
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.scoreboard-table tbody tr[data-athlete-id]:hover {
  background: #F3F4F6;
}
.scoreboard-table tbody tr[data-athlete-id].is-active {
  background: #BF9932;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.scoreboard-table tbody tr[data-athlete-id].is-active td,
.scoreboard-table tbody tr[data-athlete-id].is-active .scoreboard-table__last-name,
.scoreboard-table tbody tr[data-athlete-id].is-active .scoreboard-table__first-name,
.scoreboard-table tbody tr[data-athlete-id].is-active .scoreboard-table__club,
.scoreboard-table tbody tr[data-athlete-id].is-active .scoreboard-table__score {
  color: #ffffff;
}
.scoreboard-table tbody tr[data-athlete-id].is-active .scoreboard-table__place {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.scoreboard-table tbody tr[data-athlete-id].is-active .scoreboard-table__place-icon {
  filter: brightness(0) invert(1);
}
.scoreboard-table td {
  padding: 12px 16px;
  color: #262626;
  font-size: 14px;
  font-family: "Inter";
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0;
  vertical-align: middle;
}
.scoreboard-table td:nth-child(4) {
  padding-left: 12px;
  text-align: center;
}
.scoreboard-table td:nth-child(5) {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}
.scoreboard-table button {
  width: 100%;
  border: none;
  cursor: inherit;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: inherit;
}
.scoreboard-table__person {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.scoreboard-table__place-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}
.scoreboard-table__last-name {
  color: #262626;
  font-weight: 400;
}
.scoreboard-table__first-name {
  color: #BF9932;
  font-weight: 400;
}
.scoreboard-table__club {
  color: #8C8C8C;
  font-size: 14px;
  font-family: "Inter";
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0;
}
.scoreboard-table__place {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #D2AD51;
  color: #ffffff;
  display: inline-block;
  font-size: 12px;
  font-family: "Inter";
  line-height: 18px;
  letter-spacing: 0;
  font-weight: 700;
  text-align: center;
}
.scoreboard-table__score {
  color: #262626;
  font-family: "Oswald";
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0;
}
.scoreboard-table__empty {
  padding: 28px 16px;
  color: #8C8C8C;
  text-align: center;
}

/* GROUPS */
.scoreboard-groups {
  min-width: 0;
}
.scoreboard-groups__card {
  padding: 24px;
  border: 1px solid #E1E8F0;
  border-radius: 4px;
  background: #F5F5F7;
}
.scoreboard-groups__header {
  margin-bottom: 12px;
}
.scoreboard-groups__header h3 {
  margin-bottom: 4px;
  color: #262626;
  font-size: 18px;
  font-family: "Inter";
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 0;
}
.scoreboard-groups__header p {
  color: rgba(38, 38, 38, 0.7);
  font-size: 12px;
  font-family: "Inter";
  line-height: 18px;
  letter-spacing: 0;
}
.scoreboard-groups__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scoreboard-group-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  color: #262626;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.scoreboard-group-btn:hover {
  background: #F9FAFB;
}
.scoreboard-group-btn.is-active {
  background: rgba(191, 153, 50, 0.1);
  color: #262626;
  font-weight: 500;
}

/* FOOTER */
.scoreboard-footer {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #E1E8F0;
  border-radius: 4px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.scoreboard-footer p {
  margin-bottom: 4px;
  font-family: "Oswald";
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(90deg, #BF9932 0%, #FEE5A0 50%, #BF9932 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.scoreboard-footer span {
  color: #8C8C8C;
  font-size: 14px;
  font-family: "Inter";
  font-weight: 400;
  line-height: 20px;
}

/* ADAPTIVE */
@media (max-width: 1320px) {
  .scoreboard__container {
    padding: 20px;
  }
  .scoreboard__layout {
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    gap: 20px;
  }
  .scoreboard-leader__final strong {
    font-size: 42px;
  }
  .scoreboard-groups__card {
    padding: 18px;
  }
}
@media (max-width: 1240px) {
  .scoreboard__layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .scoreboard-groups {
    grid-column: 1/-1;
  }
}
@media (max-width: 1024px) {
  .scoreboard {
    min-width: 0;
  }
  .scoreboard__container {
    max-width: 100%;
    padding: 16px;
  }
  .scoreboard__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scoreboard-leader,
  .scoreboard-table-card,
  .scoreboard-groups {
    width: 100%;
    min-width: 0;
    grid-column: 1/-1;
  }
  .scoreboard-table-card__table-wrap {
    width: 100%;
    overflow-x: auto;
  }
  .scoreboard-table {
    min-width: 680px;
  }
  .scoreboard-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .scoreboard-header__logo {
    width: 56px;
    height: 56px;
  }
}
/* FONTS */
@font-face {
  font-family: "DM Sans";
  src: url(../fonts/DM_Sans/DMSans_18pt-Regular.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(../fonts/DM_Sans/DMSans_18pt-Medium.ttf);
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(../fonts/DM_Sans/DMSans_18pt-SemiBold.ttf);
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(../fonts/DM_Sans/DMSans_18pt-Bold.ttf);
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter/Inter_18pt-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter/Inter_18pt-Medium.ttf);
  font-weight: 500;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter/Inter_18pt-SemiBold.ttf);
  font-weight: 600;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter/Inter_18pt-Bold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald/Oswald-Medium.ttf);
  font-weight: 500;
}
@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald/Oswald-SemiBold.ttf);
  font-weight: 600;
}
@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald/Oswald-Bold.ttf);
  font-weight: 700;
}

/*# sourceMappingURL=online-scoreboard.css.map */
