.content-page {
  padding: 34px 0 56px;
}

.content-page--compact {
  padding-top: 28px;
  padding-bottom: 48px;
}

.page-hero {
  margin-bottom: 18px;
}

.page-hero--compact {
  margin-bottom: 14px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.02;
  color: #fff;
}

.page-hero p {
  margin: 0;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-muted);
}

.table-card {
  background: var(--panel-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-card--compact {
  border-radius: 16px;
}

.table-card-head {
  padding: 14px 18px;
  background: var(--css-red);
  color: #fff;
}

.table-card-head--compact {
  padding: 12px 16px;
}

.table-card-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

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

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-dark);
}

.ranking-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: #222;
  background: #f4f4f4;
  border-bottom: 1px solid var(--panel-line);
  white-space: nowrap;
  line-height: 1.2;
}

.ranking-table tbody td {
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1.3;
  border-bottom: 1px solid #ececec;
  vertical-align: middle;
}

.ranking-table tbody tr:hover {
  background: #fafafa;
}

.ranking-table--compact .col-no {
  width: 58px;
  white-space: nowrap;
}

.ranking-table--compact .col-count {
  width: 72px;
  white-space: nowrap;
}

.table-main-link {
  font-weight: 700;
  color: var(--css-red);
}

.table-main-link:hover {
  text-decoration: underline;
}

.table-sub-link {
  color: #333;
}

.table-sub-link:hover {
  color: var(--css-red);
  text-decoration: underline;
}

.table-empty {
  color: #999;
}

.table-state {
  padding: 18px 16px;
  background: #ffffff;
  color: #222;
  font-size: 14px;
  line-height: 1.45;
}

.table-state-error {
  color: #9c1f1f;
}