﻿﻿﻿﻿﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, figcaption, blockquote, pre {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.platform-tabs {
    width: 100%;
    margin-bottom: 0;
    margin-top: 20px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    box-shadow: none;
}

.platform-tab {
flex: 1;
    padding: 15px 0;
    border: 1px solid transparent;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-right: 0px;
    text-align: center;
}

.platform-tab:last-child {
    margin-right: 0;
}

.platform-tab:hover {
    background-color: #f0f0f0;
    color: #333;
}

.platform-tab.active {
    background-color: #fff;
    color: #333;
    border-color: #e0e0e0;
    border-bottom-color: #fff;
    border-top: 5px solid #333;
    z-index: 3;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.02);
}

.platform-tab[data-typeid="15"].active {
    border-top-color: #e60012;
    color: #e60012;
}

.platform-tab[data-typeid="28"].active {
    border-top-color: #003791;
    color: #003791;
}

.platform-tab[data-typeid="0"].active {
    border-top-color: #333;
    color: #333;
}

.platform-tab[data-typeid="29"].active {
    border-top-color: #28a745;
    color: #28a745;
}

.game-list.with-tabs {
    border: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-top-right-radius: 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: -1px;
    padding: 20px;
    position: relative;
    margin: -1px 20px 20px 20px;
    z-index: 1;
}

.platform-tabs:has(.platform-tab:first-child.active) + .game-list.with-tabs {
    border-top-left-radius: 0;
}

.platform-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.platform-tab.active::after {
    background-color: #fff;
    height: 2px;
    bottom: -1px;
    z-index: 4;
}

