* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.clear {
    display: block !important;
    height: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    clear: both !important;
    font-size: 0 !important;
}

.clear_::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
    height: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

.container, body, .wrap, .top, #header, .SMbox, .QQbox, .findbox, #footer, 
.wrap .content-t, .wrap .content-b, .wrap .content, .detail-card, .tags-section,
.data-grid, .pagination, .related-section, .tag-page-container {
    width: 1000px !important;
    max-width: 1000px !important;
    min-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body {
    font-size: 13px !important;
    background-color: #1a0a00 !important;
    background-attachment: fixed !important;
    color: #000 !important;
    scroll-behavior: smooth !important;
}

.wrap {
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    padding-bottom: 10px !important;
    padding-top: 2px !important;
}

.wrap .content-t {
    height: 20px !important;
    background-color: #5f1401 !important;
}

.wrap .content-b {
    height: 20px !important;
    background-color: #5f1401 !important;
}

.wrap .content {
    background-color: #fff !important;
    padding: 15px !important;
}

.top {
    height: 180px !important;
    background: linear-gradient(to bottom, #5f1401, #861701) !important;
    position: relative !important;
    border: none !important;
    top: 0 !important;
    left: 0 !important;
}

.top .logo {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 48px !important;
    font-weight: bold !important;
    color: #fff !important;
    text-shadow: 2px 2px 4px #000 !important;
    text-align: center !important;
    padding: 0 20px !important;
    background: none !important;
}

#header {
    height: 70px !important;
    background: linear-gradient(to bottom, #5f1401, #861701) !important;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .5) !important;
    border: solid 1px #8d621d !important;
    border-top: none !important;
}

#header .container {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

#header .toplogo {
    width: 100px !important;
    height: 70px !important;
    line-height: 70px !important;
    color: #fff !important;
    font-size: 24px !important;
    text-align: center !important;
}

#menu {
    flex: 1 !important;
}

#menu ul {
    display: flex !important;
    list-style: none !important;
    justify-content: center !important;
}

#menu ul li {
    height: 70px !important;
    line-height: 70px !important;
    margin: 0 5px !important;
}

#menu ul li a {
    display: block !important;
    text-decoration: none !important;
    padding: 0 15px !important;
    text-align: center !important;
}

#menu ul li a strong {
    height: 37px !important;
    line-height: 37px !important;
    overflow: hidden !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #fff !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

#menu ul li a span {
    line-height: 14px !important;
    font-size: 12px !important;
    color: #efdb00 !important;
    text-transform: uppercase !important;
    display: block !important;
}

#menu ul li:hover, #menu ul li a.active {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.mobile-menu-btn {
    display: none !important;
    background-color: #5f1401 !important;
    color: #fff !important;
    border: 1px solid #ae7728 !important;
    padding: 5px 10px !important;
    cursor: pointer !important;
}

