* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

body.modal-open {
    overflow: hidden;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

:root {
    --theme-color: #e60012;
    --theme-color-hsl: 0, 100%, 45%;
    --theme-hover: #8b0000;
    --theme-black-color: #333;
    --theme-gray-color: #666;
    --theme-light-color: #999;
    --theme-el-bg-color: #fff;
    --theme-border-radius-s: 5px;
    --theme-container-width: 1200px;
    --theme-sidebar-width: 300px;
    --theme-content-sidebar-gap: 20px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.navbar {
    background: linear-gradient(135deg, #e60012 0%, #ff4d4d 100%);
    border-radius: 10px;
    padding: 15px 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.nav-logo span {
    color: #ffcc00;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    loading: lazy;
}

.nav-menu {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
}

.nav-link.active {
    background-color: #ffcc00;
    color: #8b0000;
}

.nav-link.download-btn {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
    color: #8b0000;
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.5);
    animation: pulse 2s infinite;
}

.nav-link.download-btn:hover {
    background: linear-gradient(135deg, #ffd633 0%, #ffe066 100%);
    color: #660000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 10px rgba(255, 204, 0, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 204, 0, 0.8);
    }
    100% {
        box-shadow: 0 4px 10px rgba(255, 204, 0, 0.5);
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
}

.breadcrumb {
    padding: 0px 0px 10px 0px;
    margin-bottom: 10px;
    color: #333;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #e60012;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #8b0000;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 3px;
    color: rgba(0, 0, 0, 0.5);
}

.main-content {
    display: flex;
    gap: 20px;
}

.article-container {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    color: #333;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar {
    width: 300px;
    position: relative;
}

.sidebar-content {
    position: sticky;
    top: 20px;
}

.list-header {
    position: relative;
    color: #333;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.list-title {
    color: #333 !important;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.list-header p {
    color: #333 !important;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 15px;
    font-weight: 500;
    line-height: 1.6;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.list-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333;
    display: flex;
    align-items: stretch;
    min-height: 186px;
    border: 1px solid #eaeaea;
}

.list-item:hover {
    border-color: #e60012;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.list-image-container {
    width: 280px;
    height: 186px;
    flex-shrink: 0;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
}

.list-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    loading: lazy;
}

.list-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 186px;
    width: 480px;
}

.list-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.list-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.list-item-title a:hover {
    color: #e60012;
}

.list-item-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
}

.list-item-description {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
    text-overflow: ellipsis;
    max-height: 4.5em;
}

.list-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.list-item-tags a {
    background-color: rgba(230, 0, 18, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e60012;
    text-decoration: none;
    transition: all 0.3s;
    min-height: 30px;
    display: flex;
    align-items: center;
}

.game-list-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e60012;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-list-title {
    color: #e60012;
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-list-title::before {
    content: '🎮';
    font-size: 1.5rem;
}

.game-list-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.game-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.game-list-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 0, 18, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.game-list-card:hover {
    transform: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 0, 18, 0.1);
}

.game-thumbnail-container {
    position: relative;
    width: 100%;
    height: 248px;
    overflow: hidden;
}

.game-thumbnail-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    aspect-ratio: 1/1;
    loading: lazy;
}

.game-list-card:hover .game-thumbnail {
    transform: scale(1.05);
}

.rating-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    color: #ffcc00;
    font-size: 1.2rem;
}

.rating-stars .star.half {
    position: relative;
}

.rating-stars .star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffcc00;
}

.rating-score {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffcc00;
    margin-left: auto;
}

.game-list-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-list-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 1.4em;
    max-height: 1.4em;
    text-overflow: ellipsis;
}

.game-list-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-list-name a:hover {
    color: #e60012;
}

.game-list-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 4.5em;
    max-height: 4.5em;
    text-overflow: ellipsis;
}

.game-list-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    gap: 5px;
}

.game-list-price {
    background: linear-gradient(135deg, #e60012, #ff3366);
    color: white;
    padding: 0px 7px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2);
}

.game-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.game-list-tag {
    background: rgba(230, 0, 18, 0.08);
    color: #e60012;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(230, 0, 18, 0.15);
}

.game-list-platform {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0px;
}

.game-list-platform::before {
    content: '🎮';
    font-size: 0.9rem;
}

.sidebar-section, .flash-news-section, .subscribe-section, .game-recommend-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    color: #333;
    overflow: visible;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-section h3, .flash-news-section h3, .subscribe-section h3, .game-recommend-section h3 {
    color: #e60012;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(230, 0, 18, 0.2);
    padding-bottom: 10px;
}

.sidebar-list, .flash-news-list {
    list-style: none;
    overflow: visible;
}

.sidebar-item, .flash-news-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-item:last-child, .flash-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-item a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    padding: 8px 0;
}

.sidebar-item a:hover {
    color: #e60012;
}

