:root {
            --primary-color: #1e88e5;
            --accent-color: #f44336;
            --text-color: #333;
            --bg-color: #f5f5f5;
            --card-bg: #ffffff;
            --border-color: #ddd;
            --link-color: #555;
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

header {
    background: var(--primary-color);
    padding: 15px 0;
    margin-bottom: 15px;
    text-align: center;
}

h1 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    width: 95%;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 10px 50px 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.search-engine-selector {
    position: absolute;
    right: 40px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.search-engine-selector select {
    padding: 3px 5px;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    background-color: #f1f1f1;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000; /* 确保导航栏在最上层 */
    background-color: var(--primary-color);
    padding: 10px 0;
    margin-bottom: 15px;
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
    scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
    display: none;
}

.top-nav-container {
    display: inline-block;
    margin: 0 auto;
}

.top-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-block;
    font-size: 14px;
}

.top-nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

.top-nav a.active {
    background-color: rgba(255,255,255,0.3);
    font-weight: bold;
}

.columns {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.category {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    scroll-margin-top: 20px;
}
.category h1{
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    font-size: 15px;
}
h2 {
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    font-size: 15px;
}

.category-description {
    padding: 8px 12px;
    color: var(--text-color);
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
}

.links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    padding: 8px;
    gap: 5px;
}

.link-item a {
    color: var(--link-color);
    text-decoration: none;
    display: block;
    padding: 5px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 3px;
    transition: all 0.2s;
}
.link-item1 a {
    color: #fa0a0a;;
    text-decoration: none;
    display: block;
    padding: 5px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 3px;
    transition: all 0.2s;
    font-weight: bold;
}

.link-item a:hover {
    color: var(--primary-color);
    background-color: rgba(66, 133, 244, 0.1);
}

.hot {
    color: var(--accent-color) !important;
    font-weight: bold;
}

.qrcode-section {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    scroll-margin-top: 20px;
}

.qrcode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    padding: 10px;
    gap: 8px;
}

.qrcode-card {
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s;
}

.qrcode-card:hover {
    background-color: rgba(66, 133, 244, 0.1);
}

.qrcode-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin: 0 auto;
    -webkit-touch-callout: default;
    -webkit-user-select: none;
    user-select: none;
}

.qrcode-name {
    margin-top: 5px;
    font-size: 13px;
    color: var(--text-color);
    font-weight: bold;
}

.qrcode-desc {
    font-size: 11px;
    color: var(--link-color);
    margin-top: 2px;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 15px 0;
    color: var(--text-color);
    font-size: 12px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .links {
        grid-template-columns: repeat(4, 1fr);
        font-size: 12px;
        gap: 4px;
        padding: 6px;
    }
    .link-item a {
        padding: 4px 5px;
    }
    .search-engine-selector {
        right: 35px;
    }
    .search-engine-selector select {
        font-size: 11px;
    }
    
    .top-nav a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .qrcode-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px;
    }
    
    .qrcode-img {
        width: 80px;
        height: 80px;
    }
}

/* 电脑版布局 */
@media (min-width: 769px) {
    .links {
        grid-template-columns: repeat(8, 1fr);
    }
}








 /* 1111111111111111111111111111111111111111111111111 */
/* 基础样式 */


/* 文章容器 */
.article-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 文章头部 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #222;
    line-height: 1.3;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.article-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* 网站信息区块 - 修改为flex布局 */
.website-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
}

.website-info {
    background-color: var(--light-gray);
    border-radius: 6px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    flex: 1;
    min-width: 300px;
}

.website-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.website-info-icon {
    margin-right: 8px;
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.website-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
    font-size: 15px;
}

.website-info-item {
    display: flex;
    align-items: center;
    min-height: 24px;
    width: 100%;
}

.website-info-label {
    font-weight: 500;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.website-info-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
}

.website-info-value.url {
    overflow: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.website-info-value.url::-webkit-scrollbar {
    display: none;
}

.website-info a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted;
}

.visit-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.visit-button:hover {
    background-color: #3367d6;
}

.visit-button i {
    margin-right: 8px;
}

/* 新增：网站图片样式 */
.website-image1 {
    flex: 1;
    min-width: 300px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #999; 
    
}

