@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');
 
 

  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
         font-family: 'Noto Serif SC', serif;
            overflow-x: hidden;
             background-color: #ffffff29;/* #dfd7c8粉色样式 #ffbfb2*//* h色样式#feddb3*/
        }
        
        /* 头部样式 */
        
        header {
            width: 100%;
            height: 100px;
            background-color: #4a90e2;/* 粉色样式 #4a90e2*/
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
        }
        
         .gk {
            
         }
        /* 顶部导航栏 */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            margin-bottom: 15px;
            background: #dfd7c8;
            background-color: #fff;/*#dfd7c8*/
            
            background-position: center;
            border-radius: 10px 10px 20px 20px;
            border: 2px solid #4d4343;
            box-shadow: 5px 5px 0px -2px #434343, 5px 5px #434343;
            
        }

        .navbar .logo {
            font-size: 24px;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }

        .navbar .archive-and-about {
            display: flex;
            align-items: center;
        }

        .navbar .archive-and-about a {
            font-size: 16px;
            color: black;
            text-decoration: none;
            margin-left: 16px;
        }
        
        
        
        
        .navbar .logo-title {
        isplay: flex;
    flex-direction: column;
        
        }
        
        
        .gk-title {
            font-size: 24px;
            margin-bottom: 5px;
            font-weight: 600;
            text-decoration: none;
            
             display: flex;
    justify-content: space-between;
        }
        
        
        
        .gk-title {
      position: relative;

      overflow: hidden;
      margin: auto;
    }

  
  
  
  
   /* 文章页面资料 */
        
        .profile-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #ccc;
            padding-bottom: 10px;
        }
        
        .profile-left {
            display: flex;
            align-items: center;
        }
        
        .profile-image {
            width: 50px;
            height: 50px;
            border-radius: 0%;
            overflow: hidden;
        }
        
        .profile-image img {
            width: 100%;
            height: auto;
        }
        
        .profile-text {
            margin-left: 10px;
        }
        
        .profile-name {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }
        
        .profile-date {
            font-size: 14px;
            color: #666;
            margin-top: 0px;
        }
        
        .profile-views {
            font-size: 16px;
            color: #999;
            margin-bottom: 10px;
    border-bottom: 2px dashed #00000038;
        }
        
  
  
  
  
  
  
  
  
  
  
  
  
  /* 友链卡片样式开始 */
.friend-container {
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px; /* 卡片间距 */
}

.friend-container .friend-card {
  display: flex;
  align-items: center;
  background-color: #dfd7c8;;
  padding: 0.8em;
  text-decoration: none;
  border-radius: 4px;
  color: inherit;
  
  border: 2px solid #4d4343;
    box-shadow: 5px 5px 0px -2px #434343, 5px 5px #434343;
}

.friend-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 1; /* 限制为 1 行 */
  line-clamp: 1; /* 标准属性，增加兼容性 */
  max-height: 1.4em; /* 根据字体大小调整 */
}

.friend-container .friend-card:hover {
  border-bottom-color: #EEE;
}

.friend-container .friend-card .friend-avatar {
  width: 3.2em;
  height: 3.2em;
  bottom: 0;
  margin: 0 0.6em 0 0;
  box-shadow: none;
}

.friend-container .friend-card .friend-info {
  display: flex;
  flex-direction: column;
}

.friend-container .friend-card .friend-name {
  font-size: 1em;
  font-weight: bold;
  margin: 0;
}

