/*
Author: 代码号原创内容/著作权保护
Author: 抄袭扒站违法请勿尝试
*/
:root {
    --primary-color: #FF7E00;
    --primary-light: #FF9E40;
    --primary-dark: #E56A00;
    --secondary-color: #4A4A4A;
    --light-bg: #F8F9FA;
    --dark-bg: #222;
    --card-bg: #FFFFFF;
    --text-color: #333;
    --text-light: #777;
    --border-color: #EEE;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --sidebar-width: 260px;
}

.dark-mode {
    --light-bg: #1A1A1A;
    --dark-bg: #222; /* 保持底部和友情链接黑色 */
    --card-bg: #2D2D2D;
    --text-color: #EEE;
    --text-light: #AAA;
    --border-color: #444;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul, li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.main-header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    text-indent: -9999px;
}

.logo-img {
    width: 170px;
    height: 50px;
    background-image: url(/skin/ymxz/static/images/logo.png);
    display: block;
    overflow: hidden;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 20px;
    position: relative;
}

.nav-list li {
    position: relative;
    margin: 0 12px;
}

.nav-list li a {
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: var(--transition);
}

.nav-list li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list li a:hover:after {
    width: 100%;
}

/* 下拉菜单样式优化 */
.nav-list .menu {
    position: relative;
}

.nav-list .menu ul.sub {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    min-width: 140px;
    box-shadow: var(--shadow);
    border-radius: 6px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-list .menu:hover ul.sub,
.nav-list .menu.mobile-active ul.sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list .menu:hover .dropdown-icon,
.nav-list .menu.mobile-active .dropdown-icon {
    transform: rotate(180deg);
}

.nav-list .menu ul.sub li {
    margin: 0;
    padding: 0;
}

.nav-list .menu ul.sub li a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: var(--text-color);
    white-space: nowrap;
}

.nav-list .menu ul.sub li a:hover {
    background-color: rgba(255, 126, 0, 0.1);
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
}

.theme-toggle {
    width: 44px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    margin-right: 15px;
    transition: var(--transition);
}

.tools-section, .subcategory-section {
	margin: 10px 15px 30px;
}

.theme-toggle:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.theme-toggle.active {
    background-color: var(--primary-color);
}

.theme-toggle.active:before {
    left: 22px;
}

.search-toggle, .contribute-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.search-toggle:hover, .contribute-btn:hover {
    background-color: var(--primary-light);
    color: white;
}

/* 移动端导航按钮 */
.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: var(--primary-light);
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 5px 0;
    }
    
    .nav-list li a {
        padding: 10px 0;
    }
    
    .nav-list .menu ul.sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }
    
    .nav-list .menu.mobile-active ul.sub {
        display: block;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions .contribute-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-inner {
        padding: 0 10px;
    }
    
    .logo-img {
        width: 120px;
    }
}

/* 布局 */
.main-layout {
    display: flex;
    margin-top: 20px;
    max-width: 1400px;
    margin: 20px auto 0;
    padding: 0 15px;
}

/* 左侧导航 */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 15px 0;
    margin-right: 20px;
    height: calc(100vh - 100px);
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    overflow: hidden;
}

.sidebar-nav h3 {
    font-size: 14px;
    padding: 0 15px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.sidebar-nav h3 i {
    margin-right: 8px;
}

.subcategory-list li {
    margin-bottom: 5px;
}

.subcategory-list a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    font-size: 13px;
    transition: var(--transition);
    position: relative;
}

.subcategory-list a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: var(--primary-color);
}

.subcategory-list a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 126, 0, 0.08);
}

.subcategory-list a:hover:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary-color);
}

.sidebar-footer {
    padding: 0 15px;
}

