@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-y: scroll;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
}

.section-spacing {
    padding: 15px;
}
.section-spacing-top {
    margin-top: 15px;
}

.header {
    width: 100%;
}

.banner {
    width: 100%;
    background-color: #000;
    position: relative;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.video-player-container {
    width: 100%;
    background-color: #000;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000;
    object-fit: contain;
    z-index: 1;
}

.video-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-poster-overlay.video-ready {
    opacity: 0;
    pointer-events: none;
}

.video-loading {
    background-color: #000;
}

.poster-text {
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
}

.game-info {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.game-info.is-fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 650px;
    left: 50%;
    transform: translateX(-50%);
}

.game-info.is-sticky-active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.game-details {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-tags {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-desc {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-download {
    background-color: #4A90E2;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
}

.promo-banner {
    padding: 15px 15px 0;
}

.promo-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #fafafa;
    font-size: 13px;
}

.breadcrumb-home {
    color: #4A90E2;
    text-decoration: none;
}

.breadcrumb-home:hover {
    text-decoration: none;
}

.breadcrumb-item {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item:hover {
    color: #4A90E2;
    text-decoration: none;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-current {
    color: #999;
}

.tab-nav {
    margin: 15px 0;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
}

.tab-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tab a:hover,
.tab a:focus-visible {
    color: #4A90E2;
    outline: none;
}

.tab-content {
    position: relative;
    margin: 0 15px;
}

.tab-panel {
    display: block;
}

.tab-panel + .tab-panel {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.game-intro .intro-text + .intro-text {
    margin-top: 8px;
}

/* 简洁的静态栏目样式 */
.game-intro {
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.game-intro .section-title {
    margin-top: 0;
}

.game-intro .intro-text {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #666;
    line-height: 1.8;
}

.announcement-list { margin: 0; padding: 0; list-style: none; }.announcement-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; }.announcement-list li:last-child { border-bottom: 0; }.announcement-list time { flex: 0 0 78px; color: #999; font-size: 12px; line-height: 1.7; }.announcement-list strong { display: block; color: #444; font-size: 14px; font-weight: 600; }.announcement-list p { margin: 2px 0 0; color: #777; font-size: 13px; line-height: 1.7; }
.faq-label { margin: 0 0 6px; color: #666; font-size: 13px; font-weight: 500; }.faq-list { border-top: 1px solid #eee; }.faq-item { border-bottom: 1px solid #eee; }.faq-item summary { position: relative; padding: 11px 28px 11px 0; color: #444; cursor: pointer; font-size: 14px; list-style: none; }.faq-item summary::-webkit-details-marker { display: none; }.faq-toggle { position: absolute; top: 15px; right: 4px; width: 10px; height: 10px; font-style: normal; }.faq-toggle::before, .faq-toggle::after { position: absolute; content: ''; top: 4px; left: 0; width: 10px; height: 1px; background: #8aa1b1; transition: transform .18s ease; }.faq-toggle::after { transform: rotate(90deg); }.faq-item[open] .faq-toggle::after { transform: rotate(0); }.faq-item p { margin: 0 0 11px; color: #777; font-size: 13px; line-height: 1.75; }
.player-comment { position: relative; padding: 10px 0 12px; border-bottom: 1px solid #eee; }.player-comment:last-child { border-bottom: 0; }.player-comment header { display: flex; align-items: center; gap: 10px; }.comment-rating { color: #e58b1c; font-size: 13px; font-weight: 600; }.player-comment-user { display: inline-flex; align-items: center; gap: 6px; color: #444; font-size: 14px; font-weight: 600; }.player-avatar { position: relative; display: inline-block; width: 27px; height: 27px; overflow: hidden; border-radius: 50%; font-style: normal; }.player-avatar::before, .player-avatar::after { position: absolute; content: ''; background: rgba(255,255,255,.82); }.player-avatar::before { top: 5px; left: 9px; width: 9px; height: 9px; border-radius: 50%; }.player-avatar::after { bottom: 3px; left: 5px; width: 17px; height: 10px; border-radius: 9px 9px 0 0; }.avatar-blue { background: #629ed7; }.avatar-orange { background: #dc9a62; }.avatar-green { background: #67af92; }.player-comment > p { margin: 7px 0 5px; color: #666; font-size: 13px; line-height: 1.75; }.player-comment > time { display: block; color: #aaa; font-size: 12px; text-align: right; }

.faq-question {
    display: inline;
    margin: 0;
    font: inherit;
}

h3.player-comment-user {
    margin: 0;
}

.gallery {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
    margin-bottom: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    max-width: 100%;
}

.gallery-item img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(310px, 80vw);
    border-radius: 8px;
    object-fit: contain;
}

.game-intro {
    /* padding: 0 15px; */
    margin-bottom: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: #4A90E2;
    border-radius: 2px;
}

.intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.download-section {
    padding: 20px 15px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}

.footer {
    background-color: #f9f9f9;
    padding: 20px 15px 0;
    margin-top: 10px;
    margin-bottom: 0;
}

.security-section {
    text-align: center;
    margin-bottom: 10px;
}

.security-badge {
    width: 100%;
    max-width: 130px;
    height: auto;
    margin-top: 5px;
    border-radius: 6px;
}

.friend-link-section {
    
    margin-bottom: 15px;
}

.friend-link-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.friend-link-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: #4A90E2;
    border-radius: 2px;
}

.friend-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.friend-link-item {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 4px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.friend-link-item:hover {
    background-color: #4A90E2;
    color: #fff;
}

.info-section {
    text-align: center;
    padding: 0 15px;
    margin-bottom: 15px;
}

.info-item {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin: 4px 0;
}

.copyright {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.copyright p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.copyright a {
    text-decoration: none;
    color: inherit;
}

.comment-section {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.comment-list {
    margin-bottom: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comment-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-avatar .icon-avatar {
    width: 100%;
    height: 100%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-user {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    -webkit-line-clamp: 2;
}

.comment-empty {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 15px;
}

.comment-empty p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.comment-form {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
}

.comment-form h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px 0;
}

.comment-input {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.btn-submit {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: block;
    margin-left: auto;
}

.gift-list {
    margin-bottom: 20px;
}

.gift-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.gift-info {
    flex: 1;
    padding-right: 15px;
    overflow: hidden;
}

.gift-info h3 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gift-title-link {
    text-decoration: none;
    color: inherit;
}

.gift-content {
    font-size: 13px;
    color: #666;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gift-time {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.btn-redeem {
    background-color: #f59e0b;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: default;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.gift-bottom {
    text-align: center;
    padding: 10px 0;
}

.btn-download-more {
    background-color: transparent;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.benefits-list {
    margin-top: 10px;
}

.benefit-item {
    display: flex;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.benefit-content {
    flex: 1;
    padding-right: 12px;
    overflow: hidden;
}

.benefit-content h3 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.benefit-content h3 a {
    color: inherit;
    text-decoration: none;
}

.benefit-content p {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    -webkit-line-clamp: 2;
}

.benefit-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefit-meta span {
    font-size: 12px;
    color: #bbb;
}

.benefit-link {
    font-size: 12px;
    color: #4A90E2;
    text-decoration: none;
}

.benefit-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    align-self: center;
    background-color: #f5f5f5;
}

.guide-list {
    margin-top: 10px;
}

.guide-item {
    display: flex;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.guide-content {
    flex: 1;
    padding-right: 12px;
    overflow: hidden;
}

.guide-content h3 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guide-content h3 a {
    color: inherit;
    text-decoration: none;
}

.guide-content p {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    -webkit-line-clamp: 2;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-meta span {
    font-size: 12px;
    color: #bbb;
}

.guide-link {
    font-size: 12px;
    color: #4A90E2;
    text-decoration: none;
}

.guide-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    align-self: center;
    background-color: #f5f5f5;
}

@media (max-width: 480px) {
    .game-info {
        padding: 12px;
    }

    .game-icon {
        width: 60px;
        height: 60px;
    }

    .game-title {
        font-size: 18px;
    }

    .btn-download {
        padding: 10px 28px;
        font-size: 14px;
    }

    .promo-banner {
        padding: 12px 12px 0;
    }

    .tab-nav {
        margin: 12px 0;
    }

    .tab {
        padding: 10px 0;
        font-size: 15px;
    }

    .gallery {
        padding: 0;
        margin-bottom: 12px;
        gap: 6px;
    }

    .game-intro {
        padding: 0;
        margin-bottom: 12px;
    }

    .intro-text {
        font-size: 14px;
    }

    .download-section {
        padding: 15px 12px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }

    .footer {
        padding: 15px 12px;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
    z-index: 1000;
    border-radius: 8px;
}

.lightbox-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    text-align: center;
    z-index: 1001;
    padding: 0 20px;
}

.gallery-img {
    cursor: pointer;
}

@media (max-width: 480px) {
    .lightbox-prev {
        left: 10px;
        width: 44px;
        height: 44px;
    }

    .lightbox-next {
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

.icon {
    display: inline-block;
    font-style: normal;
    vertical-align: middle;
}

.icon-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #4A90E2;
    position: relative;
}

.icon-avatar::before {
    content: '';
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 38%;
    border-radius: 50%;
    background-color: #fff;
}

.icon-avatar::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 35%;
    border-radius: 50% 50% 45% 45%;
    background-color: #fff;
}

.icon-avatar.blue {
    background-color: #4A90E2;
}

.icon-avatar.green {
    background-color: #10B981;
}

.icon-avatar.purple {
    background-color: #8B5CF6;
}

.icon-avatar.orange {
    background-color: #F59E0B;
}

.icon-avatar.pink {
    background-color: #EC4899;
}

.icon-avatar.red {
    background-color: #EF4444;
}

.icon-avatar.cyan {
    background-color: #06B6D4;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background-color: #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.modal-icon::before {
    content: '✓';
    font-weight: bold;
}

.modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.modal-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-btn {
    background-color: #4A90E2;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

.article-content {
    padding: 20px;
    background-color: #fff;
}

.article-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.article-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: center;
}

.article-time {
    font-size: 13px;
    color: #999;
    display: block;
    text-align: right;
}

.meta-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-item a:hover {
    color: #4A90E2;
}

.article-body {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    min-height: 300px;
}

.article-body p {
    margin-bottom: 15px;
    text-align: justify;
    text-indent: 2em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.article-body h2 {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #4A90E2;
    line-height: 1.5;
}

.article-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 12px;
    padding-left: 10px;
    border-left: 5px solid #09bdf3;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body li {
    margin-bottom: 10px;
    color: #555;
}

.article-body blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f8f9fc;
    border-left: 4px solid #4A90E2;
    border-radius: 0 6px 6px 0;
    color: #666;
    font-style: italic;
}

.article-body strong {
    color: #4A90E2;
    font-weight: 600;
}

.article-body a {
    color: #4A90E2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.article-body a:hover {
    border-bottom-color: #4A90E2;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #4A90E2;
    text-decoration: none;
    padding: 5px 14px;
    background-color: #f0f5ff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e6f0ff;
}

.tag-item:hover {
    background-color: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.article-nav {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 50%;
}

.nav-item.prev {
    padding-left: 20px;
    border-left: 3px solid #4A90E2;
}

.nav-item.next {
    padding-left: 20px;
    border-left: 3px solid #666;
    justify-content: flex-end;
}

@media (max-width: 650px) {
    .article-nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-item {
        max-width: 100%;
    }

    .nav-item.next {
        justify-content: flex-start;
    }
}

.nav-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    flex-shrink: 0;
}

.nav-item a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    max-width: calc(100% - 60px);
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #4A90E2;
}

.icon-time::before {
    content: '📅';
    font-size: 14px;
}

.icon-author::before {
    content: '👤';
    font-size: 14px;
}

.icon-cat::before {
    content: '📁';
    font-size: 14px;
}

.article-list {
    padding: 0 15px;
}

.list-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.list-item:last-child {
    border-bottom: none;
}

.list-thumb {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.list-title:hover {
    color: #4A90E2;
}

.list-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
    color: #bbb;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 25px 15px;
    flex-wrap: wrap;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    color: #666;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-item:hover {
    color: #4A90E2;
    border-color: #4A90E2;
}

.page-item.active {
    color: #fff;
    background-color: #4A90E2;
    border-color: #4A90E2;
}

.page-item.disabled {
    color: #ccc;
    pointer-events: none;
    cursor: not-allowed;
}

.xrpagination {
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.xrpagination ul.pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.xrpagination ul.pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xrpagination ul.pagination li > a,
.xrpagination ul.pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    background: #fff;
    color: #606266;
    box-sizing: border-box;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.xrpagination ul.pagination li > a:not([href]) {
    cursor: default;
    background: #f5f7fa;
    border-color: #ebeef5;
    color: #909399;
}

.xrpagination ul.pagination li > a[href]:hover {
    color: #4A90E2;
    border-color: #a0cfff;
}

.xrpagination ul.pagination li.active > a,
.xrpagination ul.pagination li.active > span {
    background: #4A90E2;
    border-color: #4A90E2;
    color: #fff;
    cursor: default;
}

.xrpagination ul.pagination li.active > a:hover {
    color: #fff;
    border-color: #4A90E2;
    background: #4A90E2;
}

.xrpagination ul.pagination li.disabled > a,
.xrpagination ul.pagination li.disabled > span {
    cursor: not-allowed;
    opacity: 0.55;
    background: #f5f7fa;
}

.xrpagination > a,
.xrpagination > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    background: #fff;
    color: #606266;
    box-sizing: border-box;
    text-decoration: none;
}

.xrpagination > a:hover {
    color: #4A90E2;
    border-color: #a0cfff;
}

.xrpagination .active > span,
.xrpagination .active > a,
.xrpagination li.active > a,
.xrpagination span.current,
.xrpagination .current {
    background: #4A90E2;
    border-color: #4A90E2;
    color: #fff;
}

@media (max-width: 480px) {
    .list-thumb {
        width: 100px;
        height: 68px;
    }

    .list-title {
        font-size: 15px;
    }

    .list-desc {
        font-size: 12px;
    }
}

/* 静态栏目布局 */
.game-info-panel {
    margin: 0 0 15px;
}

.game-info-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.game-info-heading h2 {
    margin: 0;
}

.game-info-report {
    padding: 0;
    border: 0;
    background: transparent;
    color: #e3473d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.game-info-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee;
}

.game-info-list > div {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 35px;
    border-bottom: 1px solid #eee;
}

.game-info-list dt,
.game-info-list dd {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.5;
}

.game-info-list dt {
    color: #999;
}

.game-info-list dd {
    justify-content: flex-end;
    color: #666;
    text-align: right;
    overflow-wrap: anywhere;
}

.info-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #4A90E2;
    font-family: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.update-log {
    margin: 0;
    padding: 0;
    list-style: none;
}

.update-log li {
    position: relative;
    min-height: 66px;
    padding: 0 0 14px 24px;
    border-bottom: 1px solid #eceff2;
}

.update-log li + li {
    padding-top: 14px;
}

.update-log li:not(:last-child)::after {
    position: absolute;
    top: 16px;
    bottom: -1px;
    left: 5px;
    width: 1px;
    background: #e3e8ed;
    content: '';
}

.update-log i {
    position: absolute;
    top: 4px;
    left: 0;
    z-index: 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e3473d;
    font-style: normal;
}

.update-log time {
    display: block;
    color: #7d91a5;
    font-size: 12px;
    line-height: 1.5;
}

.update-log p {
    margin: 8px 0 0;
    color: #506173;
    font-size: 13px;
    line-height: 1.7;
}

.player-comment header {
    gap: 6px;
}

.comment-rating {
    margin-left: auto;
}

@media (max-width: 480px) {
    .game-info-list > div {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .game-info-list dt,
    .game-info-list dd {
        padding: 6px 8px;
    }
}

/* 站内弹层 */
body.modal-open {
    overflow: hidden;
}

.site-modal[hidden] {
    display: none;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.modal-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.4;
}

.modal-close {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.modal-close i::before,
.modal-close i::after {
    position: absolute;
    top: 15px;
    left: 7px;
    width: 18px;
    height: 1px;
    background: #999;
    content: '';
}

.modal-close i::before {
    transform: rotate(45deg);
}

.modal-close i::after {
    transform: rotate(-45deg);
}

.feedback-form,
.modal-copy {
    overflow-y: auto;
    padding: 16px;
}

.feedback-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.feedback-form legend,
.feedback-field > span {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.feedback-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.feedback-option input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    accent-color: #4A90E2;
}

.feedback-field {
    display: block;
    margin-top: 16px;
}

.feedback-field textarea,
.feedback-field input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e6ea;
    border-radius: 5px;
    outline: none;
    background: #fafafa;
    color: #555;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}

.feedback-field textarea:focus,
.feedback-field input:focus {
    border-color: #4A90E2;
    background: #fff;
}

.feedback-message {
    min-height: 18px;
    margin: 10px 0 0;
    color: #4A90E2;
    font-size: 12px;
    line-height: 1.5;
}

.modal-primary {
    display: block;
    width: calc(100% - 32px);
    min-height: 40px;
    margin: 14px 16px 16px;
    padding: 9px 16px;
    border: 0;
    border-radius: 5px;
    background: #4A90E2;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.modal-copy h3 {
    margin: 0 0 6px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.modal-copy p {
    margin: 0 0 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.75;
}

.modal-copy p:last-child {
    margin-bottom: 0;
}

.modal-confirm {
    flex: 0 0 auto;
    margin-top: 0;
}

@media (max-width: 480px) {
    .site-modal {
        align-items: center;
        padding: 12px;
    }

    .modal-dialog {
        max-height: calc(100vh - 24px);
    }
}
