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

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
    padding: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
.container {
    max-width:900px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
}

/* 顶部导航栏 */
.top-nav {
    background-color:#000000;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 60px;
    position: fixed;
    width: 900px;
    z-index:10;
}

.navLogo img{
    height: 66px;
    padding: 4px;
    border-radius: 20px;
}



.switchLaunge{
    display: flex;
    justify-content: flex-end;
    align-items: end;
    margin-right: auto;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
}

.switchLaunge img{
    width: 22px;
}

.nav-brand {
    color:#0da76b;
    font-size:20px;
    font-weight:bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-brand i {
    /*margin-right: 8px;*/
    color: #3498db;
}

.nav-links {
    display: flex;
    margin-left: 40px;
}

.nav-links .mwDis{display:none;}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0 30px;
    height: 50px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.nav-link.active, .nav-link:hover {
    color: #ffffff;
    background-color: rgb(255 255 255 / 29%);
    font-weight: bold;
}


/* 幻灯片 css */
.slideshow-container {
    /*max-width: 800px;*/
    position: relative;
    /*margin: 50px auto;*/
    overflow: hidden;
    /*height: 400px;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 20px rgba(0,0,0,0.3);*/
    padding-top: 60px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.nav-button:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.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;
}



/* 单行滚动公告 */
.announcement-bar {
    background: linear-gradient(90deg, #ebe6e6, #02af67, #ededed);
    /* border-radius: 8px; */
    padding:3px 20px;
    /* margin-top: 20px; */
    /* box-shadow: 0 3px 10px rgb(0 0 0 / 47%); */
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
}

.announcement-icon {
    color: #0da76b;
    font-weight: bold;
    margin-right: 12px;
    min-width: 20px;
    font-size: 20px;
}

.announcement-scroll {
    overflow: hidden;
    flex: 1;
}

.announcement-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollLeft 30s linear infinite;
    color: #2c3e50;
    font-size: 1rem;
}

.announcement-text:hover {
    animation-play-state: paused;
}

 /* 滚动动画 */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}



/* 主要内容区域 */
.main-content {
    padding: 20px;
}

/* 页面标题和操作栏 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.page-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-outline {
    background-color: white;
    color: #555;
    border: 1px solid #ddd;
}

/* 话题分类标签 */
.topic-tabs {
    display: flex;
    background-color: #ebebeb;
    border-radius: 6px;
    /*padding: 4px;*/
    /*margin-bottom: 20px;*/
}

.topic-tab {
    padding: 10px 20px;
    cursor: pointer;
    /*border-radius: 4px;*/
    font-weight: 500;
    color: #666;
}

.topic-tab.active{
    color: #3498db;
}

.topic-tab.active span {
    color: #3498db;
    height: 4px;
    width: 60px;
    display: block;
    background: #3498db;
    margin: 7px auto 0;
}

/* 话题列表表格 */
.topics-container {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    /*border: 1px solid #eaeaea;*/
}

.topics-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    background-color: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #eaeaea;
}

