.repo-home {
  padding: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.home-title {
  font-size: 24px;
  color: #fff;
}

.btn-new {
  background: #4c6b22;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-new:hover {
  background: #5cb83f;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.repo-card {
  background: #1e2a3a;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 18px;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.repo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 192, 244, 0.3);
}

.repo-name {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  word-break: break-all;
}

.repo-meta {
  color: #66c0f4;
  font-size: 12px;
}

.repo-detail-main {
  padding: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.repo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 6px;
}

.repo-title {
  font-size: 26px;
  color: #fff;
  margin-bottom: 6px;
  word-break: break-all;
}

.repo-sub {
  font-size: 13px;
  color: #8b8b8b;
}

.repo-head-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-download {
  background: #2a475e;
  color: #66c0f4;
  border: 1px solid rgba(102, 192, 244, 0.4);
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-download:hover {
  background: #3a6a8a;
  color: #fff;
}

.btn-join {
  background: #4c6b22;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-join:hover {
  background: #5cb83f;
}
