* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

/* 副标题：小屏下隐藏 */
.site-subtitle {
    font-weight: 500;
    opacity: 0.95;
}

.logo-img {
    display: block;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.header-ads {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    min-height: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255,255,255,0.2);
}

/* 主体区域 */
.main-wrapper {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-area {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* 主内容区（无背景，外边距尽量小） */
.main-content {
    padding: 1rem 1.25rem;
    min-width: 0; /* 防止内部宽图撑开整列 */
    overflow-x: hidden;
}

/* 文章详情页（show）单独样式：主内容区带背景 */
.page-article-show .main-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* 侧边栏 */
.sidebar {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-ads {
    overflow: hidden;
}

.sidebar h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.hot-list,
.category-list {
    list-style: none;
}

.hot-list li,
.category-list li {
    margin-bottom: 0.8rem;
}

.hot-list a,
.category-list a {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.hot-list a:hover,
.category-list a:hover {
    background-color: #f0f0f0;
    color: #667eea;
    padding-left: 1rem;
}

.category-list a.active {
    background-color: rgba(102, 126, 234, 0.15);
    color: #667eea;
    font-weight: 600;
}

.notice-box {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
}

.notice-box p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.notice-box p:last-child {
    margin-bottom: 0;
}



/* 轮播图 */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 675 / 300;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
}

.slide-caption h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    font-size: 1.1rem;
}

.slide-caption a {
    color: inherit;
    text-decoration: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* 活动列表 */
.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

/* 首页活动列表：纵向列表（非宫格） */
.activity-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
}

.activity-item {
    position: relative;
    border-bottom: 1px solid #eee;
}
.activity-item:last-child {
    border-bottom: none;
}

.activity-status-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1;
}

.activity-status-badge.activity-status-not_started {
    background: #fff3e0;
    color: #e65100;
}
.activity-status-badge.activity-status-ongoing {
    background: #e8f5e9;
    color: #2e7d32;
}

.activity-status-badge.activity-status-ended {
    background: #f5f5f5;
    color: #757575;
}

.activity-link {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.activity-link:hover {
    background: #f7f7fb;
}

/* 缩略图：675*300 比例，与图片一致 */
.activity-thumb {
    flex-shrink: 0;
    width: 150px;
    aspect-ratio: 675 / 300;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.activity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.activity-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-meta {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

.activity-meta .meta-sep {
    margin: 0 0.35rem;
    color: #bbb;
}

.activity-time {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    text-align: right;
}

.activity-weapon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.weapon-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid;
    background-color: transparent;
}

.activity-desc {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

/* 分页（与 vendor.pagination.site 共用） */
.site-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.site-pagination a,
.site-pagination .current span,
.site-pagination .disabled span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: #667eea;
    background: #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
}

.site-pagination a {
    cursor: pointer;
}

.site-pagination a:hover {
    background: #667eea;
    color: white;
}

.site-pagination .disabled span {
    background: #e0e0e0;
    color: #999;
    cursor: default;
}

.site-pagination .current span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 文章详情页 */
.article-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.article-top-row .back-link {
    margin-bottom: 0;
}

.article-detail {
    position: relative;
}

.article-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.article-status-badge.article-status-not_started {
    background: #fff3e0;
    color: #e65100;
}
.article-status-badge.article-status-ongoing {
    background: #e8f5e9;
    color: #2e7d32;
}

.article-status-badge.article-status-ended {
    background: #f5f5f5;
    color: #757575;
}

.article-detail .article-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.article-ads {
    margin: 1rem 0;
    overflow: hidden;
}

.article-ads-top { margin-top: 0; }
.article-ads-bottom { margin-bottom: 0; }

.article-detail .article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-detail .article-activity-time {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* 活动倒计时样式 */
.article-activity-countdown {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    font-size: 0.95rem;
}

/* 美化后的倒计时横幅 */
.countdown-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin: 2rem 0;
    animation: countdownPulse 2s ease-in-out infinite;
}

/* 未开始状态横幅 */
.not-started-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin: 2rem 0;
    animation: countdownPulse 2s ease-in-out infinite;
}

@keyframes countdownPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }
}

