/* Scss Document */
	 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body, html {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            background-color: #f0f2f5;
            color: #1e293b;
            line-height: 1.6;
            overflow-x: hidden; /* 防止横向滚动 */
        }

        /* 固定头部 - 使用 fixed 定位#4f46e5 */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #6A5ACD 0%, #7e3af2 100%);
            padding: 10px 20px;
            border-bottom: 1px solid #4338ca;
            z-index: 1000;
            box-shadow: 0 4px 6px rgba(67, 56, 202, 0.15);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }

        .header-title h2 {
            font-weight: bold;
            font-size: 22px;
            white-space: nowrap;
            color: white;
            margin: 0;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }

        .search-box {
            display: flex;
            max-width: 400px;
            width: 100%;
        }

        .search-box input[type="text"] {
            flex: 1;
            padding: 8px 10px;
            border: 1px solid #cbd5e1;
            border-radius: 4px 0 0 4px;
            font-size: 14px;
            min-width: 0;
            background-color: rgba(255, 255, 255, 0.9);
            transition: border-color 0.3s;
        }
        
        .search-box input[type="text"]:focus {
            border-color: #7e3af2;
            outline: none;
            box-shadow: 0 0 0 2px rgba(126, 58, 242, 0.2);
        }

        .search-box input[type="submit"] {
            padding: 8px 16px;
            background: linear-gradient(to right, #8b5cf6, #7e3af2);
            color: white;
            border: none;
            border-left: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(126, 58, 242, 0.3);
        }

        .search-box input[type="submit"]:hover {
            background: linear-gradient(to right, #7c3aed, #6d28d9);
            transform: translateY(-1px);
            box-shadow: 0 3px 6px rgba(126, 58, 242, 0.4);
        }

        .header-nav ul {
            list-style: none;
            display: flex;
            gap: 16px;
            margin: 0;
            padding: 0;
        }

        .header-nav a {
            text-decoration: none;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            padding: 6px 10px;
            border-radius: 4px;
            transition: all 0.2s;
            font-size: 15px;
        }

        .header-nav a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
        }

        /* 主体容器：两栏布局 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
            display: grid;
            grid-template-columns: 1fr 310px;
            gap: 20px;
            /* 为固定头部留出空间 */
            margin-top: 90px; /* PC 端估算高度 */
            padding-top: 20px;        /* 在容器内部顶部增加 20px 内边距 */
        }

        .main-content {
            width: 100%;
        }

        .sidebar {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        section {
            margin-bottom: 30px;
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s;
        }
        
        section:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }


        h1 {
            font-size: 24px;
            margin-bottom: 16px;
            color: #4338ca;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 8px;
        }

        h3 {
            font-size: 18px;
            margin-bottom: 12px;
            color: #4338ca;
            font-weight: 600;
        }

        .link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
            gap: 10px;
        }

        .link-item {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 10px 8px;
            text-align: center;
            transition: all 0.3s;
        }

        .link-item a {
            color: #4f46e5;
            text-decoration: none;
            font-size: 14px;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 500;
        }

        .link-item:hover {
            background-color: #eef2ff;
            transform: translateY(-2px);
            border-color: #c7d2fe;
            box-shadow: 0 2px 6px rgba(79, 70, 229, 0.1);
        }

        .link-item:hover a {
            color: #4338ca;
            font-weight: 600;
        }

        .footer {
            text-align: center;
            color: #64748b;
            font-size: 13px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
            grid-column: span 2;
            background: #f8fafc;
            padding: 15px 0;
        }

        .footer a {
            color: #4f46e5;
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .footer a:hover {
            color: #4338ca;
            text-decoration: underline;
        }

        .footer img {
            vertical-align: middle;
            margin-right: 4px;
        }

        /* 文章区域图片居中 + 响应式 */
        #article img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            margin: 12px auto;
            display: block;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* 防止长链接/URL 撑破容器 */
        #article,
        #article p,
        #article a,
        #article strong {
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-word;
        }
 /* 增加----------------------------------------------------------- */
.yb-a .link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
            gap: 7px;
        }
	
.yb-a {
    border: 1px solid #e2e8f0;     /* 边框颜色和宽度 */
    border-radius: 8px;         /* 圆角（可选） */
    padding: 5px 5px;              /* 内边距，让内容不贴边 */
    background-color: #f8fafc;     /* 背景色（可选，与整体风格一致） */
    margin: 0px;        /* 保持与其他 section 一致的间距 */
}

