.ranking-page {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  padding: 104px 0 64px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.ranking-heading {
  position: relative;
  margin: 0 0 26px;
  padding: 0 5px 16px 16px;
  border-left: 2px solid #38bdff;
  border-bottom: 1px solid rgba(83, 104, 125, .42);
}

.ranking-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 190px;
  height: 1px;
  background: #38bdff;
  box-shadow: 0 0 10px rgba(56, 189, 255, .45);
}

.ranking-heading small {
  display: block;
  color: #56c6ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.ranking-heading h1 {
  margin: 6px 0 3px;
  color: #edf5ff;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 2px;
}

.ranking-heading p {
  margin: 0;
  color: #8195a8;
  font-size: 11px;
  letter-spacing: 2.4px;
}

.ranking-shell {
  border-top: 1px solid #29465d;
  border-bottom: 1px solid #29465d;
  background: linear-gradient(90deg, rgba(13,27,40,.88), rgba(8,19,29,.82) 66%, rgba(6,16,25,.72));
}

.ranking-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #29465d;
}

.ranking-tabs a {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-width: 0;
  padding: 17px 20px;
  border-right: 1px solid #29465d;
  background: rgba(6, 18, 28, .42);
  transition: background .15s ease, border-color .15s ease;
}

.ranking-tabs a:last-child {
  border-right: 0;
}

.ranking-tabs a:hover,
.ranking-tabs a.active {
  background: rgba(19, 61, 86, .42);
}

.ranking-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #38bdff;
  box-shadow: 0 0 9px rgba(56,189,255,.45);
}

.ranking-tabs span {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #276b91;
  color: #64cbff;
  background: rgba(31,130,183,.08);
  font-size: 10px;
  letter-spacing: 1px;
}

.ranking-tabs strong {
  align-self: end;
  color: #dce9f5;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.ranking-tabs small {
  margin-top: 3px;
  color: #71879a;
  font-size: 10px;
  letter-spacing: .5px;
}

.ranking-panel {
  padding: 28px 30px 32px;
}

.ranking-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(83,104,125,.28);
}

.ranking-panel-head small {
  display: block;
  color: #56c6ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
}

.ranking-panel-head h2 {
  margin: 4px 0 0;
  color: #dce9f5;
  font-size: 15px;
  letter-spacing: 1.6px;
}

.ranking-panel-head > span {
  padding: 7px 11px;
  border: 1px solid #276b91;
  color: #64cbff;
  background: rgba(31,130,183,.08);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.ranking-table-wrap {
  overflow-x: auto;
  border: 1px solid #263f52;
  background: rgba(5,15,23,.46);
}

.ranking-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: auto;
}

.ranking-table-guild {
  min-width: 620px;
}

.ranking-table th {
  height: 39px;
  padding: 0 14px;
  border-bottom: 1px solid #31536c;
  color: #6fcfff;
  background: rgba(18,51,71,.52);
  font-size: 9px;
  font-weight: 600;
  text-align: left;
  letter-spacing: 1.3px;
  white-space: nowrap;
}

.ranking-table td {
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(55,78,96,.42);
  color: #a9bac8;
  font-size: 11px;
  white-space: nowrap;
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.ranking-table tbody tr:hover td {
  background: rgba(33, 87, 117, .15);
}

.ranking-table .rank-col {
  width: 76px;
  text-align: center;
}

.ranking-table .number-col {
  text-align: right;
}

.ranking-table .name-col {
  color: #e0ebf5;
  font-weight: 600;
  letter-spacing: .4px;
}

.rank-number {
  display: inline-grid;
  width: 31px;
  height: 25px;
  place-items: center;
  border: 1px solid #315a73;
  color: #83d6ff;
  background: rgba(25,85,116,.09);
  font-size: 9px;
  letter-spacing: 1px;
}

.ranking-table tr.top-rank .rank-number {
  border-color: #38bdff;
  color: #dff6ff;
  background: rgba(37,142,195,.18);
}

.ranking-table tr.top-rank .name-col {
  color: #75d3ff;
}

.ranking-primary-value {
  color: #7bd7ff !important;
  font-weight: 600;
}

.ranking-status {
  padding: 17px 18px;
  border: 1px solid #2b607d;
  border-left: 3px solid #38bdff;
  color: #a9c5d6;
  background: rgba(18,51,71,.30);
  font-size: 11px;
  line-height: 1.6;
}

.ranking-status-error {
  border-color: #7c3b43;
  border-left-color: #d85b68;
  color: #d7a6ac;
  background: rgba(94,34,42,.20);
}

@media (max-width: 760px) {
  .ranking-page {
    width: min(100% - 24px, 1180px);
    padding-top: 86px;
  }

  .ranking-tabs {
    grid-template-columns: 1fr;
  }

  .ranking-tabs a {
    border-right: 0;
    border-bottom: 1px solid #29465d;
  }

  .ranking-tabs a:last-child {
    border-bottom: 0;
  }

  .ranking-panel {
    padding: 22px 14px 24px;
  }

  .ranking-heading h1 {
    font-size: 28px;
  }

}
