.ranking-stage {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 28px;
  box-sizing: border-box;
}

.ranking-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
  text-align: center;
}

.ranking-tabs {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 20px;
}

.ranking-tab {
  flex: 1;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 12px 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

.ranking-tab-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.7;
}

.ranking-tab.active {
  background: #fff;
  border-color: #fff;
  color: #131313;
}

.ranking-list {
  width: 100%;
  max-width: 420px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
}

.ranking-rank {
  width: 24px;
  font-weight: 800;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.ranking-row:nth-child(1) .ranking-rank {
  color: #ffd54a;
}
.ranking-row:nth-child(2) .ranking-rank {
  color: #d9d9d9;
}
.ranking-row:nth-child(3) .ranking-rank {
  color: #d98a4a;
}

.ranking-name {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
}

.ranking-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.ranking-score {
  font-size: 16px;
  font-weight: 800;
}

.ranking-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  padding: 40px 0;
}

.back-link {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-decoration: none;
}