.cooperation-box {
    background-color: var(--light-bg);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.cooperation-box h4 {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.cooperation-box h4 i {
    margin-right: 5px;
}

.cooperation-links a {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background-color: var(--card-bg);
    border-radius: 4px;
    margin-bottom: 6px;
    font-size: 12px;
    transition: var(--transition);
}

.cooperation-links a i {
    margin-right: 5px;
    color: var(--primary-color);
}

.cooperation-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.cooperation-links a:hover i {
    color: white;
}

/* 主内容区 */
.main-content {
    flex: 1;
    width: calc(100% - var(--sidebar-width) - 20px);
}

/* Banner区域 */
.banner-section {
    height: 320px;
    background: url('/skin/gongju/static/images/banner.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
}

.category-intro {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.search-section {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    width: 100%;
}

.search-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    justify-content: center;
}

.search-tab {
    padding: 8px 15px;
    cursor: pointer;
    font-size: 13px;
    opacity: 0.7;
    transition: var(--transition);
}

.search-tab.active {
    opacity: 1;
    color: var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
}

.search-box {
    display: flex;
    height: 46px;
}

.search-input {
    flex: 1;
    background: white;
    border: none;
    border-radius: 4px 0 0 4px;
    padding: 0 15px;
    font-size: 14px;
}

.search-engine-select {
    width: 120px;
    background: white;
    border: none;
    border-left: 1px solid #eee;
    padding: 0 15px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    font-size: 13px;
}

.search-btn {
    width: 60px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

/* 内容卡片区域 */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-title h2 {
    font-size: 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.section-title h2:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.view-more {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.view-more:after {
    content: "›";
    margin-left: 5px;
    font-size: 16px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 30px;
}

.tool-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    padding: 12px;
    height: 100%;
    cursor: pointer;
    border: 1px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.tool-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

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

.tool-info {
    flex: 1;
    overflow: hidden;
}

.tool-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-desc {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 子栏目区块 */
.subcategory-section {
    margin-bottom: 40px;
}

/* 友情链接 - 夜间模式保持黑色 */
.friend-links {
    background-color: #333; /* 固定为黑色 */
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.dark-mode .friend-links {
    background-color: #222; /* 夜间模式也保持黑色 */
}

.links-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.links-list a {
    color: #CCC;
    font-size: 13px;
    transition: var(--transition);
}

.links-list a:hover {
    color: var(--primary-light);
}

/* 页脚 - 夜间模式保持黑色 */
.main-footer {
    background-color: #222; /* 固定为黑色 */
    color: #999;
    padding: 40px 0 20px;
    font-size: 13px;
}

.dark-mode .main-footer {
    background-color: #222; /* 夜间模式也保持黑色 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 150px;
}

.footer-section {
    margin-right: 30px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #EEE;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links a {
    display: block;
    color: #999;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #777;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px 0;
}

/* 右下角悬浮按钮 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.float-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.wechat-qr {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 160px;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.wechat-qr img {
    width: 100%;
}

.wechat-btn:hover .wechat-qr {
    opacity: 1;
    visibility: visible;
    bottom: 70px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
.card-grid {
grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
.main-layout {
flex-direction: column;
    }
    
.sidebar {
width: 100%;
height: auto;
margin-right: 0;
margin-bottom: 20px;
position: static;
    }
    
.main-content {
width: 100%;
    }
    
.card-grid {
grid-template-columns: repeat(3, 1fr);
    }
    
.nav-list {
display: none;
    }
    
.mobile-menu-btn {
display: flex;
    }
}

@media (max-width: 768px) {
.card-grid {
grid-template-columns: repeat(2, 1fr);
    }
    
.banner-section {
height: 280px;
    }
    
.search-engine-select {
width: 100px;
    }

.header-actions .contribute-btn {
display: none;
    }
}

@media (max-width: 576px) {
.card-grid {
grid-template-columns: 1fr;
    }
    
.search-box {
flex-direction: column;
height: auto;
    }
    
.search-input, .search-engine-select, .search-btn {
width: 100%;
height: 30px;
border-radius: 4px;
margin-bottom: 8px;
flex: auto;
    }
    
.search-tabs {
display: none;
    }
    
.search-tab {
margin-bottom: 8px;
    }
    
.footer-content {
padding: 0 10px;
    }
    
.footer-section {
margin-right: 0;
    }
}

/* 软件头部信息区域 - 优化布局 */
.software-header {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.software-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.software-info {
    flex: 1;
    padding-right: 20px;
}

.software-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.software-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    font-size: 13px;
    color: var(--text-light);
}

.software-meta-row {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-bottom: 5px;
}

.software-meta span {
    display: flex;
    align-items: center;
}

.software-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.software-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3);
    transition: var(--transition);
    text-align: center;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 126, 0, 0.4);
}

.feedback-link {
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
}

.feedback-link:hover {
    color: var(--primary-color);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* 主体内容布局 */
.content-layout {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
}

.main-content {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sidebar-right {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

/* 内容选项卡 */
.content-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--light-bg);
}

.content-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.content-tab.active {
    color: var(--primary-color);
}

.content-tab.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.content-tab:hover {
    color: var(--primary-color);
}

/* 内容区域 */
.content-body {
    padding: 20px;
    display: flex;
}

/* 目录导航 */
.content-nav {
    width: 220px;
    flex-shrink: 0;
    padding-right: 20px;
    border-right: 1px dashed var(--border-color);
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.content-nav-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.nav-list-items {
    padding-left: 1px;
}

.nav-list-items li {
    margin-bottom: 8px;
    position: relative;
}

.nav-list-items li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #657786;
    padding: 1px 0px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.nav-list-items li a:hover {
    background-color: #f5f8fa;
    color: #ff3300;
    transform: translateX(5px);
}

.nav-list-items a.active {
    background-color: rgba(255, 126, 0, 0.15);
    color: var(--primary-color);
    font-weight: 500;
}

.nav-h3 {
    font-weight: 700;
    margin-top: 15px;
    color: #14171a;
}

.nav-h3:first-child {
    margin-top: 0;
}

.nav-h4 {
    margin-left: 10px;
    font-weight: 600;
}

.nav-h5 {
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-h4 a, .nav-h5 a {
    color: #657786;
    font-weight: normal;
}

.nav-h4 a:hover, .nav-h5 a:hover {
    color: #1da1f2;
}

.nav-list-items ul {
    list-style: none;
    margin-top: 5px;
}

.nav-h3 a::before {
    content: '•';
    margin-right: 8px;
    color: #ff3300;
    font-size: 1.2rem;
}

.nav-h4 a::before {
    content: '›';
    margin-right: 8px;
    color: #ff3300;
}

.nav-h5 a::before {
    content: '›';
    margin-right: 8px;
    color: #ff3300;
    font-size: 0.8rem;
}

.nav-h6 {
    padding-left: 10px;
    font-size: 11px;
    color: var(--text-light);
}

/* 内容详情 */
.content-detail {
    flex: 1;
    padding-left: 20px;
    width: 100%;
    overflow: hidden;
}

.content-section {
    margin-bottom: 30px;
    width: 100%;
}

.content-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.content-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    background: #f7fafc;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 25px 0 15px;
    border-left: 5px solid #ff000a;
}

.content-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    background: #f7fafc;
    padding: 1px 25px;
    border-radius: 5px;
    margin: 25px 0 15px;
    border-left: 5px solid #00d9ff;
}

.content-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    background: #f7fafc;
    padding: 2px 30px;
    border-radius: 5px;
    margin: 25px 0 15px;
    border-left: 5px solid #ff7e00;
}

.content-section p {
    margin-bottom: 12px;
    line-height: 1.8;
    width: 100%;
    overflow: hidden;
}

.content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
}

.content-section table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.content-section table th, 
.content-section table td { 
    padding: 1px 1px; 
    border: 1px solid #ddd; 
    text-align: left;
}
.content-section table th { 
    background: #e7e5e3; 
    font-weight: bold;
}
.content-section table tr:nth-child(even) { background: #f9f9f9; }
.content-section table tr:hover { background: #fff3e6; }
.content-section > ol {
    counter-reset: item;
    list-style: none;
    padding-left: 1.5em;
    margin: 1em 0;
}
.content-section > ol > li {
    position: relative;
    counter-increment: item;
    margin-bottom: 0.1em;
    padding-left: 2em;
}
.content-section > ol > li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #ff6b00;
    font-weight: bold;
}
.content-section td code,
.content-section p > code,
.content-section ul li p code {
  font-weight: 900; /* 最大加粗度 */
  background: linear-gradient(to right, #ffffff, #fbad60);
  padding: 0.1em 0.3em;
  border-radius: 3px;
  box-shadow: 
    0 1px 1px rgba(0,0,0,0.1),
    inset 0 -1px 2px rgba(0,0,0,0.05);
  text-shadow: 0 0.5px 0 rgba(255,255,255,0.8);
  display: inline-block;
  line-height: 1;
  position: relative;
  z-index: 1;
}
/* 悬停增强效果 */
.content-section td code:hover,
.content-section p > code:hover,
.content-section ul li p code:hover {
  background: linear-gradient(to right, #e0e0e0, #d5d5d5);
  transform: translateY(-1px);
}
/* 视频和下载列表 */
.media-list {
    background-color: var(--light-bg);
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.media-list-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.media-list-title i {
    margin-right: 8px;
}

.media-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.short-btn.download {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* 为每个按钮添加不同的颜色 */
.short-btn.download:nth-child(1) {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.short-btn.download:nth-child(2) {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.short-btn.download:nth-child(3) {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.short-btn.download:nth-child(4) {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}
.media-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--card-bg);
    border-radius: 4px;
    transition: var(--transition);
}

.media-item:hover {
    background-color: rgba(255, 126, 0, 0.1);
}

.media-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* 评论区域 */
.comment-list {
    display: none;
}

.comment-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

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

.comment-user {
    font-weight: 500;
}

.comment-time {
    font-size: 12px;
    color: var(--text-light);
    margin-left: 10px;
}

.comment-content {
    line-height: 1.6;
}

/* 标签区域 - 优化边距 */
.tags-section {
    margin: 1px 0;
    padding: 20px 15px 0;
    border-top: 1px solid var(--border-color);
}

.tags-title {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: bold;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 5px 12px;
    background-color: var(--light-bg);
    border-radius: 20px;
    font-size: 13px;
    transition: var(--transition);
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 上一篇下一篇 */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.post-nav-item {
    display: flex;
    align-items: center;
    max-width: 45%;
}

.post-nav-item i {
    margin: 0 10px;
    color: var(--primary-color);
}

.post-nav-prev i {
    order: -1;
}

.post-nav-next i {
    order: 1;
}

.post-nav-title {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 相关工具推荐 */
.related-tools {
    margin: 10px 15px 30px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-title h2 {
    font-size: 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.section-title h2:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.view-more {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.view-more:after {
    content: "›";
    margin-left: 5px;
    font-size: 16px;
}

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

.tool-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.tool-info {
    flex: 1;
    overflow: hidden;
}

.tool-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-desc {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 侧边栏组件 */
.sidebar-widget {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 15px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.widget-title i {
    margin-right: 8px;
}

.popular-list, .tags-cloud, .like-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.popular-item, .like-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.popular-item:last-child, .like-item:last-child {
    border-bottom: none;
}

.popular-item img, .like-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
}

.popular-info, .like-info {
    flex: 1;
    overflow: hidden;
}

.popular-title, .like-title {
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-meta, .like-meta {
    font-size: 11px;
    color: var(--text-light);
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tags-cloud {
    flex-direction: row;
    flex-wrap: wrap;
}

.tag-cloud, .tags-list a {
    padding: 4px 4px;
    background-color: var(--light-bg);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 3px;
    transition: var(--transition);
}

.tag-cloud:hover, .tags-list a:hover {
    background-color: var(--primary-color);
    color: white;
}
/* 内页开始 */
/* 响应式设计 */
@media (max-width: 1200px) {
.tools-grid {
grid-template-columns: repeat(3, 1fr);
    }
    
.content-nav {
width: 200px;
    }
.content-section img {
max-width: 100%;
height: 100%;
    }
}

@media (max-width: 992px) {
.content-layout {
flex-direction: column;
    }
    
.sidebar-right {
width: 100%;
    }
    
.tools-grid {
grid-template-columns: repeat(2, 1fr);
    }
    
.content-body {
flex-direction: column;
    }
    
.content-nav {
width: 100%;
border-right: none;
border-bottom: 1px dashed var(--border-color);
padding-right: 0;
padding-bottom: 20px;
margin-bottom: 20px;
position: static;
max-height: none;
    }
    
.content-detail {
padding-left: 0;
    }
.content-section img {
max-width: 100%;
height: auto;
    }
}

@media (max-width: 768px) {
.software-header {
flex-wrap: wrap;
align-items: flex-start;
    }
    
.software-icon {
margin-bottom: 15px;
    }
    
.software-info {
padding-right: 0;
margin-bottom: 15px;
    }
    
.software-action {
	width: 100%;
align-self: stretch;
align-items: flex-start;
	display: flex;
	flex-direction: row-reverse;
    }
    
.download-btn {
display: block;
text-align: center;
    }
    
.tools-grid {
grid-template-columns: 1fr;
    }
    
.content-tabs {
overflow-x: auto;
white-space: nowrap;
    }
    
.content-tab {
padding: 12px 15px;
    }
    
.post-navigation {
    flex-direction: column;
    gap: 15px;
}
    
.post-nav-item {
max-width: 100%;
    }
.content-section img {
    max-width: 100%;
    height: auto;
    }
.feedback-link {
    display: inline-block;
    background: linear-gradient(135deg, #ff3300, var(--primary-dark));
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3);
    transition: var(--transition);
    text-align: center;
    }
}

@media (max-width: 576px) {
.software-meta-row {
    flex-direction: column;
    gap: 8px;
}
    
.media-item {
    flex-direction: column;
    align-items: flex-start;
    }
    
.media-item i {
    margin-bottom: 5px;
    }
    
.popular-item, .like-item {
    align-items: flex-start;
    }
    
.popular-item img, .like-item img {
    margin-bottom: 10px;
    }
.content-section img {
    max-width: 100%;
    height: auto;
    }
}

/* 问答模块 - 双列布局 */
.faq-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* 列间距 */
    justify-content: space-between;
}

.faq-item {
    flex: 0 0 calc(50% - 8px); /* 每项占50%宽度减去一半间距 */
    margin-bottom: 5px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box; /* 确保宽度计算包含边框和内边距 */
}

.faq-question {
    width: 100%;
    padding: 6px 15px;
    text-align: left;
    background-color: var(--light-bg);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: "+";
    font-size: 18px;
}

.faq-question[aria-expanded="true"]:after {
    content: "-";
}

.faq-answer {
    padding: 10px 15px;
    background-color: var(--card-bg);
    font-size: 13px;
    line-height: 1.6;
}

/* 响应式设计 - 小屏幕时恢复单列 */
@media (max-width: 768px) {
    .faq-item {
        flex: 0 0 100%; /* 小屏幕上占满整行 */
    }
}