.website-image1 img {
    max-width: 300px;  /* 图片最大宽度不超过300px */
    max-height: 300px; /* 图片最大高度不超过300px */
    width: auto;       /* 保持宽度自适应 */
    height: auto;      /* 保持高度自适应 */
    object-fit: cover; /* 保持比例填充容器（可选） */
    border-radius: 6px;
}
.website-image {
    flex: 1;
    min-width: 300px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #999; 
}

.website-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/* 频道导航模块 - 修改后的样式 */
.channel-selector {
    position: relative;
    margin: 0 auto 25px;
    width: 100%;
    max-width: 100%;
}

.selector-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
    max-width: 100%;
    margin: 0 auto;
}

.selector-header:hover {
    background: var(--light-gray);
}

.selector-header > i:first-child {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 16px;
}

.selector-header > span {
    font-weight: 500;
    color: var(--text-color);
    flex-grow: 1;
}

/* 只保留一个箭头图标 */
.arrow {
    transition: transform 0.3s;
    font-size: 14px;
    color: var(--primary-color);
}

.channel-grid-container {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.channel-grid li {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.channel-grid li:nth-child(4n) {
    border-right: none;
}

/* 修改：频道项只显示纯文字 */
.channel-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    font-size: 14px;
}

.channel-grid a:hover {
    background: var(--light-gray);
}

.channel-selector.active .channel-grid-container {
    max-height: 500px;
}

.channel-selector.active .arrow {
    transform: rotate(180deg);
}

.channel-selector.active .selector-header {
    border-radius: 6px 6px 0 0;
    background: var(--light-gray);
}

@media (max-width: 900px) {
    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .channel-grid li:nth-child(4n) {
        border-right: 1px solid var(--border-color);
    }
    .channel-grid li:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .website-info-container {
        flex-direction: column;
    }
    
    .website-image {
        order: -1; /* 图片在上方 */
        min-width: 0; /* 允许容器在小屏幕上收缩 */
        max-width: 100%; /* 确保不超过屏幕宽度 */
        
    }
    
    .article-container {
        padding: 1px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    /* 修改：文章导航样式 */
    .article-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-nav-link {
        max-width: 100%;
        margin-bottom: 0;
        padding: 8px 0;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .channel-grid li:nth-child(3n) {
        border-right: 1px solid var(--border-color);
    }
    .channel-grid li:nth-child(2n) {
        border-right: none;
    }
}

/* 文章内容 - 修改为纯文本样式 */
.article-content {
    font-size: 16px;
    margin-bottom: 30px;
    overflow: hidden;
    word-wrap: break-word;
}

/* 修改：文章导航样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.article-nav-link {
    color: var(--text-color);
    text-decoration: none;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.article-nav-link:hover {
    color: var(--primary-color);
}

.article-nav-link.prev {
    text-align: left;
    padding-right: 10px;
}

.article-nav-link.next {
    text-align: right;
    padding-left: 10px;
}

/* 相关文章 */
.related-articles {
    margin-top: 40px;
}

.related-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.related-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.related-item {
    background-color: white;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.related-item:hover {
    transform: translateY(-3px);
}

.related-item a {
    text-decoration: none;
    color: var(--text-color);
}

.related-item-title {
    font-weight: 500;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-item-title i {
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 14px;
}

.related-item-date {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.related-item-date i {
    margin-right: 5px;
    font-size: 12px;
}






/*调用shuju*/

.bus-container {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 1000px;
        }
.bus-header {
            background: #3498db;
            color: white;
            padding: 12px 20px;
            text-align: left;
            font-size: 1.3rem;
            font-weight: normal;
        }
.bus-content {
            padding: 20px;
        }
.bus-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(9, 1fr);
            gap: 8px;
            padding: 0;
            margin: 0;
        }
.bus-list li { 
            text-align: center;
        }
.bus-list a {
            display: block;
            color: #3498db;
            padding: 8px 3px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1rem;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            transition: all 0.2s ease;
            background: #f9f9f9;
        }
.bus-list a:hover {
            color: #fff;
            background-color: #3498db;
            border-color: #3498db;
            transform: translateY(-2px);
        }
@media (max-width: 1000px) { 
            .bus-list { 
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            } 
            .bus-header {
                font-size: 1.1rem;
            }
        }
@media (max-width: 480px) { 
            .bus-list { 
                grid-template-columns: repeat(3, 1fr); 
                gap: 5px;
            }
            .bus-list a { 
                padding: 6px 2px;
                font-size: 0.9rem;
            }
            .bus-header {
                padding: 10px 15px;
                font-size: 1rem;
            }
            .bus-content {
                padding: 15px;
            }
        }
        
        
        
/*888888888888888888888888888*/
.header1 {
    background: #4990ec;
    color: #0c0c0c;
    padding: 2px;
    text-align: center;
}

.header1 h1 {
    font-size: 18px;
    font-weight: normal;
    font-weight: bold;
}

.content {
    display: flex;
    padding: 20px;
}

.info-section {
    flex: 1;
    padding-right: 20px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.image-section img {
    max-width: 100%;
    border: 1px solid #ddd;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #ddeeff;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    background-color: #e8f1ff;
    color: #1a73e8;
    padding: 12px 15px;
    text-align: left;
    width: 100px;
    font-weight: normal;
    font-size: 15px;
}

.info-table td {
    padding: 12px 15px;
    background-color: #f7faff;
    font-size: 15px;
    color: #444;
}

.url {
    color: #1a73e8;
    word-break: break-all;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        padding: 15px;
    }
    
    .info-section {
        padding-right: 0;
        order: 2;
    }
    
    .image-section {
        order: 1;
        margin-bottom: 20px;
    }
}        
        
        
        
        
/* 999999999999999999999999999999999999 */


.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
}

.tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #ddd;
    height: 44px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tab {
    flex: 1;
    min-width: 80px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eee;
    height: 100%;
    padding: 0 10px;
    text-align: center;
}

.tab:last-child {
    border-right: none;
}

.tab.active {
    color: #198cff;
    border-bottom: 2px solid #198cff;
    font-weight: bold;
}

.content {
    padding: 15px;
    background: white;
}

.website-info {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.website-logo {
    width: 120px;
    height: 60px;
    background: #198cff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
    border-radius: 4px;
}

.website-details {
    flex: 1;
}

.website-url {
    color: #198cff;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.website-tagline {
    color: #ff6600;
    font-size: 14px;
}

.coupon {
    background: #fff5e6;
    border: 1px dashed #ff9900;
    padding: 12px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
}

.coupon-amount {
    font-size: 20px;
    color: #ff5500;
    font-weight: bold;
    margin-bottom: 5px;
}

.coupon-desc {
    color: #666;
    margin: 5px 0;
    font-size: 13px;
}

.get-coupon {
    background: #ff9900;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
}

.intro-content {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 10px;
    text-indent: 2em;
}

.section {
    margin-top: 20px;
    display: none;
}

.section.active {
    display: block;
}

.recommend-list {
    list-style: none;
}

.recommend-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.news-list {
    list-style: none;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.news-title {
    color: #198cff;
    font-size: 14px;
    margin-bottom: 5px;
}

.news-date {
    color: #888;
    font-size: 12px;
}

.comments-list {
    list-style: none;
}

.comment-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.user-avatar {
    width: 30px;
    height: 30px;
    background: #ddd;
    border-radius: 50%;
    margin-right: 8px;
}

.user-name {
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.comment-date {
    margin-left: auto;
    color: #888;
    font-size: 12px;
}

.comment-content {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .tab {
        font-size: 13px;
        padding: 0 8px;
        min-width: 70px;
    }
    
    .website-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .website-logo {
        margin-bottom: 10px;
    }
}
        
/*1-1-1-1-1-1-1 -1-1-1-1-1-1-1-1-1-1-1-1-1-*/

.qr-container {
    text-align: center;
    margin-bottom: 40px;
    padding: 10px 0;
}

.qr-code {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.qr-code img {
    max-width: 100%;
}

.scan-text {
    font-size: 15px;
    color: #34495e;
    letter-spacing: 0.3px;
}

.info-container {
    border-top: 1px solid #f0f0f0;
    padding-top: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 15px;
    color: #555;
    min-width: 50px;
    text-align: right;
    padding-right: 10px;
}

.info-content {
    font-size: 15px;
    color: #2c3e50;
    flex: 1;
}

.intro-item {
    margin-top: 20px;
}

.intro-label {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.intro-content {
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.6;
    padding: 12px;
    background-color: #f9f9f9;
    border-left: 2px solid #e0e0e0;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: #bdc3c7;
    font-size: 13px;
}

@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
    }
    
    .qr-code {
        width: 140px;
        height: 140px;
    }
    
    .info-label {
        min-width: 40px;
        font-size: 14px;
    }
    
    .info-content {
        font-size: 14px;
    }
}