.qq-group-link {
  text-align: center;
  margin-bottom: 20px;
}

.qq-group-link a {
  color: #1a73e8;
  text-decoration: none;
}

.qq-group-link a:hover {
  text-decoration: underline;
}

#path {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.home,
.path-segment {
  margin-right: 10px;
  cursor: pointer;
  color: #1a73e8;
  text-decoration: none;
}

.home:hover,
.path-segment:hover {
  text-decoration: underline;
}

.path-separator {
  margin: 0 5px;
  color: #616161;
}

#catalog {
  list-style-type: none;
  padding-left: 15px;
  margin: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

ul {
  padding: 0px;
}

li {
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
}

li:hover {
  background-color: #f8f9fa;
}

li.file {
  color: #1a73e8;
  text-decoration: none;
}

li.file:hover {
  text-decoration: underline;
}

.folder-icon {
  margin-right: 10px;
  color: #616161;
}

.file-icon {
  margin-right: 10px;
  color: #1a73e8;
}

.empty-message {
  color: #95a5a6;
  text-align: center;
  padding: 20px;
  font-style: italic;
  font-weight: 300;
}

#markdown-content {
  margin-top: 20px;
  padding: 24px 32px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
}

#markdown-content h1,
#markdown-content h2,
#markdown-content h3 {
  color: #1a73e8;
  margin: 0 0 20px 0;
}

#markdown-content p {
  color: #333;
  margin: 16px 0;
  font-size: 16px;
}

#markdown-content img {
  max-width: 100%;
  border-radius: 4px;
  margin: 20px 0;
}

#markdown-content li {
  padding: 2px 5px;
}

#giscus-button {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  transition: background-color 0.3s ease;
}

#giscus-button:hover {
  background-color: #0056b3;
}

#giscus-button:active {
  background-color: #004085;
  transform: translateY(1px);
}

#giscus-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.loading {
  position: fixed;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.loading-spinner {
  width: 64px;
  height: 64px;
  border: 8px solid rgba(26, 115, 232, 0.1);
  border-top: 8px solid #1a73e8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading.hide {
  display: none;
}

.hidden {
  display: none;
}

#copy-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 1000;
}
