body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
  color: #333;
}
/* 居中容器 */
.center-container {
  text-align: center;
  margin: 20px 0;
}
/* 链接按钮样式 */
.icon-link {
  display: inline-block;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin: 2px;
  transition: opacity 0.3s, transform 0.2s;
  position: relative;
}

.icon-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.icon-link i {
  margin-right: 6px;
}

/* 平台特定颜色 */
.bilibili-link {
  background: #00a1d6;
}

.steam-link {
  background: #1b2838;
}

.gitee-link {
  background: #c71d23;
}

.github-link {
  background: #333;
}

/* GitHub 链接状态指示器 */
.github-link-status {
  position: relative;
}

/* 状态指示点 */
.status-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-dot-top {
  top: 5px;
  right: 5px;
}

.status-dot-right {
  top: 25%;
  right: -20px;
}

/* 状态颜色 */
.status-online {
  background-color: #03dc6c;
}

.status-warning {
  background-color: #f9aa6f;
}

/* 文本样式 */
.strikethrough {
  text-decoration: line-through;
}

.italic-border {
  font-style: italic;
  border: 1px solid rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  display: inline-block;
}

.italic-gray {
  color: lightgray;
  font-style: italic;
}

/* Tooltip 样式 */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: help;
}

.tooltip-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  background-color: #333;
  color: white;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tooltip-dot::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  margin-bottom: 3px;
}

.tooltip-dot:hover::after,
.tooltip-dot:hover::before {
  opacity: 1;
  visibility: visible;
}