.friend-container .friend-card .friend-description {
  font-size: 0.9em;
  color: var(--muted-text-color);
  margin: 1px 0 0 0;
}
/* 友链卡片样式结束 */

  
  
  
  
  
  
  
    /* 扫光效果 */
    .gk-title::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%; /* 初始位置在容器左侧 */
      width: 40px; /* 扫光条宽度 */
      height: 100%; /* 扫光条高度 */
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
      ); /* 渐变效果 */
      animation: sweep 2s infinite; /* 动画效果 */
      transform: rotate(45deg); /* 扫光条的旋转角度 */
    }

    @keyframes sweep {
      0% {
        left: -100%;
      }
      25% {
        left: 0;
      }
      50% {
        left: 100%;
      }
      75% {
        left: 0;
      }
      100% {
        left: -100%;
      }
    }
        
        
        
        
        
        
        
        
        .gk-title a{
            color: black;
            font-size: 24px;
            margin-bottom: 1px;
            font-weight: 700;
            text-decoration: none;
        }
        
        .gk-subtitle {
            color: #000;
            font-size: 14px;
        }
        
        .gk-container {
            display: flex;
            width: 100%;
        }
         /* 左边 */
        .left-column {
            width: 30%;
            padding: 20px;
            border-radius: 10px;
                    }
         /* 中间栏 */
        .middle-column {
            width: 100%;
            padding: 20px;
        }
        
  
        
         /* 右边栏 */
        .right-column {
            width: 30%;
            display: flex;
            flex-direction: column;
        }
        
        .right-top {
            height: auto;
            width: 240px;
            margin: 20px auto;
            background-color: #dfd7c8;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        
        }
        
        .right-bottom {
            width: 260px;
            margin: 0 auto 20px;
            border-top-color: #9b59b6;
            border-top: 5px solid red;
            background-color: #f8f9fa;
            border-radius: 8px;
            height: 640px;
            display: flex;
            align-items: center;
            justify-content: center;
        
        }
        
        
        
         .right-bottom-sp {
            width: 235px;
            margin: 0 auto 20px;
            background-color: #dfd7c8;
            border-radius: 8px;

            display: flex;
            align-items: center;
            justify-content: center;
            
        }
        
        
         /* 主体文章样式 */
         .item {
             font-family: 'Noto Serif SC', serif;
            display: flex;
            align-items: flex-start; /* 顶部对齐 */
            padding: 10px 0;
            border-bottom: 1px solid #0000001f;
            
            justify-content: space-between;
        }
        
        .category {
            width: 100px;
            padding: 5px;
            text-align: center;
            border-radius: 4px 4px 0 0;
            color: white;
            font-size: 12px;
            position: relative; /* 为日期的绝对定位做准备 */
            margin-right: 10px; /* 分类标签与内容之间的水平间距 */
        }
        
        .music {
            background-color: #474646;
        }
        .music a{
            color: white;
        }
        
        .beauty {
            background-color: #2196F3;
        }
        
        .date {
            background-color: #f5f5f5;
            color: #666;
            font-size: 12px;
            
            position: absolute; /* 绝对定位 */
            top: 28px; /* 调整日期的位置，使其与分类标签保持距离 */
            left: 0; /* 左对齐 */
            width: 100%; /* 宽度占满分类标签 */
            text-align: center; /* 文字居中 */
        }
        
        .content {
            display: flex;
            flex-direction: column; /* 标题和副标题垂直排列 */
        }
        
  
        
         .card-title {
            font-size: 16px;
            margin-bottom: 5px;
            white-space: nowrap; /* 防止文字换行 */
  overflow: hidden; /* 隐藏超出部分 */
  text-overflow: ellipsis; /* 显示省略号 */
  counter-reset: link-counter;
        }
        
        .card-title a{
           color: rgb(0 0 0);
           text-decoration: none;
           align-items: center;
  font-weight: 600; /* 减小字体粗细 */
  display: inline-block; /* 如果是行内链接需要改为块级或inline-block */
        }
        
  
/* 初始化计数器 */
.middle-column {
  counter-reset: item-counter;
}

/* 为每个.item元素添加序号 */
.item {
  counter-increment: item-counter;
  position: relative; /* 为伪元素定位做准备 */
  padding-left: 20px; /* 为序号留出空间 */
 
}

/* 在.card-title前添加序号 */
.item .card-title::before {
  content: counter(item-counter) ". ";
  position: absolute;
  left: -5px;
  color: #f64f59;
  font-weight: bold;
  width: 22px;

  text-align: center;
  border-radius: 50%;
 
}







        
        .subtitle {
            color: #66666687;
            font-size: 14px;
        }
        .subtitle a{
            color: #66666687;
            font-size: 14px;
        }
        
        
        
        
        
        
        .gk-tainer {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 30px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
       
       .gk-tainer::before {
      content: "公告";
      position: absolute;
      left: 0;
      top: 0;
      background-color: #f64f59;
      color: #333;
      padding: 5px 5px;
      border-radius: 0px 0px 0px 0px;
      z-index: 1;
      
background: linear-gradient(to right, #fff, #fff, #ffffff);

      
      
    }
       
       
        
         .gk-text {
    position: absolute;
    white-space: nowrap;
    animation: moveLeft 10s linear infinite;
  }

  @keyframes moveLeft {
    from {
      transform: translateX(100%);
      opacity: 1;
    }
    to {
      transform: translateX(-100%);
      opacity: 0;
    }
  }
        
        
        
        
        
        
        
        
        
        /* 搜索样式 */
       #search {
    padding: 3rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    border-top: 1px solid #424242;
    border-bottom: 1px solid #424242;
    margin-bottom: 2rem;
}
        
        #search button {
    width: 6rem;
    background: unset;
    cursor: pointer;
    padding: 8px 16px;
}
        
      .button-search {
    border-width: 2px;
    box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
    background-color: #fff;
}  
        
        
        
        
        
        /* 底部分页按钮样式 */