@media (max-width: 768px) {
    .platform-tab {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    .game-size {
        display: block !important;
    }
    .rank-column,
    .rank-heat-info,
    .rank-arrow-column,
    .rank-date {
        display: none !important;
    }
}

.special-btn[data-count="0"] {
    opacity: 0.8;
    border-color: #cccccc;
}

.special-btn[data-count="0"]:hover {
    opacity: 1;
    border-color: #999999;
}

.page-info-message {
    text-align: center;
    padding: 15px;
    background-color: #f0f7ff;
    color: #3366aa;
    font-size: 0.95rem;
}

.page-info-message i {
    margin-right: 8px;
    color: #0066cc;
}



.error-report-btn {
    background-color: #ff4757 !important;
    color: white !important;
}

.error-report-btn:hover {
    background-color: #ff2e43 !important;
}

.error-report-btn.processing {
    background-color: #ffa502 !important;
    cursor: not-allowed;
}

.error-report-btn.success {
    background-color: #2ed573 !important;
}

.error-report-btn.failed {
    background-color: #535c68 !important;
}

.error-report-btn.disabled {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
}

.confirm-prompt {
    background-color: #fff8e1;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.confirm-title {
    font-size: 1.2rem;
    color: #856404;
    font-weight: 600;
    margin-bottom: 15px;
}

.confirm-content {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

.feedback-form {
    text-align: left;
}

.feedback-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.feedback-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.feedback-counter.warning {
    color: #ff4757;
}

.feedback-tip {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #0050b3;
}

.feedback-tip i {
    margin-right: 5px;
    color: #1890ff;
}

.confirm-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.confirm-submit-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.confirm-submit-btn:hover:not(:disabled) {
    background-color: #218838;
}

.confirm-submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.confirm-cancel-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.confirm-cancel-btn:hover {
    background-color: #5a6268;
}

.existing-feedback-prompt {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.existing-feedback-title {
    font-size: 1.1rem;
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
}

.existing-feedback-content {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
}

/* PC 端悬浮工具栏 */
.floating-toolbar {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .floating-toolbar {
        display: none !important;
    }
}

.float-btn {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #666;
}

.float-btn:hover {
    background-color: #e60012;
    border-color: #e60012;
    color: #ffffff;
    border-radius: 8px;
}

.float-icon {
    font-size: 1.1rem;
    font-weight: 600;
}

.float-text {
    display: none;
    font-size: 0.8rem;
    white-space: nowrap;
    font-weight: 600;
}

.float-btn:hover .float-icon {
    display: none;
}

.float-btn:hover .float-text {
    display: block;
}

.float-qr {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 140px;
    height: 140px;
    pointer-events: none;
}

.float-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.float-qr::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.float-qr::before {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #e0e0e0;
}

.float-btn:hover .float-qr {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

.back-home-btn {
    background-color: #e60012;
    color: #ffffff;
    border-color: #e60012;
    display: none;
}

.back-home-btn:hover {
    background-color: #ff3333;
    border-color: #ff3333;
}

.back-home-btn.show {
    display: flex;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e60012;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

@media (min-width: 769px) {
    .back-to-top {
        display: none !important;
    }
}

.qr-modal,


.qr-modal-content,


.qr-modal-content h3 {
    color: #e60012;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}

.qr-modal-content p {
    color: #0066cc;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}







.qr-code-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-placeholder {
    color: #666;
    font-size: 0.85rem;
    padding: 15px;
    text-align: center;
}

.wechat-close,
.qr-modal-close,
.mvp-close {
    background-color: #e60012;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    width: 100%;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.wechat-close:hover,
.qr-modal-close:hover,
.mvp-close:hover {
    background-color: #ff3333;
}

header {
    background: linear-gradient(to right, #e60012, #ff4d4d);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 3px solid #e60012;
}

.logo {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.logo-image {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.logo .brand {
    position: relative;
    background: #fff;
    color: #e60012;
    padding: 0px 15px;
    border-radius: 12px;
    margin-right: 10px;
    display: inline-block;
    transform: rotate(-4deg);
    font-size: 2.2rem;
    font-weight: 900;
}

.logo .brand::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: #fff;
    border-radius: 8px;
    z-index: 1;
}

.logo .brand::after {
    content: 'NS';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    color: #e60012;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 2.2rem;
    font-weight: 900;
    transform: rotate(-4deg);
}

.logo .brand {
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.4);
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

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

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-type-select {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #e60012;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 30px 0 15px;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    outline: none;
    height: 42px;
    line-height: 42px;
    z-index: 10;
    border-radius: 50px 0 0 50px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    text-align: center;
    text-align-last: center;
    transition: all 0.2s ease;
}

.search-type-select:hover {
    background-color: #ff3333;
    color: white;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    border-right-color: rgba(255, 255, 255, 0.5);
}

.search-type-select option {
    background-color: #fff;
    color: #333;
    padding: 12px;
    font-weight: normal;
}

.search-box {
    width: 100%;
    padding: 14px 120px 14px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1.0rem;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #e60012;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    background-color: #ff3333;
}

.search-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-keyword {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 2px;
}

.site-intro {
    background-color: #fafafa;
    padding: 25px 20px;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.8;
}

.site-intro h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e60012;
    margin-bottom: 12px;
}

.site-intro p {
    font-size: 1.0rem;
    color: #555555;
}

.category-filter {
    padding: 25px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #e0e0e0;
}

.filter-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e60012;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.filter-title i ,.special-title i{
    margin-right: 10px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
padding: 5px 14px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    color: #333;
    font-size: 0.8rem;
    cursor: pointer;
}

.category-btn:hover {
    background-color: #ffefef;
    border-color: #e60012;
    color: #e60012;
}

.category-btn.active {
    background-color: #e60012;
    border-color: #e60012;
    color: white;
}

.category-btn i {
    margin-right: 3px;
    font-size: 0.8rem;
}

.toggle-special-btn {
    padding: 8px 25px;
    background: linear-gradient(135deg, #ff8c00, #ff6b35);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.toggle-special-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.toggle-special-btn.collapsed i {
    transform: rotate(-180deg);
}

.special-category {
    padding: 20px;
    background-color: #f0f7ff;
    border-bottom: 1px solid #d0e3ff;
    display: none;
}

.special-category.visible {
    display: block;
}

/* 排行榜头部区域 */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
    flex-wrap: wrap;
    gap: 15px;
}

.board-title-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.board-title {
    font-size: 1.5rem;
    color: #222222;
    margin: 0;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
    line-height: 1.2;
}

.board-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #e60012;
    border-radius: 2px;
}

.board-subtitle {
    font-size: 0.85rem;
    color: #999999;
    margin: 6px 0 0 15px; /* 左边距与标题文字对齐 */
    font-weight: normal;
    line-height: 1.4;
}
.board-subtitle strong {
    color: #666666;
    font-weight: 600;
}

.special-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.special-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.special-btn {
padding: 6px 15px;
    background-color: #ffffff;
    border: 1px solid #a0c8ff;
    border-radius: 6px;
    color: #3366aa;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.special-btn:hover {
    background-color: #e6f0ff;
    border-color: #0066cc;
    color: #004488;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.1);
}

.special-btn.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
}

.special-count {
    background-color: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border-radius: 12px;
    padding: 0px 5px;
    font-size: 0.8rem;
    margin-left: 8px;
}

.special-btn.active .special-count {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.game-list {
    padding: 20px;
    padding-bottom: 25px;
}

.game-item {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    align-items: center;
    border: 1px solid #f0f0f0;
}

.game-item:hover {
    background-color: #f9f9f9;
}

.game-cover {
    position: relative;
    width: 176px;
    height: 100px;
    min-width: 160px;
    margin-right: 20px;
    flex-shrink: 0;
}

.game-cover-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-cover-img.loaded {
    opacity: 1;
}

.load-more-btn {
    width: 100%;
    padding: 12px 0;
    margin-top: 10px;
    margin-bottom: 10px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: #f9f9f9;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    color: #999999;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.image-placeholder.hidden {
    display: none;
}

.image-placeholder i {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #cccccc;
}

.image-placeholder span {
    font-size: 0.8rem;
}

.game-size {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(230, 0, 18, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 0 8px 0 8px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: none;
}

.game-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-name-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.game-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222222;
    line-height: 1.4;
    margin: 0;
    display: inline-block;
}

.game-alias {
    font-size: 0.95rem;
    color: #888888;
    margin-left: 8px;
    font-weight: normal;
}

.game-alias::before {
    content: " | ";
    color: #cccccc;
    margin-right: 4px;
}



.game-english-name {
    font-size: 1rem;
    color: #888888;
    margin: 4px 0 12px 0;
    font-style: italic;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.chinese-tag {
    background-color: #e60012;
    color: white;
    padding: 0px 8px;
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 4px;
}

.special-tag {
    background-color: #28a745;
    color: white;
    padding: 0px 8px;
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 4px;
}

.platform-tag {
    background-color: #ffc107;
    color: #333;
    padding: 0px 8px;
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 4px;
}

.game-tag {
    background-color: #f0f0f0;
    color: #666666;
    padding: 0px 8px;
    border-radius: 0px;
    font-size: 0.75rem;
}

.size-tag {
    background-color: #555;
    color: white;
    padding: 0px 8px;
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 4px;
}

.detail-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-left: 15px;
    min-width: 110px;
}

.detail-btn {
    padding: 10px 16px;
    border-radius: 50px; /* 圆角按钮更柔和 */
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.baidu-btn {
    background-color: #2932e1;
    color: white;
}

.baidu-btn:hover {
    background-color: #1a22c9;
}

.quark-btn {
    background-color: #ff6b35;
    color: white;
}

.quark-btn:hover {
    background-color: #e55a2b;
}

.search-game-btn {
    background-color: #fdf0f0;
    color: #e60012;
    border: 1px solid #e60012;
}

.search-game-btn:hover {
    background-color: #e60012;
    color: #ffffff;
}

.empty-download-space {
    height: 37px;
    visibility: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 25px 20px;
}

.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number, .pagination a, .pagination b, .pagination span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    color: #666666;
    text-decoration: none;
}

.page-number:hover, .pagination a:hover {
    background-color: #ffefef;
    border-color: #e60012;
    color: #e60012;
}

.page-number.active, .pagination b {
    background-color: #e60012;
    color: white;
    border-color: #e60012;
    font-weight: bold;
}

.clear-all-btn {
    display: block;
    width: calc(100% - 40px); /* 通栏，两边留出边距 */
    margin: 30px 20px;
    padding: 16px 0;
    background-color: #e60012; /* 直接使用主题红色，醒目 */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

/* 去除所有动画效果和悬停变化，保持极简纯静态 */
.clear-all-btn:hover {
    background-color: #e60012;
}

.footer {
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;
    color: #999999;
    
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.loading-indicator {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

.loading-indicator i {
    margin-right: 10px;
    color: #e60012;
}

.search-results-info {
    padding: 15px 20px;
    background-color: #f0f7ff;
    border-bottom: 1px solid #d0e3ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.results-count {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 600;
}

.current-filter {
    font-size: 1rem;
    color: #e60012;
    font-weight: 700;
    margin-right: 15px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: none;
}

.current-filter i {
    font-size: 1.1rem;
    color: #e60012;
}

.clear-filter-btn {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clear-filter-btn:hover {
    background-color: #e55a2b;
}

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

.qr-modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.qr-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e60012;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-modal-title i {
    margin-right: 10px;
}

.qr-modal-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.qr-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.qr-code-canvas {
    width: 200px;
    height: 200px;
    background-color: white;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.mini-program-qrcode {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
}

.official-account-qrcode {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
}

.qr-mode-switch {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mode-switch-btn {
    background-color: #f0f0f0;
    color: #666;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-switch-btn.active {
    background-color: #e60012;
    color: white;
}

.mode-switch-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

.qr-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.qr-copy-btn {
    background-color: #2932e1;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
}

.qr-copy-btn:hover {
    background-color: #1a22c9;
}

.qr-close-btn {
    background-color: #666;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
}

.qr-close-btn:hover {
    background-color: #555;
}

.qr-code-hint {
    background-color: #f8f9fa;
    color: #e60012;
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.qr-extract-code {
    background-color: #f8f9fa;
    color: #e60012;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    cursor: default;
}

.copy-success {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.copy-success.show {
    display: block;
}

.qr-error-btn {

    background-color: #ff4757;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
}

.qr-error-btn:hover {
    background-color: #ff2e43;
}

.qr-error-btn.processing {
    background-color: #ffa502;
    cursor: not-allowed;
}

.qr-error-btn.success {
    background-color: #2ed573;
}

.qr-error-btn.failed {
    background-color: #535c68;
}

.qr-error-btn.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.error-report-success {
    color: #2ed573;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.error-report-success.show {
    display: block;
}





@media (max-width: 768px) {
    .game-item {
        flex-direction: column;
        align-items: stretch;
        padding: 0 !important;
        overflow: hidden;
    }
    
    .game-content {
        padding: 12px 15px;
    }

    .game-cover {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .detail-buttons {
        flex-direction: row;
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .detail-btn {
        flex: 1;
        padding: 10px;
    }

    .categories, .special-categories {
        gap: 8px;
    }

    .category-btn, .special-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .tagline {
        font-size: 1rem;
    }

    .clear-all-btn {
        width: 90%;
    }

    .search-box {
        padding: 12px 60px 12px 16px;
        font-size: 1rem;
    }

    .search-button {
        padding: 8px 16px;
        font-size: 0.9rem;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
    }

    .search-info {
        display: none;
    }

    .search-results-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .qr-modal-content {
        width: 95%;
        padding: 20px;
    }

    .qr-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .page-info-message {
        font-size: 0.85rem;
        padding: 10px;
    }

    .qr-mode-switch {
        flex-direction: column;
        gap: 5px;
    }

    .mode-switch-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    

    

    

    .category-filter, .tagline {
        display: none !important;
    }

    .container {
        border: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }

    .game-list {
        padding: 15px 0px;
    }

    

    
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .game-item {
        padding: 12px 0;
    }

    .page-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .detail-buttons {
        flex-direction: column;
        width: 100%;
    }

    .search-button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
        width: auto;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .search-type-select {
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        height: 36px;

        line-height: 36px;
        font-size: 0.9rem;
        padding: 0 25px 0 10px;
        border-radius: 50px 0 0 50px;
        background-position: right 6px center;
        background-color: #e60012;
        color: white;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    }

    .search-box {
        padding: 12px 60px 12px 20px;
        font-size: 0.95rem;
    }

    .search-info {
        display: none;
    }

    .page-info-message {
        font-size: 0.8rem;
        padding: 8px;
    }

    .platform-tabs {
        padding: 0px;
    }

    .game-list.with-tabs {
        margin: -1px 0px 0px 0px;
    }
}



.after-feedback-panel {
    text-align: center;
    padding: 20px 10px;
}
.after-feedback-title {
    font-size: 20px;
    font-weight: bold;
    color: #2ed573;
    margin-bottom: 15px;
}
.after-feedback-message {
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #333;
}
.after-feedback-link {

    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 4px;
    word-break: break-all;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    border: 1px dashed #aaa;
}
.after-feedback-copy-btn {

    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
.after-feedback-copy-btn:hover {
    background-color: #218838;
}



/* default content boards tabs */
.board-tabs-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.board-tab {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.board-tab:hover {
    color: #e60012;
    border-color: #e60012;
    background: #fff0f0;
}
.board-tab.active {
    color: #fff;
    background: #e60012;
    border-color: #e60012;
}
.board-pane {
    display: none;
}
.board-pane.active {
    display: block;
}
.clickable-game-item {
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.clickable-game-item:hover {
    background-color: #fafafa;
    border-color: #e60012;
}

.rank-heat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    margin-left: 10px;
}

.rank-date {
    font-size: 0.85rem;
    color: #999999;
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.heat-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.heat-count {
    font-size: 0.85rem;
    color: #ff6b35;
    font-weight: bold;
}

.rank-arrow-column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    margin-left: 10px;
    color: #cccccc;
    font-size: 1.8rem;
    font-weight: 300;
}

.clickable-game-item:hover .rank-arrow-column {
    color: #e60012;
}

.rank-column {
    width: 40px;
    height: 100px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #999;
    background-color: #f5f5f5;
    border-radius: 8px;
    flex-shrink: 0;
}
.rank-column.rank-1 { background: #e60012; color: #fff; font-size: 2rem; }
.rank-column.rank-2 { background: #ff6b35; color: #fff; font-size: 1.8rem; }
.rank-column.rank-3 { background: #feca57; color: #fff; font-size: 1.6rem; }
.rank-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 24px;
    height: 24px;
    background: #999;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.rank-badge.rank-1 { background: #e60012; width: 32px; height: 32px; font-size: 16px; top: -8px; left: -8px; }
.rank-badge.rank-2 { background: #ff6b35; width: 28px; height: 28px; font-size: 14px; top: -6px; left: -6px; }
.rank-badge.rank-3 { background: #feca57; width: 26px; height: 26px; font-size: 13px; top: -5px; left: -5px; }

@media (max-width: 768px) {
    .board-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .board-tabs-container {
        gap: 8px;
        width: 100%;
        justify-content: flex-start;
    }
    .board-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .rank-column {
        height: 180px;
    }
}
