:root {
  --primary-bg: #151315;
  --color-text: #cecaca;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body,
html {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  background-color: var(--primary-bg);
  color: var(--color-text);
  font-family: Gilroy, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.footer,
.header {
  flex-shrink: 0;
}
.main {
  flex: 1 0 auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.main__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
*,
::after,
::before {
  box-sizing: border-box;
}
a,
a:hover {
  text-decoration: none;
}
button {
  border: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  -webkit-user-drag: none;
  user-select: none;
  object-position: center;
}
.sidebar {
  display: none;
}
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
}
p {
  font-size: 16px;
  line-height: 25px;
  margin: 10px 0;
}
table {
  background-color: #272021;
  padding: 20px 24px;
  border-radius: 8px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
table thead tr th span:first-child {
  display: block;
}
table thead tr th span:nth-child(2) {
  display: none;
}
th {
  color: #bcbcd1;
  font-family: Gilroy;
  padding: 12px 16px;
  text-align: left;
  font-weight: 400;
}
tr {
  border-top: none;
}
thead tr,
tbody tr {
  background-image: linear-gradient(90deg, #fff0 0%, rgb(255 255 255 / 0.05) 50.52%, #fff0 100%);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 4px;
}
tbody tr:last-child {
  background-image: none;
}
table tbody tr td,
table tbody tr td p {
  font-size: 14px;
  line-height: 20px;
  font-family: Gilroy;
  color: #fff;
}
thead {
  background-color: #433739;
}
thead tr > :first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
thead tr > :last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
thead tr > *,
body.modal-lock {
  overflow: hidden;
}
table tbody tr td p {
  background-color: #2c2425;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
}
td {
  padding: 12px 16px;
}
table tbody tr td div span:nth-child(2) {
  display: none;
  color: #cecaca;
  font-size: 10px;
  font-family: Gilroy;
  line-height: 16px;
}
td[colspan],
td[rowspan] {
  text-align: center;
  vertical-align: middle;
}
table tbody tr td:nth-child(1) {
  color: #cecaca;
}
table tbody tr td:last-child {
  width: 100%;
  margin-left: auto;
}
@media (max-width: 959px) {
  .main__container {
    gap: 12px;
  }
  .container {
    padding-inline: 12px;
  }
}
@media (max-width: 940px) {
  table tbody tr td div,
  table td,
  table th {
    min-width: 0;
    overflow: hidden;
  }
  table {
    table-layout: fixed;
    padding: 16px 14px;
  }
  table th:nth-child(2),
  table td:nth-child(2) {
    width: 50%;
  }
  table thead tr:has(> th:nth-child(4)) th:last-child {
    width: 90px;
  }
  table tbody tr td div span:nth-child(2),
  table thead tr th span:nth-child(2) {
    display: block;
  }
  table tbody tr td:last-child {
    padding-right: 12px;
  }
  table tbody tr td div {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  table {
    width: 100%;
    table-layout: fixed;
  }
  table tbody tr td div span:first-child {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  table tbody tr td div span:nth-child(2) {
    white-space: normal;
  }
}
@media screen and (max-width: 600px) {
  table tbody tr td p,
  td,
  th {
    font-size: 12px;
  }
}
@media screen and (max-width: 550px) {
  table tbody tr td,
  table tbody tr td p {
    font-size: 12px;
  }
}
@media screen and (max-width: 500px) {
  table th:nth-child(2),
  table td:nth-child(2) {
    width: 40%;
  }
  table thead tr th,
  table thead tr th:first-child,
  table tbody tr td,
  table tbody tr td:first-child {
    padding: 12px 10px;
  }
}
@media screen and (max-width: 425px) {
  table thead tr th,
  table thead tr th:first-child,
  table tbody tr td,
  table tbody tr td:first-child {
    padding: 10px;
    font-size: 10px;
  }
  table {
    padding: 10px 8px;
  }
}
@media screen and (max-width: 410px) {
  table tbody tr td:last-child {
    padding: 16px 12px;
  }
}
@media screen and (max-width: 350px) {
  table thead tr th,
  table thead tr th:first-child,
  table tbody tr td,
  table tbody tr td:first-child {
    padding: 8px;
  }
  table th:nth-child(2),
  table td:nth-child(2) {
    width: auto;
  }
}
@media screen and (max-width: 330px) {
  table {
    padding: 10px 8px;
  }
}