.sidebar-item .date {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 5px;
}

.subscribe-section {
    text-align: center;
}

.subscribe-section h3::before {
    content: "⭐";
    margin-right: 8px;
    font-size: 1.2em;
}

.subscribe-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.qr-code-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    loading: lazy;
}

.qr-code-note {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 200px;
}

.game-recommend-section h3::before {
    content: "🎮";
    margin-right: 8px;
    font-size: 1.2em;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.game-item {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 0, 18, 0.1);
}

.game-item:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #e60012;
}

.game-image-container {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.game-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    display: block;
    loading: lazy;
}

.game-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.8em;
}

.game-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.game-title a:hover {
    color: #e60012;
}

.game-meta {
    font-size: 0.75rem;
    color: #666;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-rating {
    color: #e60012;
    font-weight: bold;
}

.game-price {
    background-color: #e60012;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
}

.flash-news-section h3::before {
    content: none;
    margin-right: 0;
}

.flash-news-item {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(230, 0, 18, 0.05);
    border: 1px solid rgba(230, 0, 18, 0.1);
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.flash-news-item:hover {
    border-color: #e60012;
    box-shadow: 0 3px 10px rgba(230, 0, 18, 0.1);
}

.flash-news-content {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.flash-news-content.expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.flash-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
}

.flash-news-time {
    display: flex;
    align-items: center;
}

.flash-news-time::before {
    content: "🕒";
    margin-right: 4px;
}

.flash-news-expand {
    color: #e60012;
    font-size: 0.7rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    padding: 5px 8px;
}

.flash-news-expand:hover {
    color: #8b0000;
}

.image-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.image-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.image-item-link {
    display: block;
    flex-shrink: 0;
    width: 70px;
    height: 50px;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #eaeaea;
    loading: lazy;
}

.image-item-content {
    flex: 1;
    min-width: 0;
}

.image-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
}

.image-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.image-item-title a:hover {
    color: #e60012;
}

.image-item-meta {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 5px;
}

.kx-list {
    padding: 15px;
}

.kx-list .kx-date {
    border-left: 1px dashed hsla(var(--theme-color-hsl), .2);
    color: var(--theme-black-color);
    font-size: 20px;
    line-height: 26px;
    margin-left: 15px;
    padding: 12px 20px;
    position: relative;
}

.kx-list .kx-date:after,
.kx-list .kx-date:before {
    background: var(--theme-color);
    border-radius: var(--theme-border-radius-s);
    content: "";
    height: 16px;
    left: -8px;
    opacity: .6;
    position: absolute;
    top: 17px;
    width: 16px;
}

.kx-list .kx-date:before {
    background: var(--theme-el-bg-color);
    opacity: 1;
}

.kx-list .kx-date.fixed {
    background: var(--theme-el-bg-color);
    border-bottom: 1px solid hsla(var(--theme-color-hsl), .2);
    border-left: 0;
    box-shadow: 0 1px 5px 0 hsla(var(--theme-color-hsl), .2);
    margin-left: -15px;
    padding-left: 50px;
    position: fixed;
    width: calc(var(--theme-container-width) - var(--theme-sidebar-width) - var(--theme-content-sidebar-gap) - 20px);
    z-index: 9;
}

.kx-list .kx-date.fixed:after,
.kx-list .kx-date.fixed:before {
    left: 22px;
}

.kx-list .kx-item {
    border-left: 1px dashed hsla(var(--theme-color-hsl), .2);
    margin-left: 15px;
    padding: 20px 0 20px 20px;
    position: relative;
}

.kx-list .kx-time {
    color: var(--theme-color);
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    margin-bottom: 15px;
    position: relative;
}

.kx-list .kx-time:after,
.kx-list .kx-time:before {
    background: var(--theme-el-bg-color);
    border: 4px solid var(--theme-color);
    border-radius: 6px;
    box-sizing: content-box;
    content: "";
    height: 4px;
    left: -26px;
    opacity: .4;
    position: absolute;
    top: 2px;
    width: 4px;
}

.kx-list .kx-time:before {
    border: 4px solid var(--theme-el-bg-color);
    opacity: 1;
}

.kx-list .kx-content {
    overflow: hidden;
}

.kx-list .kx-content h2 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 15px;
}

.kx-list .kx-content h2 a {
    color: var(--theme-black-color);
}

.kx-list .kx-content h2 a:hover {
    color: var(--theme-hover);
    text-decoration: none;
}

