/* ============ 简洁页脚 ============ */
#footer {
  background: var(--heo-card-bg);
  border-top: 1px solid var(--heo-card-border, color-mix(in srgb, var(--heo-theme) 12%, transparent));
  color: var(--heo-fontcolor);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
  display: block;
}

.fclean {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

/* ---------- 主体：左品牌 + 右链接 ---------- */
.fclean__main {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.fclean__brand {
  flex: 0 1 auto;
  min-width: 220px;
}

.fclean__name {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--heo-fontcolor);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}
.fclean__name:hover {
  color: var(--heo-theme);
}

.fclean__slogan {
  margin: 8px 0 18px;
  color: var(--heo-secondfont, #858585);
  font-size: 13px;
  max-width: 320px;
}

.fclean__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fclean__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--heo-secondfont, #858585);
  text-decoration: none;
  font-size: 15px;
  background: color-mix(in srgb, var(--heo-fontcolor) 5%, transparent);
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fclean__socials a i {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s;
}
.fclean__socials a svg,
.fclean__socials a img {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.25s;
}
.fclean__socials a:hover {
  color: #fff;
  background: var(--heo-theme);
  transform: translateY(-2px);
}
.fclean__socials a:hover i,
.fclean__socials a:hover svg,
.fclean__socials a:hover img {
  transform: scale(1.12);
}

/* ---------- 链接列 ---------- */
.fclean__cols {
  display: flex;
  gap: 56px;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.fclean__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fclean__col-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heo-fontcolor);
}
.fclean__link {
  color: var(--heo-secondfont, #858585);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.fclean__link:hover {
  color: var(--heo-theme);
}

/* 友链由 JS 注入，class 为 footer-item */
.fclean__col .footer-item {
  display: block;
  color: var(--heo-secondfont, #858585);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
  transition: color 0.2s;
}
.fclean__col .footer-item:hover {
  color: var(--heo-theme);
}

/* 「更多」入口：与普通友链区分 */
.fclean__col .footer-item--more {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--heo-card-border, color-mix(in srgb, var(--heo-fontcolor) 12%, transparent));
  color: var(--heo-theme);
  font-weight: 500;
}
.fclean__col .footer-item--more:hover {
  opacity: 0.75;
}

/* ---------- 底条 ---------- */
.fclean__bar {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--heo-card-border, color-mix(in srgb, var(--heo-fontcolor) 10%, transparent));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fclean__bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--heo-secondfont, #858585);
}
.fclean__bar-left a {
  color: var(--heo-secondfont, #858585);
  text-decoration: none;
  transition: color 0.2s;
}
.fclean__bar-left a:hover {
  color: var(--heo-theme);
}
.fclean__sep {
  color: var(--heo-secondfont, #858585);
  opacity: 0.4;
}
.fclean__powered a {
  color: var(--heo-secondfont, #858585);
}
.fclean__powered a:hover {
  color: var(--heo-theme);
}

/* 回顶按钮 */
.fclean__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--heo-card-border, color-mix(in srgb, var(--heo-fontcolor) 15%, transparent));
  background: transparent;
  color: var(--heo-fontcolor);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.25s;
}
.fclean__top:hover {
  border-color: var(--heo-theme);
  color: #fff;
  background: var(--heo-theme);
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 768px) {
  .fclean {
    padding: 32px 18px 0;
  }
  .fclean__main {
    flex-direction: column;
    gap: 28px;
  }
  .fclean__cols {
    justify-content: flex-start;
    gap: 32px;
    width: 100%;
  }
  .fclean__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