/* 2. 仅该区块内的 link-item 去掉边框、背景等 */
.yb-a .link-item {
    border: none;
    background: transparent;
    box-shadow: none;
	padding: 2px 2px;/* 内边距：上下 10px，左右 8px，确保内容不贴边 */
	transition: all 0.2s; /* 所有可变属性（如hover效果）在0.2秒内平滑过渡 */
	 }		
.yb-a h3 {
  margin-left: 10px;
  color: #4338ca;
}
.yb-a .link-item a {
            color: #1e293b;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
	}
.yb-b {
    margin: 0px;        /* 保持与其他 section 一致的间距 */
}		
.yb-b .link-item a {
            color: #1e293b;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
	}
.fl-a {
    margin: 0px 0px 5px 0px;        /* 保持与其他 section 一致的间距 */
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}
.fl-b {
     margin-bottom: 7px; 
}

.fl-b .link-item {
    padding: 4px 8px;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	 }	
.fl-b .link-item a {
            color: #4f46e5;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;


	}
/* 	
.fl-c {
     margin-bottom: 7px; 
}

.fl-c .link-item {
    padding: 4px 8px;
	background-color: #f8f9fa;
	 }	
.fl-c .link-item a {
            color: #6c757d;
            text-decoration: none;
            font-size: 14px;
	}
	 */
.fl-c {
    border: 1px solid #e2e8f0;     /* 边框颜色和宽度 */
    border-radius: 8px;         /* 圆角（可选） */
    padding: 3px 0px;              /* 内边距，让内容不贴边 */
    background-color: #fff;     /* 背景色（可选，与整体风格一致） */
    margin-top: 18px;    /* 保持与其他 section 一致的间距 */
	margin-bottom: 12px;
}

/* 2. 仅该区块内的 link-item 去掉边框、背景等 */
.fl-c .link-item {
    border: none;
    background: transparent;
    box-shadow: none;
	padding: 18px 2px;/* 内边距：上下 10px，左右 8px，确保内容不贴边 */
	transition: all 0.2s; /* 所有可变属性（如hover效果）在0.2秒内平滑过渡 */
	 }
.fl-c .link-item a {
            color: #1e293b;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
	}	 
		
/* 栏目列表模板--------- */
.lb-a .link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 8px;

        }

/* 让每个网格项内的文字左对齐 */
.lb-a .link-item {
            text-align: left;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            padding: 10px;
        }
.lb-a .link-item a {
            color: #4f46e5;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
	}	
.lb-a .link-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}
.lb-a h3 {
    color: #4338ca;
    margin-bottom: 12px;
}
/* 分页样式-------------------- */
        .pagination {
            text-align: center;
            margin-top: 20px;
            padding: 12px 0;
            font-size: 15px;
        }

        .pagination a,
        .pagination span {
            display: inline-block;
            padding: 6px 12px;
            margin: 0 4px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            text-decoration: none;
            color: #4f46e5;
            background: #f8fafc;
            transition: all 0.2s;
        }

        .pagination span.current {
            background: #4f46e5;
            color: #fff;
            border-color: #4f46e5;
            font-weight: 600;
        }

        .pagination a:hover {
            background: #eef2ff;
            color: #4338ca;
            border-color: #c7d2fe;
        }

