.country-table-wrap {
  overflow-x: auto;
}

.country-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.country-table--wide {
  min-width: 1680px;
}

.country-table th,
.country-table td {
  height: 25px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(108, 157, 196, 0.22);
  border-right: 1px solid rgba(108, 157, 196, 0.15);
  text-align: right;
  white-space: nowrap;
}

.country-table th {
  background: rgba(128, 171, 211, 0.08);
  color: #9eb7ce;
  font-size: 12px;
  font-weight: 720;
}

.country-table th.is-sortable {
  padding: 0;
}

.country-table th:nth-child(2),
.country-table td:nth-child(2) {
  text-align: left;
}

.country-table th:first-child,
.country-table td:first-child {
  width: 42px;
  text-align: center;
}

.table-flag {
  display: inline-block;
  width: 24px;
  margin-right: 8px;
  font-style: normal;
  text-align: center;
}

.sort-header-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  height: 25px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-align: right;
  cursor: pointer;
}

.sort-header-button--left {
  justify-content: flex-start;
  text-align: left;
}

.sort-header-button:hover,
.sort-header-button.is-active {
  color: #e9f6ff;
}

.sort-indicator {
  width: 10px;
  color: #6f8ea8;
  font-size: 10px;
  text-align: center;
}

.sort-header-button.is-active .sort-indicator {
  color: #25d8f5;
}

.table-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 2px;
  border: 1px solid rgba(61, 141, 190, 0.42);
  border-radius: 4px;
  background: rgba(7, 28, 47, 0.72);
}

.table-tabs button {
  height: 24px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #9eb7ce;
  font-size: 12px;
  font-weight: 720;
}

.table-tabs button.is-active {
  background: rgba(37, 216, 245, 0.18);
  color: #e9f6ff;
  box-shadow: inset 0 0 0 1px rgba(37, 216, 245, 0.38);
}

.table-skeleton-row td,
.table-empty-row td {
  border-right: 0;
  text-align: center;
}

.skeleton-table-line {
  width: 100%;
  height: 15px;
  border-radius: 3px;
}

.table-empty-row td {
  height: 76px;
  color: #7f9bb7;
  font-size: 13px;
}

.self-game-table-wrap {
  overflow-x: auto;
}

.self-game-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.self-game-table--wide {
  min-width: 980px;
}

.self-game-table th,
.self-game-table td {
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(108, 157, 196, 0.22);
  color: #d8ebff;
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.self-game-table th {
  background: rgba(128, 171, 211, 0.08);
  color: #9eb7ce;
  font-weight: 720;
}

.self-game-table th:first-child,
.self-game-table td:first-child,
.self-game-table th:nth-child(2),
.self-game-table td:nth-child(2) {
  text-align: left;
}

.definition-list {
  display: grid;
  gap: 8px;
}

.definition-row {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(81, 154, 203, 0.2);
  border-radius: 8px;
  background: rgba(6, 27, 46, 0.72);
}

.definition-row strong {
  color: #e9f6ff;
  font-size: 13px;
  font-weight: 760;
}

.definition-row span {
  color: #9eb7ce;
  font-size: 12px;
  line-height: 1.45;
}

.risk-user-cell {
  display: grid;
  min-width: 0;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  text-align: left;
}

.risk-user-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(39, 228, 245, 0.28);
  border-radius: 50%;
  background: rgba(39, 228, 245, 0.12);
  color: #e9f6ff;
  font-size: 12px;
  font-weight: 760;
  object-fit: cover;
}

.risk-user-avatar--empty {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.risk-user-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.risk-user-copy strong,
.risk-user-copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-user-copy strong {
  color: #e9f6ff;
  font-size: 12px;
  font-weight: 760;
}

.risk-user-copy small {
  color: #88a7c2;
  font-size: 10px;
}