.kx-list .kx-content p {
    color: var(--theme-gray-color);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.kx-list .kx-img {
    display: block;
    margin-top: 10px;
    max-width: 60%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kx-list .kx-img a {
    display: block;
    text-decoration: none;
}

.kx-list .kx-img img {
    display: block;
    height: auto;
    width: 200px;
    height: 133px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    loading: lazy;
}

.kx-list .kx-img.expanded img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
}

.kx-list .kx-new {
    background: #d9f9d1;
    color: #3c763d;
    cursor: pointer;
    display: none;
    line-height: 30px;
    text-align: center;
}

.kx-list .kx-new.fixed {
    margin-left: -15px;
    position: fixed;
    width: calc(var(--theme-container-width) - var(--theme-sidebar-width) - var(--theme-content-sidebar-gap) - 20px);
    z-index: 10;
}

.kx-list .kx-meta {
    text-align: right;
}

.kx-list .kx-meta .j-mobile-share {
    float: left;
}

.kx-meta {
    color: var(--theme-light-color);
    font-size: 0;
    margin-top: 20px;
}

.kx-meta a,
.kx-meta span,
.kx-meta time {
    font-size: 14px;
    line-height: 22px;
    margin-right: 15px;
}

.kx-meta .j-mobile-share {
    cursor: pointer;
}

.kx-meta .j-mobile-share:hover {
    color: var(--theme-hover);
}

.kx-meta .share-icon {
    color: var(--theme-light-color);
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    vertical-align: top;
}

.kx-meta .share-icon:hover {
    color: var(--theme-hover);
}

.kx-meta .weibo:hover {
    color: #e05244 !important;
}

.kx-meta .wechat:hover {
    color: #44b549 !important;
}

.kx-meta .qq:hover {
    color: #22a4ff !important;
}

.kx-meta .qzone:hover {
    color: #fdbf2f !important;
}

.kx-meta .douban:hover {
    color: #33b045 !important;
}

.kx-meta .linkedin:hover {
    color: #0077b5 !important;
}

.kx-meta .facebook:hover {
    color: #44619d !important;
}

.kx-meta .twitter:hover {
    color: #55acee !important;
}

.kx-more {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 8px;
}

.kx-more:hover {
    color: var(--theme-hover);
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 12px 18px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a:hover {
    background-color: #e60012;
    color: white;
}

.pagination .current {
    background-color: #e60012;
    color: white;
}

.pagination .prev, .pagination .next {
    background-color: rgba(255, 255, 255, 0.8);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e60012;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #8b0000;
    transform: translateY(-3px);
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
    color: #666;
    margin-top: 40px;
    background-color: #f9f9f9;
}

.footer-links {
    margin-top: 15px;
    font-size: 14px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 8px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #e60012;
    text-decoration: underline;
}

article, section, main, aside, nav {
    display: block;
}

.floating-game-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    .floating-game-btn {
        left: calc((100% - 1200px) / 2 - 80px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .floating-game-btn {
        left: calc((100% - 960px) / 2 - 70px);
    }
}

.floating-game-btn .btn-main {
    background-color: #ff3b30;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
    transition: all 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    white-space: nowrap;
}

.floating-game-btn .btn-main:hover {
    background-color: #ff1f1f;
    box-shadow: 0 6px 16px rgba(255, 59, 48, 0.4);
    transform: translateY(-2px);
}

.floating-game-btn .qr-container {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-left: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 200px;
    text-align: center;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid #eaeaea;
}

.floating-game-btn:hover .qr-container {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-game-btn .qr-img {
    width: 170px;
    height: 170px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #eaeaea;
    loading: lazy;
}

.floating-game-btn .qr-title {
    font-weight: bold;
    color: #333;
    margin: 0;
    font-size: 16px;
}

.floating-game-btn .qr-desc {
    color: #666;
    font-size: 12px;
    margin: 5px 0 0 0;
    line-height: 1.4;
}

/* ============================================
   响应式设计 - 将所有移动端样式统一归类到最后
   ============================================ */

/* 平板设备响应式 */
@media (max-width: 1024px) {
    .nav-item {
        margin-left: 15px;
    }
    
    .sidebar {
        width: 250px;
    }
    
    .list-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .list-image-container {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
    
    .list-content {
        height: auto;
        min-height: 180px;
        width: 100%;
    }
    
    .game-list-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .game-thumbnail-container {
        height: 250px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .game-image-container {
        height: 100px;
    }
    
    .qr-code-img {
        width: 160px;
        height: 160px;
    }
    
    .kx-list .kx-date.fixed {
        width: 684px;
    }
    
    @media (max-width: 991px) {
        .kx-list .kx-new.fixed {
            left: 15px;
            margin-left: 0;
            right: 15px;
            width: auto;
        }
    }
    
    .floating-game-btn {
        left: 10px;
    }
    
    .floating-game-btn .btn-main {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .floating-game-btn .qr-container {
        width: 180px;
        padding: 12px;
    }
    
    .floating-game-btn .qr-img {
        width: 150px;
        height: 150px;
    }
}

/* 移动端统一响应式样式 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }
    
    .navbar {
        margin-bottom: 10px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar, .breadcrumb {
        display: none;
    }
    
    .sidebar-content {
        position: static;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-item {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 12px 15px;
        display: block;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link.download-btn {
        animation: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer-links a {
        margin: 0 6px;
    }
    
    .list-item {
        flex-direction: column;
    }
    
    .list-image-container {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
    
    .list-content {
        height: auto;
        min-height: 180px;
        width: 100%;
    }
    
    .list-item-title {
        font-size: 1.2rem;
    }
    
    .list-item-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .game-list-section {
        padding: 0px;
        margin-bottom: 25px;
    }
    
    .game-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .game-list-title {
        font-size: 1.5rem;
        color: #ffcc00 !important;
    }
    
    .game-list-subtitle {
        color: #ffffff !important;
    }
    
    .game-list-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-thumbnail-container {
        height: 280px;
    }
    
    .game-list-content {
        padding: 15px;
    }
    
    .game-list-name {
        font-size: 1.2rem;
        line-height: 1.4;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 10px;
    }
    
    .game-list-name a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    .game-list-description {
        font-size: 0.9rem;
        line-height: 1.5;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 12px;
    }
    
    .article-container {
        padding: 20px!important;
    }
    
    .search-guide-section, .tutorial-section {
        background-color: transparent!important;
        min-height: auto;
        width: 100%;
        padding: 0px;
        box-shadow: none!important;
        border: 0px;
    }
    
    .tutorial-container {
        flex: none;
    }
    
    .tutorial-image {
        width: 100px;
        height: 100px;
    }
    
    .tutorial-info {
        height: 100px;
        gap: 5px;
    }
    
    .tutorial-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tutorial-header h2 {
        text-align: center;
        width: 100%;
    }
    
    .tutorial-name, .tutorial-name a {
        font-size: 1.1rem;
    }
    
    .tutorial-link-title {
        font-size: 0.9rem;
    }
    
    .tutorial-link-date {
        font-size: 0.75rem;
    }
    
    .news-content {
        padding: 12px;
        min-height: 100px;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .news-content p {
        padding: 8px 10px;
        font-size: 0.9rem;
        backdrop-filter: blur(2px) brightness(0.95);
    }
    
    .list-header {
        padding: 15px;
    }
    
    .list-title {
        font-size: 1.5rem;
        color: #333 !important;
    }
    
    .list-header p {
        color: #333 !important;
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .game-recommend-section {
        padding: 15px;
    }
    
    .game-recommend-section h3 {
        font-size: 1.2rem;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-image-container {
        height: 100px;
    }
    
    .game-info {
        padding: 10px;
    }
    
    .game-title {
        font-size: 0.85rem;
    }
    
    .qr-code-img {
        width: 150px;
        height: 150px;
    }
    
    .game-list-meta {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .kx-list {
        padding: 0;
    }
    
    .kx-list .kx-date.fixed {
        margin-left: 0;
    }
    
    .kx-list .kx-img {
        max-width: 100%;
    }
    
    .kx-list .kx-img img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
    
    .kx-list .kx-new.fixed {
        left: 15px;
        margin-left: 0;
        right: 15px;
        width: auto;
    }
    
    .el-boxed .mix-tabs .kx-list {
        padding: 20px 0;
    }
    
    .floating-game-btn {
        display: none;
    }
}

/* 小屏手机响应式 */
@media (max-width: 480px) {
    .nav-logo span {
        font-size: 1.3rem;
    }

    .image-item {
        flex-direction: column;
    }
    
    .image-item-link {
        width: 100%;
        height: auto;
        aspect-ratio: 7/5;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .footer-links a {
        margin: 0 4px;
        display: inline-block;
    }
    
    .list-item-title {
        font-size: 1.1rem;
    }
    
    .game-list-container {
        grid-template-columns: 1fr;
    }
    
    .game-thumbnail-container {
        height: 280px;
    }
    
    .list-header {
        padding: 12px;
    }
    
    .list-title {
        font-size: 1.3rem;
        color: #333 !important;
    }
    
    .list-header p {
        color: #333 !important;
        font-size: 0.85rem;
        padding: 0;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .game-item {
        flex-direction: row;
    }
    
    .game-image-container {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .qr-code-img {
        width: 140px;
        height: 140px;
    }
}

/* 超小屏手机响应式 */
@media (max-width: 360px) {
    .footer-links a {
        margin: 0 3px;
    }
    
    .list-content {
        padding: 15px;
        width: 100%;
    }
    
    .list-item-title {
        font-size: 1rem;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .game-item {
        flex-direction: column;
    }
    
    .game-image-container {
        width: 100%;
        height: 100px;
    }
    
    .qr-code-img {
        width: 130px;
        height: 130px;
    }
    
    .list-title {
        font-size: 1.2rem;
        color: #333 !important;
    }
    
    .list-header p {
        color: #333 !important;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .floating-game-btn {
        display: none;
    }
}