.countdown-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-icon {
    font-size: 2.5rem;
    animation: countdownRotate 3s linear infinite;
}

@keyframes countdownRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.countdown-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

.article-activity-countdown .article-countdown-numbers {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    animation: countdownGlow 1.5s ease-in-out infinite;
}

.countdown-unit {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    min-width: 2ch;
    text-align: center;
}

.countdown-unit-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-right: 0.5rem;
}

.countdown-ended {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.9;
}

@keyframes countdownGlow {
    0%, 100% {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.02);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .countdown-banner,
    .not-started-banner {
        padding: 1.2rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .countdown-icon {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.95rem;
    }
    
    .article-activity-countdown .article-countdown-numbers {
        font-size: 1.4rem;
        padding: 0.4rem 0.8rem;
        min-width: auto;
    }
    
    .countdown-unit {
        font-size: 1.5rem;
    }
    
    .countdown-unit-label {
        font-size: 0.85rem;
        margin-right: 0.3rem;
    }
    
    .countdown-content {
        gap: 0.8rem;
    }
    
    .countdown-text {
        gap: 0.3rem;
    }
}

/* 内页武器/皮肤行 */
.article-meta-plain.article-weapons-skin-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.article-meta-plain .article-meta-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

/* 电脑版：武器标签一行 3-4 个，均匀排列 */
.article-weapon-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem;
    align-items: center;
    width: 100%;
}

.article-weapon-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    border: 2px solid var(--weapon-border, #667eea);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    color: var(--weapon-text, #333);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-weapon-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.article-weapon-tag.article-tag-display-only {
    cursor: default;
}
.article-weapon-tag.article-tag-display-only:hover {
    transform: none;
    box-shadow: none;
}

.article-weapon-tag-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
}

.article-weapon-tag-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-weapon-tag-name {
    white-space: nowrap;
}

.article-skins-text {
    color: #555;
    font-size: 0.9rem;
}

.article-meta-plain a {
    text-decoration: none;
    color: #333;
}

.article-meta-plain a:hover {
    color: #667eea;
}

.article-detail .article-body {
    line-height: 1.8;
    color: #444;
    max-width: 100%;
    overflow-x: hidden;
}

.article-detail .article-body img {
    max-width: 100%;
    height: auto;
}