/* 分页按钮容器样式 */
.pagination-container {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

/* 上一页按钮样式 */
.prev {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-width: 2px;
    box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
}

.prev:hover {
  background-color: #d0d0d0;
}

/* 下一页按钮样式 */
.next {
  display: inline-block;
color: #000000;
text-decoration: none;
  transition: background-color 0.3s ease;
  border-width: 2px;
    box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
  
  
  
  
}

.next:hover {
  background-color: #d0d0d0;
}
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        /* 粒子特效样式 */
        
          .particles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }
        
        .particle {
            position: absolute;
            background: #ffff00;
            border-radius: 50%;
            opacity: 0.5;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
            }
        }
        
        .info {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: rgba(255, 255, 255, 0.5);
            font-family: Arial, sans-serif;
            font-size: 14px;
        }
        
        
        
        
        
        
        
        
        
        
        
        /* 回到顶部按钮样式 */
        .scroll-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #ff7171;
            
            
            
           
            
            
            
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s, transform 0.3s;
            transform: translateY(20px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            z-index: 1000;
        }
        
        .scroll-top-btn.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .scroll-top-btn:hover {
            background-color: #3a7bc8;
        }
        
        .scroll-top-btn .progress-ring {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            
            border: 4px solid black;
            border-top-color: #ffffff;

            animation: spin 2s linear infinite;
        }
        
        .scroll-top-btn .progress-text {
            position: relative;
            z-index: 1;
            font-size: 12px;
            font-weight: bold;
        }
        
        .scroll-top-btn .back-text {
            font-size: 14px;
            margin-top: 4px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* 添加一些内容使页面可滚动 */
        .footer {
            padding: 10px;

            
        }
        
        .footer-txt {
            height: 100px;
           
        }
        
        
        
        @media (max-width: 768px) {
            .gk-container {
                flex-direction: column;
            }
            
        .left-column{
                display: none;
            }
         

            .right-bottom,.right-column {
                display: none;
            }
            
            .middle-content {
                width: 100%;
            }
            
            /* 设置文章标题的最大宽度 */
            .card-title {
            width: 280px; /* 设置标题的最大宽度 */
            font-size: 16px;
            margin-bottom: 5px;
            white-space: nowrap; /* 防止文字换行 */
  overflow: hidden; /* 隐藏超出部分 */
  text-overflow: ellipsis; /* 显示省略号 */
        }
            
            
            .gk {
            padding: 10px;
         }
            

           
           /* 输入框和文本域样式 */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
 
  width: 100%;
  box-sizing: border-box;
   box-shadow: 0px 0px 0px 0px #434343, 0px 0px #434343;
    border-color: #434343;
    background-color: #dfd7c8;
    word-break: break-all;
    border-radius: 0.25rem;
    border-top-left-radius: 250px 10px;
    border-top-right-radius: 15px 204px;
    border-bottom-left-radius: 15px 257px;
    border-bottom-right-radius: 230px 15px;
    border: 2px solid #4d4343;
    position: relative;
    overflow: auto;
    padding: 8px 16px;
  
}
           
           
           
           
           
           /* 友情链接css */
.friend-link {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .friend-link a {
      width: 21%;
      text-decoration: none;
      color: #008d08;;
      text-align: center;
      padding: 5px 0;
      border: 2px solid #fff;
      background-color: #f0f0f0;
      border-radius: 0px;
      margin-bottom: 10px;
      transition: 0.3s;
    }

    .friend-link a:hover {
      background-color: #f2f2f2;
    }
           
}
      
        
        
        
        
        
        
        /* 灵动岛基础样式 */
        .dynamic-island {
            position: fixed;
            top: 40px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            width: 120px;
            height: 35px;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            border-radius: 25px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            z-index: 9999;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* 灵动岛内容 */
        .island-content {
            font-size: 12px;
            padding: 0 15px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 弹出动画 */
        .dynamic-island.pop-in {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            .dynamic-island {
                width: 200px;
                height: 30px;
                top: 10px;
            }
        }

        
        
        
        
        /* 底部元素布局 */
#footer-banner {
    order: 999;
}

.footer-perch {
    height: 10px;
    display: flex;
    flex-direction: column;
    order: 1;
}

#footer-animal {
    position: relative;
    width: 100%;
    margin-top: auto;
    top: 1rem;
}

#footer-animal .animal-wall {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: #bcb0a4 url(https://ovogk.com/usr/themes/buyu/assets/img/41.webp) repeat center;
    background-size: auto 100%;
    box-shadow: 0 4px 7px rgba(0, 0, 0, .15);
}

@media screen and (max-width: 1023px) {
    #footer-animal .animal-wall {
        height: min(36px, 4vw);
    }
}

#footer-animal img.animal {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(500px, 100vw);
    display: block;
}

/* 去除多余的 !important */
#footer-bar {
    margin-top: 0;
}
        
        