/* ҳ����ͷͼ͸�� */
#footer {
    background: transparent !important;
}

#page-header {
    background: transparent !important;
}

/* ����ģʽ����͸�� */
#footer::before {
    background: transparent !important;
}

#page-header::before {
    background: transparent !important;
}

/* ҹ��ģʽ����͸�� */
[data-theme="dark"] #footer::before {
    background: transparent !important;
}

[data-theme="dark"] #page-header::before {
    background: transparent !important;
}

@font-face {
    /* Ϊ���������ȡ����(����) */
    font-family: 'csl';
    /* �����ļ���ַ(��Ի��߾���·��������) */
    src: url(/font/������.ttf);
    /* ����Ӵ���ʽ(�Ӵֶ���) */
    font-weight: 600;
    /* ����������ʽ(б��/��б��) */
    font-style: normal;
    /* ������ʾ��ʽ */
    font-display: block;
}
/* �ռ�ģʽ����Ч */
[data-theme="light"] #site-name,
[data-theme="light"] #site-title,
[data-theme="light"] #site-subtitle,
[data-theme="light"] #post-info {
    animation: none;
}
/* ҹ��ģʽ��Ч */
[data-theme="dark"] #site-name,
[data-theme="dark"] #site-title {
    animation: light_15px 10s linear infinite;
}

[data-theme="dark"] #site-subtitle {
    animation: light_10px 10s linear infinite;
}

[data-theme="dark"] #post-info {
    animation: light_5px 10s linear infinite;
}
/* �ؼ�֡���� */
@keyframes light_15px {
    0% {
        text-shadow: #5636ed 0 0 15px;
    }

    12.5% {
        text-shadow: #11ee5e 0 0 15px;
    }

    25% {
        text-shadow: #f14747 0 0 15px;
    }

    37.5% {
        text-shadow: #f1a247 0 0 15px;
    }

    50% {
        text-shadow: #f1ee47 0 0 15px;
    }

    50% {
        text-shadow: #b347f1 0 0 15px;
    }

    62.5% {
        text-shadow: #002afa 0 0 15px;
    }

    75% {
        text-shadow: #ed709b 0 0 15px;
    }

    87.5% {
        text-shadow: #39c5bb 0 0 15px;
    }

    100% {
        text-shadow: #5636ed 0 0 15px;
    }
}

@keyframes light_10px {
    0% {
        text-shadow: #5636ed 0 0 10px;
    }

    12.5% {
        text-shadow: #11ee5e 0 0 10px;
    }

    25% {
        text-shadow: #f14747 0 0 10px;
    }

    37.5% {
        text-shadow: #f1a247 0 0 10px;
    }

    50% {
        text-shadow: #f1ee47 0 0 10px;
    }

    50% {
        text-shadow: #b347f1 0 0 10px;
    }

    62.5% {
        text-shadow: #002afa 0 0 10px;
    }

    75% {
        text-shadow: #ed709b 0 0 10px;
    }

    87.5% {
        text-shadow: #39c5bb 0 0 10px;
    }

    100% {
        text-shadow: #5636ed 0 0 10px;
    }
}

@keyframes light_5px {
    0% {
        text-shadow: #5636ed 0 0 5px;
    }

    12.5% {
        text-shadow: #11ee5e 0 0 5px;
    }

    25% {
        text-shadow: #f14747 0 0 5px;
    }

    37.5% {
        text-shadow: #f1a247 0 0 15px;
    }

    50% {
        text-shadow: #f1ee47 0 0 5px;
    }

    50% {
        text-shadow: #b347f1 0 0 5px;
    }

    62.5% {
        text-shadow: #002afa 0 0 5px;
    }

    75% {
        text-shadow: #ed709b 0 0 5px;
    }

    87.5% {
        text-shadow: #39c5bb 0 0 5px;
    }

    100% {
        text-shadow: #5636ed 0 0 5px;
    }
}
/* === Waline 评论登录引导提示 === */
#post-comment .comment-wrap::before {
  content: "💬 直接在下方输入昵称即可评论，无需注册～ 想要拥有头像/修改评论/防冒名身份？可点登录注册 (｡･ω･｡)ﾉ";
  display: block;
  background: linear-gradient(135deg, rgba(73,177,245,0.08), rgba(73,177,245,0.02));
  border-left: 3px solid #49b1f5;
  padding: 10px 14px;
  margin: 0 0 16px 0;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--font-color, #4c4948);
}

html[data-theme="dark"] #post-comment .comment-wrap::before {
  background: linear-gradient(135deg, rgba(99,205,255,0.12), rgba(99,205,255,0.03));
  border-left-color: #63cdff;
  color: #c2c2c2;
}

/* Projects page */
#projects {
  margin-top: 20px;
}
.project-card {
  display: flex;
  gap: 20px;
  background: var(--card-bg, #fff);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  align-items: flex-start;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.project-img {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.project-info {
  flex: 1;
  min-width: 0;
}
.project-info h3 {
  margin: 0 0 8px;
  font-size: 1.3em;
}
.project-info h3 a {
  color: var(--theme-color, #49b1f5);
  text-decoration: none;
}
.project-info p {
  margin: 0 0 12px;
  color: var(--font-color, #4c4948);
  line-height: 1.6;
}
.project-tag {
  display: inline-block;
  background: var(--theme-color, #49b1f5);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  margin-right: 6px;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .project-card {
    flex-direction: column;
  }
  .project-img {
    width: 100%;
    height: 180px;
  }
}

/* 放大正文字体，提升阅读体验 */
body {
  font-size: 17px;
}
#post .article-content,
.layout .post-content {
  font-size: 18px;
  line-height: 1.9;
}
#post .article-content p,
.layout .post-content p {
  margin: 1.2em 0;
}
#post .article-content h1,
#post .article-content h2,
#post .article-content h3,
#post .article-content h4,
.layout .post-content h1,
.layout .post-content h2,
.layout .post-content h3,
.layout .post-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}
.sidebar .author-info__name,
.sidebar .author-info__description {
  font-size: 15px;
}
#recent-posts .recent-post-item .recent-post-info .content {
  font-size: 15px;
  line-height: 1.8;
}