/* RichEditor（TipTap）导出标准 HTML 的样式 */
.article-body p { margin: 0 0 0.5em 0; }
.article-body h1 { font-size: 1.5em; font-weight: 600; margin: 0.8em 0 0.4em; line-height: 1.4; }
.article-body h2 { font-size: 1.25em; font-weight: 700; margin: 0.8em 0 0.4em; line-height: 1.4; }
.article-body h3 { font-size: 1.1em; font-weight: 600; margin: 0.6em 0 0.3em; line-height: 1.4; }
.article-body h4 { font-size: 1em; font-weight: 600; margin: 0.5em 0 0.25em; line-height: 1.4; }
.article-body blockquote {
    font-size: 15px; color: #65676b;
    border-left: 4px solid #ced0d4; padding-left: 16px; margin: 0.5em 0;
}
.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }
.article-body u { text-decoration: underline; }
.article-body s { text-decoration: line-through; }
.article-body a { color: #216fdb; text-decoration: none; }
.article-body a:hover { text-decoration: underline; }
.article-body code {
    background-color: #f0f2f5; padding: 1px 0.25rem;
    font-family: Menlo, Consolas, Monaco, monospace; font-size: 94%; border-radius: 3px;
}
.article-body pre {
    background-color: #f0f2f5; font-family: Menlo, Consolas, Monaco, monospace;
    display: block; padding: 12px 16px; line-height: 1.53; font-size: 13px;
    margin: 12px 0; overflow-x: auto; border-radius: 6px;
}
.article-body pre code { background: none; padding: 0; }
.article-body ul { padding-left: 1.5em; margin: 0.5em 0; list-style-type: disc; }
.article-body ol { padding-left: 1.5em; margin: 0.5em 0; list-style-position: outside; }
.article-body li { margin: 0.25em 0; }

/* Lexical 编辑器导出 HTML 的样式（与后台编辑器一致） */
.article-body .lexical__ltr { text-align: left; }
.article-body .lexical__rtl { text-align: right; }
.article-body .lexical__paragraph { margin: 0 0 0.5em 0; position: relative; }
.article-body .lexical__quote {
    font-size: 15px;
    color: #65676b;
    border-left: 4px solid #ced0d4;
    padding-left: 16px;
}
.article-body .lexical__h1 { font-size: 1.5em; font-weight: 600; margin: 0.8em 0 0.4em; line-height: 1.4; }
.article-body .lexical__h2 { font-size: 1.25em; font-weight: 700; margin: 0.8em 0 0.4em; line-height: 1.4; }
.article-body .lexical__h3 { font-size: 1.1em; font-weight: 600; margin: 0.6em 0 0.3em; line-height: 1.4; }
.article-body .lexical__h4 { font-size: 1em; font-weight: 600; margin: 0.5em 0 0.25em; line-height: 1.4; }
.article-body .lexical__h5 { font-size: 0.95em; font-style: italic; margin: 0.5em 0 0.25em; line-height: 1.4; }
.article-body .lexical__h6 { font-size: 0.9em; font-weight: 700; margin: 0.5em 0 0.25em; line-height: 1.4; }
.article-body .lexical__textBold { font-weight: 700; }
.article-body .lexical__textItalic { font-style: italic; }
.article-body .lexical__textUnderline { text-decoration: underline; }
.article-body .lexical__textStrikethrough { text-decoration: line-through; }
.article-body .lexical__textUnderlineStrikethrough { text-decoration: underline line-through; }
.article-body .lexical__textSubscript { font-size: 0.8em; vertical-align: sub; }
.article-body .lexical__textSuperscript { font-size: 0.8em; vertical-align: super; }
.article-body .lexical__textCode {
    background-color: #f0f2f5;
    padding: 1px 0.25rem;
    font-family: Menlo, Consolas, Monaco, monospace;
    font-size: 94%;
    border-radius: 3px;
}
.article-body .lexical__textLowercase { text-transform: lowercase; }
.article-body .lexical__textUppercase { text-transform: uppercase; }
.article-body .lexical__textCapitalize { text-transform: capitalize; }
.article-body .lexical__hashtag {
    background-color: rgba(88, 144, 255, 0.15);
    border-bottom: 1px solid rgba(88, 144, 255, 0.3);
}
.article-body .lexical__link { color: #216fdb; text-decoration: none; }
.article-body .lexical__link:hover { text-decoration: underline; cursor: pointer; }
.article-body .lexical__code {
    background-color: #f0f2f5;
    font-family: Menlo, Consolas, Monaco, monospace;
    display: block;
    padding: 12px 16px;
    line-height: 1.53;
    font-size: 13px;
    margin: 12px 0;
    overflow-x: auto;
    border-radius: 6px;
    tab-size: 2;
}
.article-body .lexical__ul {
    padding-left: 1.5em;
    margin: 0.5em 0;
    list-style-type: disc;
}
.article-body .lexical__ol1, .article-body .lexical__ol2, .article-body .lexical__ol3,
.article-body .lexical__ol4, .article-body .lexical__ol5 {
    padding-left: 1.5em;
    margin: 0.5em 0;
    list-style-position: outside;
}
.article-body .lexical__ol1 { list-style-type: decimal; }
.article-body .lexical__ol2 { list-style-type: upper-alpha; }
.article-body .lexical__ol3 { list-style-type: lower-alpha; }
.article-body .lexical__ol4 { list-style-type: upper-roman; }
.article-body .lexical__ol5 { list-style-type: lower-roman; }
.article-body .lexical__listItem { margin: 0.25em 0; }
.article-body .lexical__hr {
    padding: 0.5em 0;
    border: none;
    margin: 1em 0;
}
.article-body .lexical__hr:after {
    content: "";
    display: block;
    height: 2px;
    background-color: #ccc;
}
/* 内容页图片：675*300 比例，完整显示不裁剪 */
.article-body .lexical__editor-image,
.article-body .lexical__inline-editor-image {
    max-width: 100%;
    aspect-ratio: 675 / 300;
    overflow: hidden;
    border-radius: 8px;
}
.article-body .lexical__editor-image img,
.article-body .lexical__inline-editor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 内页：抖音风 点赞/分享 图标+数字 */
.article-footer.article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.article-actions .action-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-actions .action-item {
    display: inline-block;
}

.article-actions .action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 1rem;
    min-width: 64px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #333;
    font-size: 0.75rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.15s;
}

.article-actions .action-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.02);
}

