/**/
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .transition-custom {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
    }
    
    
 
    /* 全局样式 */
    body {
      font-family: 'Inter', system-ui, sans-serif;
    }

    /* 滚动行为 */
    html {
      scroll-behavior: smooth;
    }

    /* 骨架屏动画 */
    @keyframes pulse {
      0%, 100% {
        opacity: 1;
      }
      50% {
        opacity: 0.5;
      }
    }

    .animate-pulse {
      animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }


/**/
.menu-container {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menu-items {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    max-width: calc(100% - 60px); /* 为"更多"按钮留出空间 */
}

.menu-items a {
    white-space: nowrap;
    margin-right: 20px;
    text-decoration: none;
    color: #333;
}

.more-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #0066cc;
    padding: 0 10px;
    display: none; /* 默认隐藏，通过JS控制显示 */
}

.expanded-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    min-width: 150px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.expanded-menu a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
}



/* 定义标签项的基本样式 */
.tag-item {
  /* 内边距，使标签看起来更舒适 */
  padding: 0.25rem 0.5rem;
  /* 圆角边框 */
  border-radius: 0.25rem;
  /* 背景颜色 */
  background-color: #e2e8f0;
  /* 文字颜色 */
  color: #1e293b;
  /* 字体大小 */
  font-size: 0.875rem;
  /* 字体粗细 */
  font-weight: 500;
  /* 外边距，使标签之间有间隔 */
  margin: 0.25rem;
  /* 内联块元素，使标签可以自适应宽度 */
  display: inline-block;
  /* 鼠标指针样式 */
  cursor: pointer;
  /* 过渡效果，使悬停时颜色变化更平滑 */
  transition: background-color 0.3s ease;
}

/* 标签项悬停时的样式 */
.tag-item:hover {
  /* 悬停时的背景颜色 */
  background-color: #cbd5e1;
}

/* 小屏幕设备样式 */
@media (max-width: 640px) {
  .tag-item {
    /* 小屏幕下字体大小 */
    font-size: 0.75rem;
    /* 小屏幕下内边距 */
    padding: 0.125rem 0.25rem;
  }
}

/* 中等屏幕设备样式 */
@media (min-width: 641px) and (max-width: 1023px) {
  .tag-item {
    /* 中等屏幕下字体大小 */
    font-size: 0.875rem;
  }
}

/* 大屏幕设备样式 */
@media (min-width: 1024px) {
  .tag-item {
    /* 大屏幕下字体大小 */
    font-size: 1rem;
  }
}



    /* 热点排行容器样式 */
    .hot-ranking {
      display: flex;
      flex-direction: column;
      gap: 16px; /* 项目之间的间距 */
    }

  
    .item-container {
            display: grid;
            grid-template-columns: 80px auto;
            gap: 10px;
            align-items: center;
            width: fit-content;
            padding: 0px;
        }
        
        .fixed-size-image {
            width: 80px;        /* 强制宽度为80px */
            height: 80px;       /* 强制高度为80px */
            object-fit: cover;  /* 保持纵横比并裁剪 */
            object-position: center; /* 居中裁剪 */
        }
        
        .item-title {
            margin: 0;
            font-size: 16px;
        }
        
        
        
#page{margin:30px 0;font-size:13px;height:25px;line-height:25px;text-align:center}
#page .pageinfo {color:#666;padding:6px 8px;border:1px solid #ddd}
#page .pageinfo strong{font-weight:normal}
#page  a{border:1px solid #ddd;background:#fff;color:#808080;padding:6px 11px;margin-left:5px;border-radius:2px;transition:all 0.2s;white-space: nowrap}
#page  a:hover,#page .curpage{background:#2196f3;color:#fff;text-decoration:none;border:1px solid #2196f3;}
#page .nopage{cursor:not-allowed;}
#page .nopage:hover{background:#fff;color:#808080;border:1px solid #ddd;}





    
    
/*圆角处理*/  
 article {
  border-radius: 1rem;
}

article > div:first-child {
  border-radius: inherit;
}

article > div:first-child img {
  border-radius: inherit;
}   
    
/*手机边距*/
@media (max-width: 760px) {
 .px-mobile {
      padding-left: 0.01rem;
      padding-right: 0.01rem;
    }    
    
}