/* 栏目列表模板结束 */	
/* 文章内容模板 */	
		
        .article-meta {
            font-size: 14px;
            color: #64748b;
            margin: 12px 0 20px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #cbd5e1;
        }

        .article-content {
            background: #fff;
            padding: 24px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            font-size: 17px;
            line-height: 1.8;
            color: #1e293b;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }

        .article-content p {
            margin-bottom: 16px;
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            margin: 12px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .article-nav {
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
            font-size: 15px;
            color: #64748b;
        }

        .article-nav a {
            color: #4f46e5;
            text-decoration: none;
        }

        .article-nav a:hover {
            text-decoration: underline;
            color: #4338ca;
        }		
/* 文章内容模板结束*/		
		
		
 /* 增加----------------------------------------------------------- */		
.latest-ai-section .link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
            gap: 7px;
        }				
		
		
/* 1. 给"最新AI网址"整个区块加外边框和内边距（可选美化） */
.latest-ai-section {
    border: 1px solid #e2e8f0;     /* 边框颜色和宽度 */
    border-radius: 8px;         /* 圆角（可选） */
    padding: 5px 0px;              /* 内边距，让内容不贴边 */
    background-color: #f8fafc;     /* 背景色（可选，与整体风格一致） */
    margin-bottom: 10px;        /* 保持与其他 section 一致的间距 */
}

/* 2. 仅该区块内的 link-item 去掉边框、背景等 */
.latest-ai-section .link-item {
    border: none;
    background: transparent;
    box-shadow: none;
	padding: 2px 2px;/* 内边距：上下 10px，左右 8px，确保内容不贴边 */
	transition: all 0.2s; /* 所有可变属性（如hover效果）在0.2秒内平滑过渡 */
	 }
.latest-ai-section h3 {
  margin-left: 10px;
  color: #4338ca;
}
.latest-ai-section .link-item a {
            color: #1e293b;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
	}		
		
.latest-ai-section .link-item a:hover{ background:#4f46e5; color:#FFF}		
		
/* 下拉*/		
.toggle-title {
  cursor: pointer;
  user-select: none;
  background: linear-gradient(135deg, #4f46e5 0%, #7e3af2 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
}
.toggle-icon {
  float: right;
  transition: transform 0.3s;
}
.toggle-content {
  display: none;
  margin-top: 10px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
		
/*表单-------------------- */		
    .tabs-container {
      max-width: 100%;
      margin: 0 auto;
    }

    /* Tabs 导航栏容器 */
    .tabs {
      display: flex;
      overflow-x: auto; /* 允许横向滚动 */
      -webkit-overflow-scrolling: touch; /* iOS 平滑滚动 */
      scrollbar-width: none; /* Firefox 隐藏滚动条 */
      -ms-overflow-style: none; /* IE/Edge 隐藏滚动条 */
      padding-bottom: 4px;
      gap: 7px; /* 按钮间距 */
    }

    /* 隐藏滚动条（Webkit 浏览器如 Chrome/Safari） */
    .tabs::-webkit-scrollbar {
      display: none;
    }

    .tab-button {
      padding: 8px 15px;
      background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
      border: none;
      border-radius: 6px 6px 0 0;
      cursor: pointer;
      outline: none;
      white-space: nowrap; /* 防止文字换行 */
      min-width: fit-content; /* 内容多宽就多宽 */
      text-align: center;
      transition: all 0.2s ease;
      font-weight: 500;
      color: #4b5563;
      box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
    }

    .tab-button:hover,
    .tab-button:focus {
      background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
      color: #4338ca;
    }

    .tab-button.active {
      background: linear-gradient(135deg, #4f46e5 0%, #7e3af2 100%);
      color: white;
      box-shadow: 0 -3px 6px rgba(79, 70, 229, 0.2);
    }

    .tab-content {
      display: none;
      padding: 15px;   
      background: #fff;
      min-height: 5px;
      border-radius: 0 0 8px 8px;
      border: 1px solid #e2e8f0;
      border-top: none;
    }

    .tab-content.active {
      display: block;
    }

    /* 在所有屏幕尺寸下都保持横向（不再使用媒体查询改为纵向） */		
		
/* 表单结束------------- */			
/* 左右双列布局容器开始 */
.dual-column-container {
  display: flex;
  gap: 10px;
  width: 100%;
}

.dual-column-container > div {
  flex: 1;
  min-width: 0; /* 防止 flex 子项溢出 */
}

/* 手机端：堆叠为两行 */
@media (max-width: 768px) {
  .dual-column-container {
    flex-direction: column;
    gap: 0px;
	  }
}		
/* 左右两列结束 */
        /* 响应式：小屏时恢复单列 */
        @media (max-width: 992px) {
            .container {
                grid-template-columns: 1fr;
                max-width: 100%;
                padding: 0 12px;
                margin-top: 100px; /* 移动端稍高 */
                padding-top: 125px;        /* 在容器内部顶部增加 20px 内边距 */
            }

            .footer {
                grid-column: span 1;
            }
        }

        @media (max-width: 768px) {
            header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                padding: 10px 12px;
            }

            .search-box {
                width: 100%;
                max-width: none;
            }

            .search-box input[type="text"] {
                width: 100% !important;
                border-radius: 4px 4px 0 0;
            }

            .search-box input[type="submit"] {
                border-radius: 0 0 4px 4px;
                border-left: 1px solid #cbd5e1;
            }

            .header-nav ul {
                flex-wrap: wrap;
                gap: 8px;
            }

            .link-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }

            h1 {
                font-size: 20px;
            }

            /* 天气 iframe 响应式 */
            .header-weather iframe {
                width: 100% !important;
                max-width: 350px;
                height: 60px !important;
                border-radius: 8px;
                overflow: hidden;
                box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }

            .container {
                margin-top: 120px; /* 移动端 header 可能两行，更高 */
            }
        }

        @media (max-width: 480px) {
            .link-grid {
                grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
            }

            .header-title h2 {
                font-size: 20px;
            }
			.latest-ai-section .link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
            gap: 7px;
        }	/*新加 */
	    }