.article-actions .action-btn:active {
    transform: scale(0.98);
}

.article-actions .action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.article-actions .action-btn .action-icon svg {
    display: block;
}

.article-actions .action-num {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

/* 点赞：未赞描边心，已赞实心红 */
.article-actions .action-like .action-btn .action-icon {
    color: #333;
}

.article-actions .action-like .action-btn:hover .action-icon {
    color: #fe2c55;
}

.article-actions .action-like .action-btn-done .action-icon,
.article-actions .action-like .action-btn.action-btn-done .action-icon {
    color: #fe2c55;
}

.article-actions .action-like .action-btn-done .action-num,
.article-actions .action-like .action-btn.action-btn-done .action-num {
    color: #fe2c55;
}

/* 分享：图标+数字 */
.article-actions .action-share .action-btn:hover .action-icon {
    color: #333;
}

.article-actions .action-activity-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fe2c55 0%, #ff6b35 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.article-actions .action-activity-link:hover {
    opacity: 0.92;
    transform: scale(1.02);
}

/* 上一篇 / 下一篇 */
.article-prev-next {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.article-prev-next-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.article-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    transition: background 0.2s, color 0.2s;
}

.article-nav-link:hover {
    background: #e9ecef;
    color: #667eea;
}

.article-nav-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.article-nav-link:hover .article-nav-label {
    color: #667eea;
}

.article-nav-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-next {
    text-align: right;
}

.article-nav-empty {
    color: #999;
    cursor: default;
    pointer-events: none;
}

.article-actions .action-btn:disabled {
    opacity: 0.85;
    cursor: default;
}

/* 评论区域 */
.comments-section {
    margin-top: 2.5rem;
}

.comments-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.comments-section .section-title {
    margin-bottom: 0;
}

.comments-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.comments-auth-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.comments-auth-name {
    font-weight: 500;
    color: #333;
}

.comments-auth-logout {
    color: #667eea;
    text-decoration: none;
    margin-left: 0.25rem;
}

.comments-auth-logout:hover {
    text-decoration: underline;
}

.comments-auth-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.comments-auth-link:hover {
    text-decoration: underline;
}

.comments-auth-sep {
    color: #999;
    margin: 0 0.25rem;
}

