﻿/* 东方不败网全局声明 */
body,ul,li,form,label,h1,h2,h3,h4,h5,h6,p,div,dl,dd,dt,button{margin:0;padding:0;cursor:default;}
*{margin:0;padding:0;list-style-type:none;font-family: "宋体","SimSun","Microsoft Yahei","微软雅黑","Tahoma","Helvetica","Arial",sans-serif;}
img,button{border:0;}
ul,ul li,dl,dt,dd{list-style:none;}
body{background-color: #f5f6fa;}
a {text-decoration: none; }

html,body{
height: auto;
margin: 0;
padding: 0;

}
.zhengti {
font-size: 16px;
line-height: 1.5;
min-width: 320px;
max-width: 600px;
height: 100%;
margin: 0 auto;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
position: relative;	
padding: 10px;
}
@media screen and (max-width: 320px) {
            .zhengti {
                padding: 0px; /* 减少页面边距 */
				
            }
}
.dingbu{
width: 100%;
height: auto;
margin-bottom: 20px;

}
.dingbu-1{
	width: 100%;
	height: 100%;
	overflow: hidden;
	
}
.dingbu-1-1{
	width: 20%;
	height: 100%;
	float: right;
	text-align: right;
	overflow: hidden;

}

/* 菜单图标样式 */
.menu-icon {
    width: 25px;
	text-align: right;
	float: right;
	overflow: hidden;
  
    /* 菜单图标样式 */
  }
  .menu-icon div {
    width: 25px;
    height: 4px;
    background-color: black;
    margin: 4px 0px;
    transition: all 0.3s ease-in-out;
    /* 菜单图标线条样式 */
  }
.menu-icon div:first-child {
            margin-top: 0px;
        }
.menu-icon div:last-child {
            margin-bottom: 0;
        }
/* 侧边栏样式 */
.sidebar {
height: 100vh;
width: 0px;
position: absolute;
z-index: 10000;
top: 0;
right:0;
background-color: rgba(255,255,255,0.80); /* 半透明背景 */
overflow-y: auto;
transition: 0.5s;
border-radius: 15px 0px 0px 15px; /* 右侧圆角 */
display: inline-block;	
}
.tankuang-1 a {
text-decoration: none;
font-size: 16px;
color: #1A1919;
display: block;
transition: 0.3s;
padding: 10px;	
    /* 侧边栏链接样式 */
}


.closebtn {
    position: absolute;
    top: 5px;
    right:5px;
    font-size: 16px;
	line-height: 15px;
	color: #FFFFFF;
	background-color: rgba(19,19,19,0.53);
	border-radius: 20px;
    /* 关闭按钮样式 */
  }
.overlay {
    display: none;
    position: fixed;
 	z-index: 100;   
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明背景 */
    backdrop-filter: blur(5px); /* 模糊效果 */
    /* 覆盖层样式 */
  }
.no-scroll {
            overflow: hidden;
        }
 

.tankuang-1{
	width: 100%;
	height: auto;
	text-align: center;
}   
.tankuang-2{
	display: flex;
    justify-content: space-between; /* 水平方向上平均分布 */
    flex-wrap: wrap; /* 超出宽度自动换行 */
    width: 96%;
	padding: 2%;
	gap: 5px;
	

} 
.tankuang-2-1{
	min-width: 18%;
	max-width: 33%;
	height: auto;
	display: flex;
    justify-content: center;
    padding: 3px 4px;
    background-color: #50A0F7;
	float:left;
	font-size: 14px;
    border-radius: 10px;
	margin-bottom: 5px;
	text-align: center;
	box-sizing: border-box;
}
.tankuang-2-1 a{
	text-decoration: none;
	  color: white;
}

.dingbu-1-2{
	width: 60%;
	height: 100%;
	text-align: center;
	float: left;
	overflow: hidden;
}

.dingbu-1-3{
	width: 20%;
	height: 100%;
	text-align: left;
	float: left;

}

.dingbu-1-3 img { 
	vertical-align: top;
	line-height: 0;
}

.dingbu-2{
	width: 100%;
	height: auto;	
}

/*搜索引擎*/
.search-container {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            padding: 5px;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            width: 100%;
            
            box-sizing: border-box;
            position: relative;
        }

        .engine-selector-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .select-selected {
            display: flex;
            align-items: center;
            padding: 0 15px;
            cursor: pointer;
            user-select: none;
            height: 100%;
            background: transparent;
            border: none;
            outline: none;
            border-radius: 50px 0 0 50px;
            position: relative;
            z-index: 2;
            color: white;
        }

        .engine-icon {
            width: 24px;
            height: 24px;
            margin-right: 8px;
			background-color: #FFFFFF;
			border-radius: 3px;
        }

        .selector-arrow {
            color: #6F6969;
            font-size: 12px;
            pointer-events: none;
            transition: transform 0.3s ease;
        }

        .select-selected[aria-expanded="true"] .selector-arrow {
            transform: rotate(180deg);
        }

        .select-dropdown-container {
            position: absolute;
            top: calc(100% + 17px);
            left: -5px;
            z-index: 1000;
            display: none;
        }

        .select-selected.select-show + .select-dropdown-container {
            display: block !important;
        }

        .select-dropdown-container::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 25px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid rgba(255, 255, 255, 0.5);
            z-index: 1;
        }

        .select-dropdown-container::after {
            content: '';
            position: absolute;
            top: -8px;
            left: 26px;
            width: 0;
            height: 0;
            border-left: 9px solid transparent;
            border-right: 9px solid transparent;
            border-bottom: 9px solid rgba(255, 255, 255, 0.85);
            z-index: 2;
        }

        .select-items {
            min-width: 150px;
            background: rgba(255,255,255,0.97);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 20px;
            max-height: 380px;
            overflow-y: auto;
            box-shadow: 0 12px 24px 0 rgba(0,0,0,0.25);
            padding: 10px 0;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            position: relative;
            z-index: 3;
        }

        .select-items div {
            padding: 15px 20px;
            cursor: pointer;
            user-select: none;
            display: flex;
            align-items: center;
            transition: all 0.2s ease;
            margin: 0 10px;
            border-radius: 12px;
        }

        .select-items div:hover {
            background-color: rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .select-items .option-icon {
             width: 24px;
             height: 24px;
             margin-right: 15px;
             flex-shrink: 0;
        }

        .search-input-container {
            flex: 1;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 12px 15px;
            border: none;
            outline: none;
            background: transparent;
            color: #000000;
            font-size: 16px;
            box-sizing: border-box;
        }

        .search-input::placeholder {
            color: rgba(149,149,149,0.84);
        }

 /* 占位符基础样式 */
        .search-input::placeholder {
            color: rgba(55,54,54,0.70);
            opacity: 1; /* Firefox */
            transition: opacity 0.2s ease; /* 添加过渡效果 */
        }
        .search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
          color: rgba(59,58,58,0.70);
          transition: opacity 0.2s ease;
        }
        .search-input::-moz-placeholder { /* Firefox 19+ */
          color: rgba(59,58,58,0.70);
          opacity: 1;
          transition: opacity 0.2s ease;
        }
        .search-input:-ms-input-placeholder { /* IE 10+ */
          color: rgba(59,58,58,0.70);
          transition: opacity 0.2s ease;
        }
        .search-input:-moz-placeholder { /* Firefox 18- */
          color: rgba(59,58,58,0.70);
          opacity: 1;
          transition: opacity 0.2s ease;
        }

        /* 当需要隐藏时应用的类 */
        .search-input.hide-placeholder::placeholder {
             opacity: 0;
        }
        .search-input.hide-placeholder::-webkit-input-placeholder {
             opacity: 0;
        }
        .search-input.hide-placeholder::-moz-placeholder {
             opacity: 0;
        }
        .search-input.hide-placeholder:-ms-input-placeholder {
             opacity: 0;
        }
        .search-input.hide-placeholder:-moz-placeholder {
             opacity: 0;
        }

        .search-button {
            background: transparent;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .search-icon {
            width: 24px;
            height: 24px;
            fill: #FFFFFF;
        }

        @media (max-width: 480px) {
			.select-dropdown-container {
          
            top: calc(100% + 13px);
           	left: -4px;
        }
			.select-items {
            min-width: 130px;
            max-height: 350px;
        	}
           
            .search-container {
                padding: 3px;
            }
            .select-selected {
                padding: 0 10px;
            }
            .engine-icon {
                width: 20px;
                height: 20px;
                margin-right: 5px;
            }
            .search-input {
                padding: 10px 12px;
                font-size: 14px;
            }
            .search-button {
                padding: 8px 12px;
            }
            .search-icon {
                width: 20px;
                height: 20px;
            }
            .select-items div {
                padding: 12px 15px;
            }
            .select-items .option-icon {
                width: 20px;
                height: 20px;
                margin-right: 10px;
            }
        }


/* 名站 */
.mingzhan{
	width: 100%;
	height: auto;
	padding: 10px;
	background-color: #FFFFFF;
	border-radius: 10px;
	text-align: left;
	margin: 0 auto;
	box-sizing: border-box;
	margin-bottom: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
	
}


.mingzhan-0 {
            display: grid;
            /* 关键：定义 6 列，每列等宽 */
            grid-template-columns: repeat(6, 1fr);
            /* 关键：定义 4 行，每行等高 (可根据内容调整) */
            grid-template-rows: repeat(4, 1fr);
            /* 关键：设置子元素之间的间距 */
            gap: 4px;
        }
.mingzhan-1{
	width: 100%;
	height: 65px;
	display: flex;
    justify-content: center;
    align-items: center;
	font-size: 12px;
}

.mingzhan-2{
	width: 100%;
	height: auto;
	float: left;
	flex-direction: column; /* 设置为列方向 */
    align-items: center;    /* 居中对齐 */
	display: grid;
	text-align: center;
}
.mingzhan-2-tu{
	width: 100%;
	height: 100%;
	
}
.mingzhan-2-tu img{
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
}
.mingzhan-2-zi{
	width: auto;
	color: #453C3C;
	white-space: nowrap;
	height: auto;
	text-align: center;
	overflow: hidden;
	
}

 @media (min-width: 370px) {
	  .mingzhan-1{
	font-size: 13px;
}
	  
}

@media (min-width: 480px) {
	.mingzhan-0 {
            display: grid;
            /* 关键：定义 6 列，每列等宽 */
            grid-template-columns: repeat(8, 1fr);
            /* 关键：定义 4 行，每行等高 (可根据内容调整) */
            grid-template-rows: repeat(3, 1fr);
            /* 关键：设置子元素之间的间距 */
            gap: 5px;
        }
	

	.mingzhan-1{
	font-size: 13px;
}
	
}

/*  热搜 */

        .resou {
            width: 100%;
            height: auto;
            padding: 10px;
            background-color: #FFFFFF;
            border-radius: 10px;
            text-align: left;
            margin: 0 auto;
            box-sizing: border-box;
			margin-bottom: 20px;
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
        }

        /* 热搜选项卡容器 */
        .container {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* 选项卡容器样式 */
        .tab-container {
            display: flex;
            margin-bottom: 0px;
        }

        /* 选项卡样式 */
        .xuanxiang {
            padding-left: 23px;
            padding-right: 5px;
            padding-top: 3px;
            padding-bottom: 3px;
            width: 33.33%;
            min-width: 68px;
            text-align: center;
            background-color: #EEF5F5;
            border: none;
            border-radius: 10px;
            transition: background-color 0.3s, transform 0.3s;
            display: inline-block;
            margin-right: 6px;
            background-image:url('../images/resou.png');
	background-repeat: no-repeat;
	background-size: 20px 162.7px;
	background-position: 2px 6px; 
            box-sizing: border-box; /* 确保padding包含在width内 */
        }

        .xuanxiang:last-child {
            margin-right: 0;
        }

        .xuanxiang h1 {
            font-size: 16px;
            font-weight: inherit;
            margin: 0;
            color: #333;
        }

.xuanxiang.dier {
	background-position: 2px -51px;
}
.xuanxiang.disan {
	background-position: 2px -23px;
}
.xuanxiang.disi {
	background-position: 2px -78px;
}
.xuanxiang.diwu {
	background-position: 2px -111px;
}
.xuanxiang.diliu {
	background-position: 2px -136px;
}
        /* 选项卡选中样式 */
        .xuanxiang.active {
            background-color: #50A0F7;
            font-weight: bold;
            color: #FFFFFF;
        }

        .xuanxiang.active h1 {
             color: #FFFFFF;
        }

        /* 内容容器样式 */
        .content {
            border: none;
            display: none; /* 默认隐藏所有内容 */
        }
        /* 使用一个类来明确表示当前活动的内容 */
        .content.active-content {
            display: block; /* 显示活动内容 */
        }


        /* 热搜列表主容器 - 默认单列 */
        .zhuti-left-1-2 {
            width: 100%;
            height: auto;
            margin-top: 10px;
            display: flex;
            flex-direction: column;
        }

        /* 左右两列容器 */
        .hotlist-column {
            flex: 1; /* 平分可用空间 */
            display: flex;
            flex-direction: column;
            /* 添加最小宽度以增强一致性，尤其是在极窄屏幕上 */
            min-width: 0; /* 允许子元素溢出时收缩 */
        }

        /* 分隔线 */
        .hotlist-divider {
            width: 1px;
			height: 157px;
            background-color: #ddd;
            margin: 0 5px; /* 控制分隔线与内容的间距 */
            display: none; /* 默认隐藏 */
        }

        /* 媒体查询：当屏幕宽度大于 480px 时，启用双列布局和分隔线 */
        @media (min-width: 480px) {
            .zhuti-left-1-2 {
                flex-direction: row;
            }

            .hotlist-divider {
                display: block; /* 显示分隔线 */
            }
			.zhuti-left-1-3-2{
				font-size: 14px;
				line-height: 24px;
				
				
			}
		
        }

        /* 查看完整榜单链接 - 柔和渐变背景按钮 */
        .zhuti-left-1-2-1 {
          
             /* 确保链接在双列布局下也能正确显示 */
             flex-basis: 100%; /* 占据整行 */
             text-align: center; /* 居中按钮 */
        }
        .zhuti-left-1-2-1 a {
            display: inline-block;
            width: 80%; /* 调整宽度 */
            max-width: 300px; /* 最大宽度 */
            line-height: 26px; /* 调整行高 */
            text-align: center;
            /* 柔和的线性渐变背景 */
            background: linear-gradient(90deg, #a1c4fd 0%, #c2e9fb 100%); /* 柔和蓝白渐变 */
            color: #4A3F40; /* 深灰色文字，提高可读性 */
            text-decoration: none;
            border-radius: 20px; /* 圆角 */
            padding: 2px 20px; /* 上下内边距增加，左右保持 */
            box-sizing: border-box;
            transition: all 0.3s ease; /* 平滑过渡 */
            /* 添加轻微阴影 */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            font-weight: 500; /* 字体加粗 */
            border: 1px solid #d1e7ff; /* 浅蓝边框 */
         
        }

        .zhuti-left-1-2-1 a:hover {
            /* 悬停时稍微加深渐变并提升阴影 */
            background: linear-gradient(90deg, #87bfff 0%, #a8e0f7 100%);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        /* 单个热搜条目 - 关键：确保宽度计算一致 */
        .zhuti-left-1-3 {
            width: 100%; /* 占据父容器100%宽度 */
            font-size: 16px;
            margin-bottom: 10px;
            box-sizing: border-box; /* 关键：确保padding和border包含在width内 */
            display: flex; /* 使用 Flexbox */
            align-items: flex-start; /* 内容顶部对齐 */
            /* 可选：为条目添加最小高度以保持一致性 */
            min-height: 24px; /* 与序号和标签高度匹配 */
        }

        /* 序号 */
        .zhuti-left-1-3-1 {
            width: 14px;
            flex-shrink: 0; /* 防止序号被压缩 */
            color: #888; /* 默认灰色 */
            text-align: center;
            font-weight: bold;
            box-sizing: border-box;
           	line-height: 19px;
        }

        /* 标题链接容器 - 关键：不换行，隐藏溢出，不显示省略号 */
        .zhuti-left-1-3-2 {
            flex-grow: 1;
            color: #0D0B0B;
            box-sizing: border-box;
            padding: 0 5px; /* 左右内边距 */
            white-space: nowrap; /* 防止内容换行 */
            overflow: hidden; /* 隐藏溢出部分 */
            flex-shrink: 1;
			line-height: 21px;
            /* 防止自身增长，保持计算宽度 */
        }

        /* 修改链接样式：继承容器的不换行和隐藏溢出 */
        .zhuti-left-1-3-2 a {
            text-decoration: none;
            color: inherit;
            display: block;
            /* 继承父容器的宽度和溢出控制 */
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            /* === 核心修改：继承父级属性 === */
            white-space: inherit; /* 继承父级的 nowrap */
            overflow: inherit; /* 继承父级的 hidden */
            /* text-overflow: inherit; 不需要继承，因为父级没有设置 */
        }

        /* 热度标签 */
        .zhuti-left-1-3-3 {
            width: 20px;
            height: 20px;
            flex-shrink: 0; /* 防止标签被压缩 */
            background-color: #F60;
            border-radius: 5px;
            color: #FFFFFF;
            text-align: center;
            line-height: 20px;
            font-size: 12px;
            box-sizing: border-box;
            align-self: flex-start; /* 顶部对齐 */
        }

/* 分类 */
.fenlei{
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.fenlei-1{
	width: 100%;
	height: 60px;
	margin-bottom: 15px;

}
.fenlei-1-left{
	width: 25px;
	height: 60px;
	float: left;
	margin-right: 5px;
	background: linear-gradient(120deg, #a1c4fd, #c2e9fb);
    border-radius: 8px;
	color:#FFFFFF;
	text-align: center;
	display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
	flex-shrink: 0;
	
}
.lj-bai{
	color:#FFFFFF;
	
}
.fenlei-1-kuang{
	flex-grow: 1;
    display:flex;
}
 .fenlei-1-kuang-1 {
            height: 60px;
            flex: 1; /* 平均分配剩余空间 */
            margin-right: 5px; /* 仅用于可视化间距 */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            position: relative; /* 创建一个定位上下文 */
            border-radius: 5px;
            background: rgba(255,255,255,1.00);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            text-align: center;
            /* 关键：让主链接填满整个容器，以便Flexbox能正确居中它 */
            width: 100%;
            box-sizing: border-box; /* 确保padding和border包含在width内 */
	 
        }

        .fenlei-1-kuang-1:last-child {
            margin-right: 0;
        }

        /* 主链接样式 */
        .lj-1 {
            display: block; /* 使其成为块级元素以填充父容器 */
            width: 100%;
            height: 100%;
            position: relative; /* 为内部绝对定位元素提供上下文 */
        }
		.lj-2{
	color: #FFFDFC;
	
			
	
		}

        .fenlei-1-tu {
            position: absolute;
            top: -10px;
            left: -5px;
            border-radius: 25px;
            width: 25px; /* 设置图片宽度 */
            height: 25px; /* 设置图片高度 */
            z-index: 10; /* 确保图片在内容之上 */
            /* 如果需要占位图，可以设置一个背景色或使用伪元素 */
            background-color: #cccccc; /* 占位背景色 */
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
        }



        .fenlei-1-kuang-biaoti {
            width: calc(100% - 18px);
            height: 20px;
            position: absolute;
            top: 0px;
            left: 0px;
            line-height: 20px;
            padding-left: 18px;
            color: #323131;
            text-align: center; 
        }

        .fenlei-1-kuang-neirong {
            width: 100%;
            height: 34px;
            padding-left: 2px;
			padding-right: 2px;
            position: absolute;
            top: 20px;
            color: #7F7B7B;
            overflow: hidden;
			text-align: justify;
            box-sizing: border-box; /* 确保padding包含在width内 */
        }

        /* “简”按钮链接样式 */
     
        .fenlei-1-kuang-jianjie {
            background-color: rgba(177,178,181,0.68);
    		border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 25px;
            width: 20px;
            height: 20px;
            display: flex; /* 使用Flexbox使文字在按钮内居中 */
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 12px;
            line-height: 1; /* 确保文字垂直居中 */
			position: absolute;
            bottom: -6px;
            right: -5px;
            z-index: 11;
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
			box-sizing: content-box;
        }
  @media (min-width: 360px) {
	  .fenlei-1-kuang-1 {
            margin-right: 7px; /* 仅用于可视化间距 */
        }
	  .fenlei-1-kuang-biaoti{
		  line-height: 18px;
		  font-size: 12px;
		  font-weight: bold;
		   color: #5C5959;
		
	  }
	  .fenlei-1-kuang-neirong {
		  line-height: 18px;
		  font-size: 13px;
        }
	  
}
@media (min-width: 400px) {
		.fenlei-1-kuang-1 {
            margin-right: 10px; /* 仅用于可视化间距 */
        }
	    .fenlei-1-kuang-biaoti{
		    line-height: 18px;
		    font-size: 14px;
			width: calc(100% - 20px);
			padding-left: 20px;
			
		
	  }
	    .fenlei-1-tu {
            top: -10px;
            left: -7px;
            width: 28px; /* 设置图片宽度 */
            height: 28px; /* 设置图片高度 */ 
        }
	  
}

/* 最新加入 */
.kuang{
	width: 100%;
	height: auto;
	padding: 10px;
	gap: 15px;
	background-color: #FFFFFF;
	border-radius: 10px;
	margin: 0 auto;
	box-sizing: border-box;
	margin-bottom: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 初始阴影 */
	position: relative;
    overflow: hidden;
	display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 三列，每列等宽 */
    grid-template-rows: 1fr 1fr 1fr;    /* 三行，每行等高 */
   
}

/* 飘带容器 - 左上角 */
        .ribbon-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 80px;
            height: 80px;
            overflow: hidden;
            z-index: 1;
        }

        /* 左侧飘带主体 */
        .ribbon {
            position: absolute;
            top: 12px;
            left: -22px;
            display: block;
            width: 100px;
            padding: 3px 0;
            background-color: #e53935; /* 红色 */
            color: #fff;
            font: bold 10px sans-serif;
            text-align: center;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
            transform: rotate(-45deg);
            transform-origin: center;
            /* --- 关键：增强立体阴影 --- */
            /* 多层阴影叠加，模拟光照和深度 */
            box-shadow:
                0 1px 1px rgba(0,0,0,0.2),    /* 基础阴影 */
                1px 2px 2px rgba(0,0,0,0.15), /* 向右下轻微偏移 */
                2px 4px 4px rgba(0,0,0,0.1);  /* 更远的柔和阴影，增强立体感 */
            /* -------------------------- */
            z-index: 1;
			font-size: 14px;
        }

        /* 左侧飘带尾部 */
        .ribbon::before {
            content: "";
            position: absolute;
            top: 0;
            right: 100%;
            width: 8px;
            height: 100%;
            background-color: #c62828; /* 稍深的红色 */
            transform: skewY(25deg);
            transform-origin: top right;
            /* --- 为尾部也添加阴影 --- */
            box-shadow:
                -1px 1px 1px rgba(0,0,0,0.2),
                -2px 2px 2px rgba(0,0,0,0.1);
            /* -------------------------- */
            z-index: -1;
        }
.jiaru{
	width: 100%;
	 display: flex;
	 gap:10px;
	 align-items: center;
 	 flex-direction: column;
 	 justify-content: flex-start; 
	  
}


.jiaru-tu{
	width: 100%; /* 占据 .jiaru 的全部宽度 */
    aspect-ratio: 90 / 70; /* 保持宽高比 9:7 */
	position: relative; /* 关键：为子元素的绝对定位提供参考 */
	border-radius: 5px;
	display: block;

}
.jiaru-tu img{
	width: 100%;
	height: 100%;
	object-fit: cover; /* 确保图片填充容器 */
	object-position: top;
    display: block;
	aspect-ratio: 90 / 70; /* 保持宽高比 9:7 */
	border-radius: 5px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
	image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges;   /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Safari */
    image-rendering: crisp-edges;       /* 标准属性，未来支持 */
    -ms-interpolation-mode: nearest-neighbor; /* IE */
	
	
}
.jiaru-fenlei {
            position: absolute;
            bottom: 0;  /* 紧贴容器底部 */
            right: 0;   /* 紧贴容器右边 */
            background-color: rgba(77,75,75,0.59); /* 半透明黑色背景 */
            color: #FFFFFF;
            padding: 2px 4px;
            font-size: 12px;
            border-top-left-radius: 5px;
	 		border-bottom-right-radius: 5px;
            z-index: 1; /* 确保标签在图片上方 */
        }
.jiaru-fenlei a {
    color: #FFFFFF; 
}
.jiaru-zi{
	width: 100%;
	height: 20px;
	text-align: center;
	font-size: 14px;
	overflow: hidden;

}
.jiaru-zi a {
    color: #4B4848;
}

/* 首页文章 */
.zhuti-left-1-3-4{
	 		width: auto;
            height: 20px;
			padding: 0px 9px 0px 9px;
            flex-shrink: 0; /* 防止标签被压缩 */
            background: linear-gradient(80deg, #a1c4fd 0%, #47BCF2 100%);
            border-radius: 8px;
            text-align: center;
            line-height: 20px;
            font-size: 16px;
            box-sizing: border-box;
            align-self: flex-start; /* 顶部对齐 */
}

.zhuti-left-1-3-4 a{
	 color: #FFFFFF;
}
/* 友情链接 */
		.youlian,
        .youlian *,
        .youlian *::before,
        .youlian *::after {
            box-sizing: border-box;
        }
        .youlian {
            max-width: 100%;
            margin-top: 0px;
			margin-bottom: 10px;
			margin-left: auto;
			margin-right: auto;
        }

        .youlian-biaoti {
            text-align: center;
            margin-bottom: 5px;
            font-size: 1.1rem;
            color: #F1F4F7;
            position: relative;
        }

        .youlian-biaoti::after {
            content: '';
            display: block;
            width: 95px;
            height: 3px;
            background: linear-gradient(to right, #3498db, #2ecc71);
            margin: 0px auto 0px;
            border-radius: 2px;
        }

        /* 使用 CSS Grid 实现灵活布局 */
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
            grid-auto-rows: min-content;
            gap: 10px 8px;
        }

        .link-item {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #ffffff;
            border-radius: 12px;
            padding: 3px 5px; /* 适度的内边距 */
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            transition: all 0.2s ease, transform 0.1s ease;
            text-align: center;
            /* 允许文字换行以适应不同长度的名称 */
            white-space: normal;
            word-break: break-word; /* 允许在任意字符间断行 */
            border: 1px solid #e9ecef;
            cursor: pointer;
            min-height: 36px; /* 最小高度，保证视觉一致性 */
			
			 /* 关键调整：字体大小 */
            font-size: 0.7rem; /* 适配小屏幕和小容器 */
            font-weight: 500;
            color: #2B435B;
            /* 确保文本继承容器的换行规则 */
           
        }
		.link-item a{
			color: #2B435B;
		}
        .link-item:hover {
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
            transform: translateY(-1px);
        }

        .link-item:active {
            transform: translateY(0.5px);
        }
  /* SVG 图标的样式 */
        .link-icon {
            width: 1rem;
            height: 1rem;
            margin-right: 3px;
            flex-shrink: 0; /* 防止图标在空间不足时被压缩 */
			color: #3498db;
}
 
/* 页脚 */
.yejiao{
	width: 100%;
	height: auto;
	color: #FFFFFF;
	font-size: 13px;
	margin: 0 auto;
	box-sizing: border-box;
	text-align: center;
    overflow: hidden; 
}   
.yejiao::before {
            content: '';
            display: block;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, #F0486C, #EFDA4D);
            margin: 0px auto 10px;
            border-radius: 2px;
        }
.yejiao a{
	color: #FFFFFF;
	margin-left: 5px;
	margin-right: 5px;
	white-space: nowrap;
		}
.yejiao br{
	white-space: nowrap;
		}

/* 最右边 */
.youbian{
	position: fixed; /* 固定位置 */
    bottom: -60px; /* 距离顶部垂直居中 */
    right: max(0px, calc((100vw - 600px) / 2));
    transform: translateY(-50%); /* 垂直居中调整 */
    width: 35px; /* 设置宽度 */
    padding: 5px; /* 内边距 */
    z-index: 10; /* 确保在其他元素之上 */
	text-align: center;
	
}
.youbian-1{
	height: 35px;
    width: 35px; /* 设置宽度 */
  	background-image:url('../images/youbian.png');
	background-repeat: no-repeat;
	background-size: 20px 100px;
	background-position: 8px 6px; 
   	background-color: rgba(255,255,255,0.95); 
	border-radius: 25px 25px 25px 25px;
	cursor: pointer;
	position: relative; /* 创建一个定位上下文 */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s, transform 0.3s;
	margin-bottom: 8px;
	
    
}

.youbian-2{
	height: 35px;
    width: 35px; /* 设置宽度 */
  	background-image:url('../images/youbian.png');
	background-repeat: no-repeat;
	background-size: 25px 125px;
	background-position: 6px -48px; 
    background-color: rgba(255,255,255,0.95); 
	border-radius: 25px 25px 25px 25px;
	cursor: pointer;
	position: relative; /* 创建一个定位上下文 */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s, transform 0.3s;
   	margin-bottom: 8px; 
}

.youbian-3{
	height: 35px;
    width: 35px; /* 设置宽度 */
  	background-image:url('../images/youbian.png');
	background-repeat: no-repeat;
	background-size: 20px 100px;
	background-position: 8px -65px; 
    background-color: rgba(255,255,255,0.95); 
	border-radius: 25px 25px 25px 25px;
	position: relative; /* 创建一个定位上下文 */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s, transform 0.3s;
	cursor: pointer;
}
.youbian-1:hover,.youbian-2:hover,.youbian-3:hover{
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}
