* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
}

.clear {
    display: block;
    height: 0;
    line-height: 0;
    overflow: hidden;
    clear: both;
    font-size: 0;
}

.clear_::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    line-height: 0;
    overflow: hidden;
}

.container, body, .wrap, .top-header, .main-nav, .banner-section, .search-area, .footer-section, 
.content-wrapper, .main-content, .sidebar-content, .data-table, .pagination, .related-content, 
.tag-container, .article-list, .featured-section, .latest-section, .hero-section {
    width: 100%;
    max-width: 1200px;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.main-content {
    flex: 1;
}

.sidebar-content {
    width: 320px;
    padding: 0 10px;
    box-sizing: border-box;
    display: block;
    visibility: visible;
    opacity: 1;
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.banner-section {
    margin: 15px 0;
}

.search-area {
    margin-bottom: 20px;
}

.footer-content {
    padding: 20px 0;
}

.footer-info {
    text-align: center;
    line-height: 1.8;
}

body {
    font-size: 14px;
    background-color: #f0f4f0;
    background-attachment: fixed;
    color: #333;
    scroll-behavior: smooth;
}

.wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding-bottom: 10px;
    padding-top: 2px;
}

.wrap .content-t, .wrap .content-b {
    height: 10px;
    background-color: #2d5016;
}

.wrap .content {
    background-color: #fff;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-header {
    height: 160px;
    background: linear-gradient(to bottom, #4caf50, #388e3c);
    position: relative;
    border: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-header .logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    padding: 0 20px;
}

.main-nav {
    background-color: #2d5016;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
}

#menu a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

#menu a.active {
    background-color: #4caf50;
}

.mobile-menu-btn {
    display: none;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.banner-section {
    background-color: #4caf50;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-box .title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #2d5016;
    font-size: 16px;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-bottom: 20px;
}

.keyword-list li {
    background-color: #fff;
    padding: 6px 12px;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.keyword-list li:hover {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #388e3c;
}

.notice-section {
    background-color: #e8f5e8;
    border: 1px solid #c8e6c9;
    padding: 15px;
    margin-bottom: 20px;
    color: #2e7d32;
    border-radius: 6px;
}

.section-title {
    color: #2d5016;
    border-bottom: 2px solid #4caf50;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 18px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table-header {
    display: flex;
    background-color: #2d5016;
    font-weight: bold;
    color: #fff;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.table-row.odd {
    background-color: #fff;
}

.table-row.even {
    background-color: #f8f9fa;
}

.table-cell {
    padding: 12px;
    border-right: 1px solid #eee;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-cell:last-child {
    border-right: none;
}

.cell-name { width: 15%; }
.cell-domain { width: 15%; }
.cell-time { width: 10%; }
.cell-version { width: 10%; }
.cell-desc { width: 25%; }
.cell-tag { width: 10%; }
.cell-action { width: 15%; text-align: center; }

.table-cell a, .article-item a, .related-list a, .featured-link, .tag-site-link {
    color: #4caf50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.table-cell a:hover, .article-item a:hover, .related-list a:hover, .featured-link:hover, .tag-site-link:hover {
    color: #388e3c;
    text-decoration: underline;
}

.pagination {
    text-align: center;
    margin: 30px 0;
}

.page-link {
    display: inline-block;
    background-color: #f8f9fa;
    color: #2d5016;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 3px;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.page-link:hover {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
}

.page-link.active {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
    font-weight: bold;
}

.tags-section {
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    display: block;
    visibility: visible;
    opacity: 1;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
}

.tag {
    background-color: #f0f4f0;
    color: #2d5016;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #c8e6c9;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag .tag-count {
    font-size: 11px;
    opacity: 0.8;
}

.tag:hover {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
}

.footer-section {
    background-color: #2d5016;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
    border-radius: 8px 8px 0 0;
}

#copyright {
    text-align: center;
    line-height: 1.8;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #4caf50;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#back-to-top.show {
    display: flex;
}

#back-to-top:hover {
    background-color: #388e3c;
    transform: translateY(-3px);
}

.article-list {
    margin-bottom: 20px;
}

.article-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h3 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #2d5016;
}

.article-meta {
    color: #7f8c8d;
    font-size: 12px;
    margin-bottom: 10px;
}

.article-meta span {
    margin-right: 15px;
}

.article-detail .article-title {
    font-size: 24px;
    color: #2d5016;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.article-content {
    line-height: 1.8;
    margin: 20px 0;
}

.article-content p {
    margin-bottom: 15px;
}

.article-tags {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.related-list {
    list-style: none;
}

.related-list li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}

.related-date {
    color: #7f8c8d;
    font-size: 12px;
    margin-left: 10px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.site-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    padding: 10px;
}

.default-logo {
    width: 100px;
    height: 100px;
    background-color: #4caf50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.detail-title {
    font-size: 28px;
    color: #2d5016;
}

.detail-info {
    line-height: 1.8;
    margin-bottom: 25px;
}

.detail-info p {
    margin-bottom: 12px;
}

.game-image-container {
    margin: 25px 0;
    text-align: center;
}

.game-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.related-item {
    background-color: #f0f4f0;
    padding: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #c8e6c9;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.related-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-weight: 500;
}

.tag-url-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.tag-url-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #c8e6c9;
}

.tag-url-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tag-site-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.results-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.results-title {
    font-size: 20px;
    color: #2d5016;
    margin-bottom: 8px;
}

.results-count {
    color: #7f8c8d;
}

.no-results {
    text-align: center;
    padding: 40px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.btn-reset {
    display: inline-block;
    margin-top: 15px;
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background-color: #388e3c;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.featured-item {
    background-color: #f0f4f0;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #c8e6c9;
}

.featured-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.featured-name {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #2d5016;
}

.featured-date {
    font-size: 12px;
    color: #7f8c8d;
}

.view-more {
    text-align: center;
    margin: 30px 0;
}

.intro-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.intro-section p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .container, body, .wrap, .top-header, .main-nav, .banner-section, .search-area, .footer-section, 
    .content-wrapper, .main-content, .sidebar-content, .data-table, .pagination, .related-content, 
    .tag-container, .article-list, .featured-section, .latest-section, .hero-section {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
        background-color: #2d5016;
        padding: 10px;
        border-radius: 4px;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        z-index: 1000;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar-content {
        width: 100%;
        padding: 0 10px;
    }
    
    .table-header, .table-row {
        flex-wrap: wrap;
    }
    
    .table-cell {
        width: 50% !important;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .table-cell:nth-child(odd) {
        border-right: 1px solid #eee;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid, .tag-url-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-header .logo {
        font-size: 32px;
    }
    
    .top-header {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .table-cell {
        width: 100% !important;
        border-right: none !important;
    }
    
    .featured-grid, .related-grid, .tag-url-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .top-header .logo {
        font-size: 28px;
    }
    
    .top-header {
        height: 120px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
}