.comments-count {
    font-weight: normal;
    color: #666;
    font-size: 0.9em;
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form-row {
    margin-bottom: 0.5rem;
}

.comment-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.comment-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.comment-captcha-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.comment-captcha-label {
    font-weight: 500;
    color: #555;
}

.comment-captcha-question {
    font-weight: 600;
    color: #333;
}

.comment-captcha-input {
    width: 6rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.comment-captcha-input:focus {
    outline: none;
    border-color: #667eea;
}

.comment-form-actions {
    margin-top: 0.75rem;
}

.form-success {
    color: #2d8a3e;
    margin-bottom: 1rem;
}

.form-error {
    color: #c0392b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.comment-list {
    list-style: none;
}

.comment-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item.reply {
    padding-left: 1.5rem;
    border-left: 3px solid #e8e8e8;
    margin-top: 0.5rem;
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-time {
    color: #999;
    margin-left: 0.75rem;
    font-size: 0.85rem;
}

.comment-body {
    color: #555;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.comment-replies {
    list-style: none;
    margin-top: 0.5rem;
}

.comments-empty {
    color: #666;
    text-align: center;
    padding: 2rem;
}

/* 评论成功弹窗 */
.comment-success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.comment-success-modal.is-open {
    opacity: 1;
    visibility: visible;
}

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

.comment-success-modal-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: commentSuccessPop 0.3s ease-out;
}

@keyframes commentSuccessPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.comment-success-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d8a3e 0%, #1e6b2e 100%);
    color: #fff;
    font-size: 1.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.comment-success-modal-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.comment-success-modal-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.comment-success-modal-btn {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.comment-success-modal-btn:hover {
    opacity: 0.9;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.82);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #667eea;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* 三块气泡：搜索 / 类别 / 最新活动（宽度与 main 一致） */
.block-bubble {
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.block-bubble:last-child {
    margin-bottom: 0;
}

.block-bubble-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.6rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #eee;
}

.block-bubble-search .search-form,
.block-bubble-category .filter-tags {
    margin-bottom: 0;
}

/* 最新活动标题行：标题 + 状态筛选 */
.block-bubble-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.6rem;
}

.block-bubble-activities .block-bubble-title-row .block-bubble-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.activity-status-filter {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.activity-status-filter a {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    background: #f0f0f0;
    transition: background 0.2s, color 0.2s;
}

.activity-status-filter a:hover {
    background: #e0e0e0;
    color: #333;
}

.activity-status-filter a.active {
    background: #667eea;
    color: #fff;
}

.block-bubble-activities .block-bubble-title {
    margin-bottom: 0.6rem;
}

/* 列表布局：上标题 → 下排浏览量|日期 → 下排左缩略图右摘要 */
.block-bubble-activities .activity-list.list-with-thumb {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.block-bubble-activities .list-with-thumb .activity-item {
    background: transparent;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    overflow: visible;
}

.block-bubble-activities .list-with-thumb .activity-item:last-child {
    border-bottom: none;
}

.block-bubble-activities .list-with-thumb .activity-link {
    display: block;
    padding: 0.6rem 0.25rem;
    text-decoration: none;
    color: inherit;
}

.block-bubble-activities .list-with-thumb .activity-link:hover {
    background: #fafafa;
}

.block-bubble-activities .list-with-thumb .activity-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.block-bubble-activities .list-with-thumb .activity-title-meta {
    flex: 1;
    min-width: 0;
}

.block-bubble-activities .list-with-thumb .activity-status-badge {
    position: static;
    flex-shrink: 0;
}

.block-bubble-activities .list-with-thumb .activity-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.block-bubble-activities .list-with-thumb .activity-meta {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.block-bubble-activities .list-with-thumb .activity-meta .meta-sep {
    margin: 0 0.25rem;
    color: #bbb;
}

.block-bubble-activities .list-with-thumb .activity-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.block-bubble-activities .list-with-thumb .activity-thumb {
    flex-shrink: 0;
    width: 120px;
    aspect-ratio: 675 / 300;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
}

.block-bubble-activities .list-with-thumb .activity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.block-bubble-activities .list-with-thumb .activity-thumb .thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.block-bubble-activities .list-with-thumb .activity-desc-wrap {
    flex: 1;
    min-width: 0;
}

.block-bubble-activities .list-with-thumb .activity-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.block-bubble-activities .list-with-thumb .activity-time {
    font-size: 0.7rem;
    color: #888;
    margin-top: 0.2rem;
    display: block;
    text-align: right;
}

/* 搜索框 */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-form button {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-form button:hover {
    opacity: 0.9;
}

/* 标签选择（与分类一致的标签/胶囊样式） */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.filter-tags-label {
    font-size: 0.95rem;
    color: #666;
    flex-shrink: 0;
}

.filter-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.filter-tag {
    display: inline-block;
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 600;
    color: #5a67d8;
    background: rgba(90, 103, 216, 0.12);
    border: 1px solid rgba(90, 103, 216, 0.22);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.filter-tag:hover {
    background: rgba(90, 103, 216, 0.2);
    border-color: rgba(90, 103, 216, 0.35);
    color: #4c51bf;
    transform: translateY(-1px);
}

.filter-tag.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
}

.filter-tag.active:hover {
    opacity: 0.95;
    color: #fff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state p {
    margin-top: 0.5rem;
}

/* 底部 */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-ads {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-ads:empty { display: none; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .nav ul {
        gap: 1rem;
    }

    .activity-link {
        padding: 0.9rem 1rem;
    }

    .main-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .header {
        padding: 0.8rem 0;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .site-subtitle {
        display: none;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .main-wrapper {
        padding: 1rem 0;
    }

    .main-content {
        padding: 1rem;
    }

    .slider {
        aspect-ratio: 675 / 300;
    }

    .slider-container {
        margin-bottom: 2rem;
    }

    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h2 {
        font-size: 1.3rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .slider-btn {
        padding: 0.6rem 0.8rem;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 0.5rem;
    }

    .slider-btn.next {
        right: 0.5rem;
    }

    .filter-tags {
        margin-bottom: 1.25rem;
        gap: 0.4rem 0.75rem;
    }

    .filter-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
        line-height: 1.35;
    }

    .activity-list {
        border-radius: 8px;
    }

    .activity-link {
        padding: 1rem 1.1rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .activity-thumb {
        width: 120px;
        aspect-ratio: 675 / 300;
        border-radius: 8px;
    }

    .activity-title {
        font-size: 1rem;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .activity-meta {
        font-size: 0.8rem;
        color: #777;
    }

    .activity-desc {
        font-size: 0.9rem;
        line-height: 1.55;
        -webkit-line-clamp: 2;
    }

    .activity-time {
        font-size: 0.85rem;
        margin-top: 0.15rem;
    }

    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* 手机版：武器标签一行 2-3 个，均匀排列 */
    .article-meta-plain.article-weapons-skin-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .article-weapon-tags {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        width: 100%;
    }
    .article-weapon-tag {
        padding: 0.25rem 0.45rem;
        font-size: 0.78rem;
        gap: 0.28rem;
        border-radius: 8px;
        border-width: 1.5px;
        justify-content: center;
    }
    .article-weapon-tag-img {
        width: 36px;
        height: 16px;
        border-radius: 4px;
    }
    .article-weapon-tag-name {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .filter-tags {
        margin-bottom: 1rem;
        gap: 0.35rem 0.5rem;
    }

    .filter-tags-label {
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.25rem;
    }

    .filter-tag {
        font-size: 0.7rem;
        padding: 0.18rem 0.45rem;
    }

    .nav ul {
        gap: 0.3rem;
    }

    .nav a {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .slider {
        aspect-ratio: 675 / 300;
    }

    .slide-caption h2 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .slide-caption p {
        font-size: 0.85rem;
    }

    .slider-btn {
        padding: 0.5rem 0.6rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .activity-list {
        border-radius: 6px;
    }

    .activity-link {
        padding: 1rem 0.9rem;
        gap: 0.85rem;
        flex-direction: column;
        align-items: stretch;
    }

    /* 手机版：缩略图全宽，675*300 比例更清晰 */
    .block-bubble-activities .list-with-thumb .activity-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .activity-thumb {
        width: 100%;
        aspect-ratio: 675 / 300;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .block-bubble-activities .list-with-thumb .activity-thumb {
        width: 100%;
        aspect-ratio: 675 / 300;
    }

    /* 小屏手机：武器标签一行 2 个，避免过挤 */
    .article-weapon-tags {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-weapon-tag-img {
        width: 30px;
        height: 13px;
    }

    .activity-title {
        font-size: 0.95rem;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .activity-meta {
        font-size: 0.75rem;
        color: #777;
        line-height: 1.5;
    }

    .activity-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }

    .activity-time {
        font-size: 0.8rem;
        margin-top: 0.2rem;
    }

    .main-content {
        padding: 0.9rem;
    }
}
