/* === 顶部导航栏（应用集/游戏集）=== */
.v8-list-header-navbar > div {
    display: flex;
    background: transparent;
    overflow: hidden;
    padding: 0;
    margin: 0px 0px;
    border-bottom: none !important;
}

.v8-nav-item {
    flex: 1;
    text-align: center;
    padding: 0px 0;
    position: relative;
    text-decoration: none;
    margin: 0;
    border-radius: 0;
    background: transparent !important;
}

.v8-nav-item span {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.v8-nav-item.pk-active {
    background: transparent !important;
}

.v8-nav-item.pk-active span {
    color: #00B42A; /* 修改为截图中的绿色 */
    font-weight: 600;
}

.v8-nav-item.pk-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #00B42A; /* 修改为截图中的绿色 */
    border-radius: 3px 3px 0 0;
}

.v8-list-header, {
		margin-bottom: -5px;
	}
.v8-list-header-navbar {
	margin-top: -30px;
	padding-top: 20px;
	border-top: solid 0px #f8f8f8;
}

.v8-list-header-navbar a {
	margin-right: 15px;
	font-size: 16px;
}

.v8-list-header-navbar a.pk-active {
	color: #66a6ff;
}
.v8-list-header,.v8-list-read {
	padding: 15px;
	margin-top: 0px;
	border-radius: 12px;
}

/* === 中间导航栏（视频/任务/商城等）=== */
.main-nav {
    background: transparent;
    border-radius: 0;
    padding: 5px 15px; /* 上下5px间距 */
    margin: 10px 0 15px; /* 调整外边距 */
    box-shadow: none;
    position: static;
}

.nav-container {
    display: flex;
    gap: 10px; /* 标签间距调整为10px */
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 18px;
    padding: 6px 20px;
    text-decoration: none;
    box-shadow: none;
    flex: 0 0 auto;
    white-space: nowrap;
    margin: 5px 0; /* 标签上下外间距5px */
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    text-align: center;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nav-item.active {
    background: #4CD964;
}

.nav-item.active .nav-text {
    color: #FFFFFF;
}
/* === 以下为未修改的其他样式 === */
/* === 主容器 === */
.v8-container {
    display: flex;
    max-width: 1064px;
    margin: 0 auto;
    gap: 12px;
}

/* === 左侧边栏 === */
.v8-list-left-new {
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,3%);
    padding: 12px;
    flex-shrink: 0;
}

.custom-nav-list a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #334155;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 6px;
    font-size: 13px;
    transition: background 0.3s;
}

.custom-nav-list a:hover {
    background: #f1f5f9;
}

.custom-nav-list a.active {
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 500;
}

.custom-nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: #f1f5f9;
}

.custom-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

/* === 中间主内容区 === */
.v8-container-left {
    flex: 1;
}

/* 顶部广告图 */
.custom-header-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,3%);
    height: 80px;
}

.custom-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === 置顶区域 === */
.top-sticky-container {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 4px 0 !important;
    padding: 0 !important;
}

.sticky-top-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    height: auto;
    background: transparent !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 8px;
}

.sticky-icon {
    padding: 2px 8px;
    background-color: #FB3B3800;
    color: #FB3B38;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    margin-right: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.sticky-top-item a {
    color: #000 !important;
    font-size: 15px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-weight: 700 !important;
    text-decoration: none !important;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === 内容列表项 === */
.v8-list-read {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 15px;
    margin-bottom: 8px;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.v8-list-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,5%);
}

.v8-list-read-user {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: none !important;
}

.v8-list-read-user-uh {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.v8-list-read-user-un {
    font-size: 13px;
    font-weight: 700;
    margin-left: 6px;
    color: #ff6c3c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.v8-list-read-user-date {
    font-size: 12px;
    color: #bababa;
    margin-left: auto;
    margin-bottom:3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.v8-list-read-title-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.v8-read-high {
    padding: 2px 8px;
    background-color: #FB3B38;
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.v8-list-read-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom:6px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left:7px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.v8-list-read-forum-label {
    padding: 1px 5px;
    color: #6200ee00;
    font-size: 11px;
    border-radius: 7px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
    border: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.v8-list-read-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border: none !important;
    padding-left:7px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.v8-list-read-forum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 0 0;
    border: none !important;
    margin: 0 !important;
}

.v8-list-read + .v8-list-read {
    margin-top: 0 !important;
}

.v8-list-read-forum-actions {
    display: flex;
    gap: 12px;
}

.v8-list-read-forum-actions span {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
    cursor: pointer;
}

.v8-list-read-forum-actions span svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* === 右侧边栏 === */
.v8-container-right {
    width: 323px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,3%);
    padding: 12px;
    flex-shrink: 0;
}

.v8-list-right-section {
    margin-bottom: 16px;
}

.v8-list-right-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: none !important;
}

.v8-list-right-hot-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none !important;
}

.v8-list-right-hot-item-index {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-right: 8px;
}

.v8-list-right-hot-item:nth-child(1) .v8-list-right-hot-item-index {
    background: #ef4444;
    color: #fff;
}

.v8-list-right-hot-item-title {
    font-size: 12px;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === 移动端适配 === */
@media (max-width: 1023px) {
    .v8-list-left-new, .v8-container-right {
        display: none;
    }

    .v8-container {
        gap: 0;
        padding: 0;
    }

    body {
        padding: 0;
        background-color: #fff;
    }

    /* 移动端顶部导航栏 */
    .v8-list-header-navbar > div {
        margin: 5px 0 0;
    }
    
    /* 移动端中间导航栏 */
    .main-nav {
        margin: 10px 12px;
        padding: 0;
    }
    
    .nav-container {
        gap: 10px;
    }
    
    .nav-item {
        padding: 7px 18px;
    }

    .v8-list-read {
        margin: 0 6px 8px;
        border-radius: 10px;
    }

    .sticky-top-item {
        padding: 6px 12px;
        margin: 0 6px;
    }
}

@media (max-width: 479px) {
    .nav-item {
        padding: 6px 15px;
    }
    
    .nav-text {
        font-size: 14px;
    }
    
    .v8-nav-item span {
        font-size: 16px;
    }
}