.SMbox {
    height: 40px !important;
    line-height: 40px !important;
    background: linear-gradient(to top right, #a02e10, #601400) !important;
    font-size: 16px !important;
    color: #fff !important;
    font-weight: bold !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    text-shadow: 1px 3px 2px #000 !important;
    border: none !important;
}

.QQbox {
    height: 36px !important;
    line-height: 36px !important;
    background-color: #a13d07 !important;
    border: none !important;
}

.QQbox .daili {
    width: 100% !important;
    height: 36px !important;
    padding: 0 15px !important;
}

ul.QQlist {
    display: flex !important;
    list-style: none !important;
    overflow: hidden !important;
}

ul.QQlist li {
    float: left !important;
    padding: 0 15px !important;
    cursor: pointer !important;
    color: #d9be05 !important;
    white-space: nowrap !important;
}

.findbox {
    height: 36px !important;
    line-height: 36px !important;
    background-color: #a13d07 !important;
    display: flex !important;
    border: none !important;
}

.findbox .title {
    width: 70px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-right: 10px !important;
}

.findbox .keys {
    flex: 1 !important;
    overflow: hidden !important;
}

ul.keylist {
    display: flex !important;
    list-style: none !important;
    overflow-x: auto !important;
    height: 36px !important;
}

ul.keylist li {
    float: left !important;
    padding: 0 10px !important;
    cursor: pointer !important;
    color: #fff !important;
    white-space: nowrap !important;
}

ul.keylist li:hover {
    color: #efdb00 !important;
    text-decoration: underline !important;
}

.findbox .form {
    width: 230px !important;
    padding-right: 15px !important;
    text-align: right !important;
}

input.txtbox {
    width: 120px !important;
    padding: 5px 11px !important;
    border: none !important;
    border-radius: 5px !important;
    outline: 0 !important;
}

.findbtn {
    margin-left: 10px !important;
    border: 1px solid #011c80 !important;
    border-top: none !important;
    border-left: none !important;
    width: 54px !important;
    background: #FF6408 !important;
    cursor: pointer !important;
    color: #fff !important;
    display: inline-block !important;
    height: 23px !important;
    line-height: 23px !important;
    border-radius: 3px !important;
    text-align: center !important;
}

.findbtn:hover {
    background: #e54202 !important;
}

.notice {
    background-color: #fcf8e8 !important;
    border: 1px solid #ae7728 !important;
    padding: 10px !important;
    margin: 15px 0 !important;
    color: #e54202 !important;
    border-radius: 4px !important;
}

.section-title {
    color: #5f1401 !important;
    margin: 15px 0 !important;
    font-size: 18px !important;
    padding-bottom: 5px !important;
    border-bottom: 2px solid #5f1401 !important;
}

.data-grid {
    border: 1px solid #ae7728 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.grid-header {
    display: flex !important;
    background: linear-gradient(to bottom, #5f1401, #a13d07) !important;
    color: #FFFFFF !important;
}

.grid-row {
    display: flex !important;
}

.grid-row:nth-child(even) {
    background-color: #fffbf6 !important;
    background: linear-gradient(to bottom, #fffbf6, #f4e7d7) !important;
}

.grid-row:nth-child(odd) {
    background-color: #fcf8e8 !important;
    background: linear-gradient(to bottom, #fcf8e8, #fffbf6) !important;
}

.grid-row:hover {
    background-color: #FFFFFF !important;
}

.grid-cell {
    padding: 8px !important;
    border: 1px solid #ae7728 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.cell-name {
    width: 12% !important;
    white-space: nowrap !important;
}

.cell-domain {
    width: 12% !important;
    white-space: nowrap !important;
}

.cell-time {
    width: 12% !important;
    text-align: center !important;
    color: #e54202 !important;
    white-space: nowrap !important;
}

.cell-version {
    width: 12% !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.cell-desc {
    width: 30% !important;
    white-space: normal !important;
    word-break: break-all !important;
    padding: 8px 12px !important;
    max-height: 60px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.cell-tag {
    width: 8% !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.cell-action {
    width: 14% !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.cell-title {
    width: 55% !important;
}

.cell-category {
    width: 20% !important;
    text-align: center !important;
}

.cell-date {
    width: 18% !important;
    text-align: center !important;
}

.grid-cell a {
    color: #000000 !important;
    text-decoration: none !important;
}

.grid-cell a:hover {
    text-decoration: underline !important;
    color: #FF0000 !important;
}

.cell-action a {
    display: inline-block !important;
    width: 80px !important;
    line-height: 28px !important;
    font-size: 14px !important;
    text-align: center !important;
    color: #fff !important;
    background: #FF6408 !important;
    border-radius: 4px !important;
    border: none !important;
}

.cell-action a:hover {
    background: #e54202 !important;
    color: #fff !important;
}

.pagination {
    text-align: center !important;
    margin: 20px 0 !important;
    padding: 10px 0 !important;
}

.page-link {
    display: inline-block !important;
    background: linear-gradient(to bottom, #5f1401, #a13d07) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
    margin: 0 3px !important;
}

.page-link:hover, .page-link.active {
    background: linear-gradient(to bottom, #a13d07, #5f1401) !important;
}

.tags-section h2 {
    background: linear-gradient(to bottom, #5f1401, #a13d07) !important;
    color: #fff !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
    border: 1px solid #ae7728 !important;
    font-size: 18px !important;
    border-radius: 4px 4px 0 0 !important;
}

.tags-container {
    background-color: #fff !important;
    border: 1px solid #ae7728 !important;
    border-top: none !important;
    padding: 15px !important;
    border-radius: 0 0 4px 4px !important;
}

.tag {
    display: inline-block !important;
    background-color: #f4e7d7 !important;
    color: #5f1401 !important;
    padding: 5px 10px !important;
    margin: 5px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}

.tag:hover {
    background-color: #a13d07 !important;
    color: #fff !important;
    border-color: #8d621d !important;
}

#footer {
    margin-top: 20px !important;
}

#copyright {
    width: 100% !important;
    line-height: 40px !important;
    text-align: center !important;
    clear: both !important;
    color: #661d0a !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    background-color: #fff !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
}

#back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #FF6408 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

#back-to-top.show {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#back-to-top:hover {
    background-color: #e54202 !important;
}

.detail-card {
    background-color: #fff !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

.detail-header {
    background: linear-gradient(to bottom, #5f1401, #a13d07) !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
}

.site-logo {
    width: 80px !important;
    height: 80px !important;
    border-radius: 4px !important;
    margin-right: 15px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
}

.default-logo {
    width: 80px !important;
    height: 80px !important;
    background-color: #f4e7d7 !important;
    border-radius: 4px !important;
    margin-right: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    color: #5f1401 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
}

.detail-title {
    color: #fff !important;
    font-size: 24px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.detail-info {
    padding: 15px !important;
}

.detail-info p {
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

.detail-info strong {
    color: #5f1401 !important;
}

.action-buttons {
    margin-top: 20px !important;
    display: flex !important;
    gap: 15px !important;
}

.visit-btn, .report-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.visit-btn {
    background-color: #FF6408 !important;
    color: #fff !important;
    border: 1px solid #e54202 !important;
    flex: 1 !important;
}

.visit-btn:hover {
    background-color: #e54202 !important;
    color: #fff !important;
}

.report-btn {
    background-color: #f4e7d7 !important;
    color: #5f1401 !important;
    border: 1px solid #ae7728 !important;
    flex: 1 !important;
}

.report-btn:hover {
    background-color: #5f1401 !important;
    color: #fff !important;
}

.related-section {
    margin-top: 30px !important;
}

.results-header {
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #ae7728 !important;
}

.results-title {
    color: #5f1401 !important;
    font-size: 20px !important;
    margin-bottom: 5px !important;
}

.results-count {
    color: #666 !important;
}

#tag-name {
    color: #e54202 !important;
}

.no-results {
    text-align: center !important;
    padding: 30px 0 !important;
    background-color: #fcf8e8 !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
}

.no-results p {
    margin-bottom: 15px !important;
    color: #5f1401 !important;
}

.btn-reset {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: linear-gradient(to bottom, #5f1401, #a13d07) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    border: 1px solid #ae7728 !important;
}

.btn-reset:hover {
    background: linear-gradient(to bottom, #a13d07, #5f1401) !important;
}

.related-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 12px !important;
    margin-top: 15px !important;
}

.related-item {
    background-color: #fcf8e8 !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.related-item:hover {
    border-color: #8d621d !important;
}

.related-link {
    display: block !important;
    padding: 10px !important;
    text-decoration: none !important;
}

.related-name {
    font-weight: bold !important;
    color: #5f1401 !important;
    margin-bottom: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.related-domain {
    font-size: 12px !important;
    color: #666 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tag-url-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 12px !important;
    margin-top: 15px !important;
}

.tag-url-item {
    background-color: #fcf8e8 !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.tag-url-item:hover {
    border-color: #8d621d !important;
}

.tag-site-link {
    display: block !important;
    padding: 10px !important;
    text-decoration: none !important;
}

.tag-site-name {
    font-weight: bold !important;
    color: #5f1401 !important;
    margin-bottom: 3px !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tag-site-domain {
    font-size: 12px !important;
    color: #666 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sites-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 15px !important;
}

.site-item {
    background-color: #fcf8e8 !important;
    border: 1px solid #ae7728 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.site-item:hover {
    border-color: #8d621d !important;
}

.site-link {
    display: block !important;
    padding: 12px !important;
    text-decoration: none !important;
    color: #333 !important;
}

.site-domain {
    font-size: 12px !important;
    color: #666 !important;
    margin-top: 5px !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.detail-content {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 2rem !important;
    margin: 2rem 0 !important;
    align-items: start !important;
}

.detail-info {
    padding: 1.5rem !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.game-image-container {
    padding: 1.5rem !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.game-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    border: 1px solid #eee !important;
}

.detail-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.site-logo {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

.default-logo {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
    background: #3498db !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

.detail-title {
    margin: 0 !important;
    font-size: 24px !important;
    color: #2c3e50 !important;
}

.detail-info p {
    margin: 0 0 1rem 0 !important;
    line-height: 1.6 !important;
}

.detail-info strong {
    color: #34495e !important;
    min-width: 100px !important;
    display: inline-block !important;
}

.tag {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: #f1f5f9 !important;
    color: #3b82f6 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    margin: 0 5px 5px 0 !important;
    text-decoration: none !important;
}

.tag:hover {
    background: #3b82f6 !important;
    color: white !important;
}

.notice {
    margin: 1.5rem 0 !important;
    padding: 1rem !important;
    background: #f8fafc !important;
    border-left: 4px solid #3b82f6 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.related-section {
    margin: 2rem 0 !important;
}

.section-title {
    font-size: 18px !important;
    margin-bottom: 1rem !important;
    color: #2c3e50 !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #3b82f6 !important;
    display: inline-block !important;
}

.related-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
}

.related-item {
    background: #fff !important;
    border-radius: 6px !important;
    padding: 1rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.related-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.related-link {
    text-decoration: none !important;
}

.related-name {
    display: block !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.3rem !important;
}

.related-domain {
    display: block !important;
    font-size: 12px !important;
    color: #7f8c8d !important;
}

@media (max-width: 1024px) {
    #menu ul li a strong {
        font-size: 16px !important;
    }
    
    .cell-name, .cell-domain, .cell-time, .cell-version {
        width: 14% !important;
    }
    
    .cell-desc {
        width: 26% !important;
    }
    
    .cell-tag {
        width: 7% !important;
    }
    
    .cell-action {
        width: 11% !important;
    }
    
    .related-grid, .tag-url-grid, .sites-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .top {
        height: 120px !important;
    }
    
    .top .logo {
        font-size: 28px !important;
    }
    
    #menu ul {
        display: none !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        background-color: #5f1401 !important;
        z-index: 1000 !important;
    }
    
    #menu ul.show {
        display: flex !important;
    }
    
    #menu ul li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        border-bottom: 1px solid #8d621d !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .QQbox, .findbox {
        height: auto !important;
        line-height: normal !important;
        padding: 10px 0 !important;
    }
    
    .QQbox .daili, ul.QQlist {
        height: auto !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .findbox {
        flex-direction: column !important;
    }
    
    .findbox .title, .findbox .keys, .findbox .form {
        width: 100% !important;
        margin: 5px 0 !important;
        text-align: center !important;
    }
    
    ul.keylist {
        justify-content: center !important;
    }
    
    .grid-cell.cell-version,
    .grid-cell.cell-tag,
    .grid-cell.cell-desc {
        display: none !important;
    }
    
    .cell-name {
        width: 35% !important;
    }
    
    .cell-domain {
        width: 30% !important;
    }
    
    .cell-time {
        width: 35% !important;
    }
    
    .cell-action {
        width: 20% !important;
    }
    
    .detail-header {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .site-logo, .default-logo {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    
    .action-buttons {
        flex-direction: column !important;
    }
    
    #back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    
    .related-grid, .tag-url-grid, .sites-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    }
    
    .detail-content {
        grid-template-columns: 1fr !important;
    }
    
    .game-image-container {
        order: -1 !important;
    }
}