.topic-item {
    display: grid;
    grid-template-columns:0.5fr 2fr 1.5fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.flexOne{
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flexOne .himg{
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width:45px;
}

.flexOne .count-label img{
    width:20px;
}

.descsLine img{
    width: 80%;
    margin: 15px auto;
    display: block;
}

.topic-item2 {
    display: grid;
    grid-template-columns:0.2fr 0.5fr 3fr 1fr;
    padding: 15px 5px;;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}
.colorFont{font-weight:bold;font-size:24px;}
.JogoName{
    border-radius: 18px;
    background-color: #fee001;
    padding: 4px 30px 4px;
    color: #005507;
    text-align: center;
    font-size: 20px;
    margin-left: 6px;
    display: block;
}

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

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

/* 话题信息样式 */
.topic-info {
    display: flex;
    flex-direction: column;
}

.topic-title{
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align:center;
}

.topic-title-img{
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    /*margin-bottom: 8px;*/
    line-height: 1.4;
    margin: 0 auto 8px;
}

.topic-info .topic-title-img .itemPcontent span{
    display:block;
}
.topic-info .topic-title-img .itemPcontent span:nth-child(2){
    font-size:11px;color:#999999;
}

.topic2-title{
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.topic-item .topic-info .topic-title-img img{
    height: 50px;
    width: 50px;
    margin:2px;
    display: block;
}

.topic-item2 .topic-info .topic-title-img img{
    height: 90px;
    width: 90px;
}

.topic-title a {
    color: inherit;
    text-decoration: none;
}
.topic2-title a {
    color: inherit;
    text-decoration: none;
}

.topic-title a:hover {
    color: #3498db;
}

.views-cell .topic-title{
    display:none;
}

.views-cell{
    max-height: 120px;
    overflow: hidden;
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.user-name {
    color: #666;
    font-size: 14px;
}

/* 类别标签 */
.category-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.category-game {
    background-color: #e8f4fc;
    color: #3498db;
}

.category-new {
    background-color: #e8f6f3;
    color: #1abc9c;
}

.category-discuss {
    background-color: #fef9e7;
    color: #f39c12;
}

/* 计数样式 */
.count-box {
    display: flex;
}

.count-number {
    font-size: 18px;
    font-weight: 600;
}

.answers-count {
    color: #666;
}

.views-count {
    color: #e67e22;
}

.count-label {
    font-size: 12px;
    color:#000000;
    /*margin-top: 4px;*/
}

.activity-cell {
    margin:0 auto;
}

/* 活动时间 */
.activity-time {
    color: #666;
    font-size: 14px;
}

/* 底部信息 */
.forum-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.ContentMainView{
    width: 100%;
    padding:0 11px 40px;
    box-sizing: border-box;
    margin-top: 17px;
    background: #000000;
}
.ContentMainView .descsContent{
    color:#ffffff;
}

.ContentTitle{
    text-align: center;
    padding: 10px 0 20px;
    font-weight: bold;
    color: #03ad68;
    font-size: 24px;
}

.social-icons{
    display: flex;
    margin: 10px auto 0;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.social-list img{
    width: 56px;
    height: 56px;
    margin-right: 16px;
    cursor: pointer;
}

.social-list img.youtube{
    width: 64px;
    height: 64px;
    margin-top: -1px;
}

.topic-tabs .ons{
    background: #02af67;
    border-radius: 10px;
    color: #ffffff;
    font-weight: bold;
}



/* 搜索框样式 */
.search-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 20px;
    padding-top: 60px;
}

.search-box {
    display: flex;
    position: relative;
    width: 100%;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.search-box:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    z-index: 2;
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    padding: 20px 20px 20px 60px;
    border: none;
    font-size:14px;
    color: #333;
    background-color: white;
    outline: none;
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn {
    background: linear-gradient(to right, #4776E6, #8E54E9);
    color: white;
    border: none;
    padding: 0 35px;
    font-size:14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: linear-gradient(to right, #3a65d0, #7d47d0);
    letter-spacing: 1px;
}
.variant-3 .search-box {
    border: 2px solid #0da76b;
    box-shadow: none;
}

.variant-3 .search-btn {
    background:#0da76b;
    border-radius:0 10px 10px 0;
}

.variant-3 .search-btn:hover {
    background: #3a5985;
}


/***  分页执行  ***/
.page-info {
    text-align: center;
    padding: 15px;
    color: #7f8c8d;
    font-size: 0.95rem;
}
.load-more {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
}
.load-btn {
    background:linear-gradient(to right, #02af67, #024b2c);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(71, 118, 230, 0.3);
}

#penButton{
    position: fixed;
    right: max(20px, calc(50% - 460px + 20px));
    bottom: 140px;
    width: 50px;
    height: 50px;
    background:#20262e;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(71, 118, 230, 0.3);
    transition: all 0.3s;
    z-index: 1000;
}

/* 回到顶部按钮样式 */
#backToTop{
    position: fixed;
    right: max(20px, calc(50% - 460px + 20px));
    bottom: 80px;
    width: 50px;
    height: 50px;
    background: #4776E6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(71, 118, 230, 0.3);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: #3a65d0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(71, 118, 230, 0.4);
}

/******  内页 css  ******/
.detailTitle{
    margin:0 auto;
    display:block;
    width:100%;
    text-align: center;
    padding-top: 60px;
}
.detailTitle h1{
    font-size:24px;
}
.detailNewstext{
    padding:10px;
    width: 100%;
}
.detailView{
    margin: 20px 0;
    border-top: 1px solid #ededed;
    padding: 20px 0;
    border-bottom: 1px solid #ededed;
}
.detailiconsView{
    border-bottom: 1px solid #ededed;
    padding-bottom: 17px;
}
.detailSendContent .topic-info .topic-title-img img{
    height:60px;width:60px;
}
.detailSendContent .topic-info .topic-title-img{
    margin: 0;
    display: flex;
}
.detailSendContent .topic-info .topic-title-img .itemPcontent{
    display: flex;
    margin-left: auto;
    justify-content: center;
    align-items: center;
}
.detailSendContent .topic-info .topic-title-img .itemPcontent1{
    line-height: 58px;
    margin-left: 10px;
}
.detailSendContent .topic-info .topic-title-img .itemPcontent2{
    font-size:20px;
}


/**  评论的执行  **/
.comment-section {
    margin: 0 auto;
    overflow: hidden;
}

/* 单个评论 */
.comment {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

/* 评论头部 */
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.username {
    font-weight: bold;
    font-size: 14px;
    margin-right: 8px;
}
.time {
    color: #888;
    font-size: 12px;
}

.fasItemClose{
    position:absolute;
    right: 0;
    margin-right: 10px;
    cursor:pointer;
}

/* 评论内容 */
.comment-content {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* 展开/收起按钮 */
.toggle-replies {
    color: #1a8917;
    background: none;
    border: none;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
}

/* 回复 */
.reply {
    margin: 12px 0 0 20px;
    padding: 8px 0 0 12px;
    border-left: 2px solid #e0e0e0;
}
.reply .username {
    color: #1a8917; /* 绿色用户名 */
}
.reply .username.blue {
    color: #1e90ff; /* 蓝色用户名 */
}
.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.reply-to {
    color: #666;
    font-size: 12px;
    margin: 0 4px;
}


.tipContentMain .modal-header{
    
}

.tipContentMain .modal-content{
    text-align: left;
    line-height: 1.6;
    margin: 10px auto 0;
    width: 30vw;
    height:160px;
    overflow: hidden;
    padding: 0 10px;
}
.tipContentMain .modal-content .modal-contentItem{
    margin-top:15px;
}
.plareatext textarea{
    height: 70px;
    width: 30vw;
    border: 1px solid #dbdbdb;
    padding: 10px;
}

.tipContentMain .modal-content .textareaSubmit{
    background: #02af67;
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    width: 150px;
    border-radius: 10px;
    padding: 8px 0;
    font-weight: bold;
    color: #ffffff;
    cursor:pointer;
}

.tipContentMain .modal-content .modal-header{
    background:#02af67;
    border-radius:10px;
    font-size: 14px;
    line-height: 30px;
}

/* 底部输入框 */
.comment-input {
    display: flex;
    padding: 10px;
    background: #ededed;
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    left: 0;
}
.input-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}
.send-btn {
    background: #1a8917;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 24px;
    margin-left: 8px;
    font-size: 14px;
    cursor: pointer;
}

.detailSendADList{
    max-width: 400px;
    margin:7px auto 20px;
    border-bottom: none;
}
.loadingCommon{
    text-align: center;
    margin: 20px auto;
}
        

 /* 遮罩层样式 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* 弹窗样式 */
        .modal {
            background-color: white;
            /*border-radius: 12px;*/
            /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);*/
            width:500px;  /* 100% 视口宽度 */
            height:500px; /* 100% 视口高度 */
            overflow: hidden;
            transform: scale(0.9);
            opacity: 0;
            transition: transform 0.4s ease, opacity 0.4s ease;
        }
        
        .modal-overlay.active .modal {
            transform: scale(1);
            opacity: 1;
            background:url('../../img/dong/pop1.png');
            background-size:cover;
            background-repeat:no-repeat;
        }
        
        /* 弹窗动画变体 */
        .modal.slide-in {
            transform: translateY(-50px);
        }
        
        .modal-overlay.active .modal.slide-in {
            transform: translateY(0);
        }
        
        .modal.zoom-in {
            transform: scale(0.7);
        }
        
        .modal-overlay.active .modal.zoom-in {
            transform: scale(1);
        }
        
        /* 弹窗头部 */
        .modal-header {
            color: white;
            text-align: center;
            line-height: 45px;
            font-size: 18px;
            font-weight: bold;
        }
        
        .modal-title {
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .close-btn {
            background: transparent;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }
        
        .close-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        /* 弹窗内容 */
        .modal-content {
            text-align: left;
            line-height: 1.6;
            margin: 130px auto 0;
            width: 100%;
            height: 500px;
            overflow: hidden;
            padding: 0px 100px;
            display: block;
        }
        .modal-contentItem{
            margin-top:43px;
        }
        .modal-contentItem img{
            width: 300px;
            height: 170px;
            border-radius:16px;
        }
        .closePosition{
            position:absolute;
            bottom: 25vh;
            cursor: pointer;
        }
        .closePosition img{
            height: 40px;
            width: 40px;
        }
        
        .modal-content p {
            margin-bottom: 20px;
        }
        
        .feature-list {
            margin: 20px 0;
        }
        
        .feature-list li {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .feature-list i {
            color: #1dd1a1;
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        /* 弹窗底部 */
        .modal-footer {
            padding: 20px 30px;
            background-color: #f8f9fa;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        
        .modal-footer button {
            padding: 10px 20px;
        }
        
        .modal-footer .cancel-btn {
            background-color: #e9ecef;
            color: #495057;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }

            .headerpageNav{
                margin-left:4vw;
            }


            .flexOne{
                flex-direction: row;
                align-items: center;
                justify-content: center;
            }

            .flexOne .count-label{
                margin-left:5px;
            }

            .flexOne .himg{
                width: 54px;
                flex: none;
            }
            
            .modal {
                width: 95%;
                height: 360px;
            }
            
            .modal-content {
                padding: 75px 78px 60px;
                margin: 0px auto 0;
                width: 100%;
                height: 400px;
            }

            .modal-contentItem {
                margin-top:13px;
                overflow: hidden;
                border-radius: 20px;
            }
            .modal-contentItem img {
                height: 118px;
            }
            .closePosition {
                bottom: 82px;
            }
            
            .modal-footer {
                flex-direction: column;
            }
            
            .modal-footer button {
                width: 100%;
            }
        }
        
        @media (max-width: 480px) {
            /*h1 {
                font-size: 1.8rem;
            }*/
            
           /* button {
                padding: 10px 15px;
                font-size: 0.9rem;
            }*/
            
            .controls {
                flex-direction: column;
                align-items: center;
            }
            
            .modal-header {
                padding: 15px;
            }
            
            .modal-title {
                font-size: 1.3rem;
            }
        }



/* 响应式设计 */
@media (max-width: 992px) {
    .topics-header, .topic-item {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .topic-item .category-cell {
        display: none;
    }
    
    .topics-header .category-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 15px 15px 50px;
    }
    .nav-link{
        flex-direction: column;
        width: 32%;
        font-size: 14px;
        padding-top: 6px;
        color: #7f7f7f;
    }
    .nav-link.active, .nav-link:hover {
        color:#1bb676;
        font-weight:bold;
    }
    .nav-links {
        display: flex;
        position: fixed;
        bottom: 0;
        background: #f9f9f9;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-left: -20px;
        border-top: 1px solid #ebebeb;
    }

    .nav-links .mwDis{
        height: 24px;
        width: 24px;
        display:block;
        justify-content:center;
        align-items: center;
    }

    .nav-links span{
        display:block;
        justify-content:center;
        align-items: center;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .page-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .topic-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .topics-header, .topic-item {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .topic-item .activity-cell {
        display: none;
    }
    
    .topics-header .activity-header {
        display: none;
    }
    
    .topic-info {
        /*grid-column: 1 / span 3;*/
        /*margin-bottom: 15px;*/
    }
    .tipContentMain .modal-content{
        width: 90%;
        padding: 0;
    }
    .tipContentMain .modal-content .modal-header {
        background: #02af67;
        border-radius: 10px;
        font-size: 14px;
        line-height:5px;
    }
    .plareatext textarea {
        width: 85vw;
    }
    .tipContentMain .modal-content .textareaSubmit{
        padding: 5px 0;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px 15px 0px;
    }
    
    .topic-tab {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .topics-header, .topic-item {
        grid-template-columns: 1fr;
        padding: 15px 5px;
    }
    
    .topic-item .answers-cell, .topic-item .views-cell {
        display: flex;
        flex-direction: column;
        align-items: normal;
    }
    .topic-item .count-box{flex-direction:row-reverse;align-items:normal;}
    
    .topics-header .answers-header, .topics-header .views-header {
        display: none;
    }
    
    .topic-info {
        /*grid-column: 1 / span 2;*/
    }
    
    .topic-meta {
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    .social-icons .social-list img{        
        width:40px;
        height:40px;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .container {
        background-color: #2d2d2d;
    }
    
    .top-nav {
        background-color: #1e2a38;
    }
    
    .topic-tabs, .topics-container, .topics-header, .forum-info {
        background-color: #3a3a3a;
        border-color: #444;
    }
    
    .topic-item:hover {
        background-color: #444;
    }
    
    .topic-title, .page-title {
        color: #e0e0e0;
    }
    
    .btn-outline {
        background-color: #3a3a3a;
        color: #e0e0e0;
        border-color: #555;
    }
    
    .category-game {
        background-color: #2a3b4d;
        color: #5dade2;
    }
    
    .category-new {
        background-color: #1e3a3a;
        color: #76d7c4;
    }
    
    .category-discuss {
        background-color: #3a2e1e;
        color: #f8c471;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slides { height: 300px; }
    /*.slide { padding: 20px; }*/
    .slide h2 { font-size: 1.5rem; }
    .nav-btn { width: 40px; height: 40px; }
    .ContentMainView{
        padding: 0 11px 80px;
    }
    .top-nav{
        width:100vw;
    }
    .load-more{
        padding:20px 0 70px;
    }
    .views-cell{
        max-height: 75px;
        overflow: hidden;
        margin-bottom: 7px;
    }
    .topic-title-img{
        margin:0;
    }
    .itemPcontent{
        padding-top: 3px;
        line-height: 24px;
        margin-left: 6px;
    }
    .topic-item .topic-info .topic-title-img img,.itemPcontent{float:left;}
    .topic-info .topic-title-img .itemPcontent span{
        display:block;
    }
    .topic-info .topic-title-img .itemPcontent span:nth-child(2){
        font-size:11px;color:#999999;
    }
    .topic2-title a{
        display: block;
        width: 100%;
    }
    .JogoName {
        padding: 4px 15px 4px;
        font-size: 14px;
    }
    .search-box {
        flex-direction: column;
        border-radius: 12px;
    }
    .search-icon {
        left: 20px;
        top: 27%;
    }
    .search-input {
        padding: 15px 15px 15px 50px;
    }
    .variant-2 .search-btn, .variant-3 .search-btn {
        border-radius: 0 0 12px 12px;
    }
    .search-btn {
        padding:10px;
        width: 100%;
        border-radius: 0 0 12px 12px;
    }
    .load-btn {
        padding: 10px 40px;
        font-size:15px;
    }
    .detailNewstext img{
        width:100% !important;
    }
    #backToTop,#penButton{
        margin-right:6%;
    }
    #penButton{
        bottom: 150px;
    }
    .loadingCommon{text-align:center;}
    .detailSendADList{width:80%;}
    /* 底部输入框 */
    .comment-input {
        position: fixed;
    }
    .detailSendContent .topic-info .topic-title-img img {
        height: 40px;
        width: 40px;
    }
    .detailSendContent .topic-info .topic-title-img .itemPcontent1{
        line-height: 40px;
    }
    .detailSendContent .topic-info .topic-title-img .itemPcontent2{
        font-size:14px;
    }
    .detailTitle h1 {
        font-size: 18px;
    }
    .headerpage .switchLaunge{
        margin-right: auto;
        margin-left:0;
    }
}

@media (max-width:480px) {
    .slides { height:160px;}
    .slide h2 { font-size: 1.3rem; }
    .slide p { font-size: 0.9rem; }
    .nav-btn { width: 35px; height: 35px; font-size: 1.2rem; }
    .prev { left: 10px; }
    .next { right: 10px; }
    .controls { flex-wrap: wrap; }
    .btn { flex: 1; min-width: 120px; }
    .announcement-text { font-size: 0.9rem; }
    .topic-info .topic-title{display:none;}
    .views-cell .topic-title{display:block;margin-bottom: 2px;text-align: left;}
    .topic-item2{
        display: grid;
        grid-template-columns:0.3fr 0.7fr 2fr 0.4fr;
        padding:8px 5px;
        border-bottom: 1px solid #f0f0f0;
        align-items: center;
    }
    .topic-item2 .topic-info .topic-title-img img{width:54px;height:54px;}
    .JogoName {
        padding: 4px 15px 4px;
        font-size: 14px;
    }
}


/* 平板和桌面端适配 */
@media (min-width: 600px) {
    .comment--reply {
        margin-left: 24px;
        padding-left: 24px;
    }

    .comment__avatar {
        width: var(--avatar-size-lg);
        height: var(--avatar-size-lg);
    }
}

/* 大屏幕适配 */
@media (min-width:1500px) {
    .container{
        width:1200px;
    }
}

.registerClass{
    margin-left: auto !important;
    margin-right: 0 !important;
}

.registerClass a{
    font-size:14px;
    font-weight:bold;
}
.loading-container{
    display: flex;           /* 使用Flexbox布局 */
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
    min-height: 100vh;      /* 至少占满整个视口高度 */
    background: #ffffff;
    margin: 0;
    flex-direction: column;
    position:relative;
    z-index:10000
}
.loading-container .loader {
    width: 50px;
    height: 50px;
    border: 4px solid #ddd;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.loading-container .loadingText{
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #a3a2a2;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
