/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5961f9;
    --hover-color: #ee9ae5;
    --bg-color: #f9f9f9;
    --sidebar-width: 200px; /* 减小侧边栏宽度 */
    --text-color: #282a2d;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* 左侧导航栏 */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: #fff;
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.sidebar-logo {
    padding: 20px;
    text-align: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.sidebar-menu {
    padding: 10px 0;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    position: relative;
}

.sidebar-item.active > .sidebar-link {
    color: var(--primary-color);
    background-color: rgba(89, 97, 249, 0.1);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: var(--primary-color);
    background-color: rgba(89, 97, 249, 0.05);
    border-left-color: var(--primary-color);
}

.icon-fw {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.sidebar-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s;
}

.sidebar-item.has-children.expanded > .sidebar-toggle {
    transform: translateY(-50%) rotate(90deg);
}

.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.sidebar-item.expanded > .sidebar-submenu {
    display: block;
    max-height: 1000px;
}

.sidebar-submenu li {
    padding: 0;
}

.sidebar-sub-link {
    display: block;
    padding: 10px 20px 10px 50px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-sub-link:hover {
    color: var(--primary-color);
    background-color: rgba(89, 97, 249, 0.05);
}

/* 主内容区 */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background-color: var(--bg-color);
    width: calc(100% - var(--sidebar-width)); /* 充分利用剩余宽度 */
    overflow-x: hidden; /* 防止水平滚动 */
}

.page-header {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(89, 97, 249, 0.1);
}

.search-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--hover-color);
}

.admin-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.admin-link:hover {
    color: var(--primary-color);
    background-color: rgba(89, 97, 249, 0.1);
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
}

.main-container {
    padding: 30px;
    width: 100%; /* 使用100%宽度 */
    max-width: none; /* 移除最大宽度限制 */
    margin: 0; /* 移除居中显示 */
}

/* 顶部广告 */
.top-ads {
    padding: 15px 30px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.ad-item {
    margin-bottom: 15px;
}

.ad-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.ad-content {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}

/* 页面标题 */
.page-header-section {
    margin-bottom: 20px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 16px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

/* 工具卡片网格 - 紧凑版（每排6个） */
.tools-grid-compact {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 每行6个卡片 */
    gap: 8px; /* 进一步减少间距，充分利用宽度 */
    margin-bottom: 30px;
}

/* 横向工具卡片样式（新样式） */
.tool-card-horizontal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 90px; /* 增加高度以容纳更多内容 */
    width: 100%; /* 占满网格单元格 */
}

.tool-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(89, 97, 249, 0.15);
}

/* 鼠标悬停时显示完整简介的覆盖层 */
.tool-card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(89, 97, 249, 0.95) 0%, rgba(108, 92, 231, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.tool-card-horizontal:hover .tool-card-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.tool-card-hover-content {
    color: #fff;
    text-align: center;
    max-height: 100%;
    overflow: hidden;
}

.tool-card-hover-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.tool-card-hover-desc {
    font-size: 13px;
    line-height: 1.5;
    max-height: 150px;
    overflow-y: auto;
    text-align: left;
}

.tool-card-hover-desc::-webkit-scrollbar {
    width: 4px;
}

.tool-card-hover-desc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.tool-card-hover-desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.tool-card-hover-desc::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tool-card-link-horizontal {
    display: flex;
    align-items: center;
    padding: 10px; /* 进一步减少内边距 */
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.tool-icon-horizontal {
    width: 45px; /* 稍微缩小图标宽度 */
    height: 45px; /* 稍微缩小图标高度 */
    border-radius: 6px; /* 圆角矩形 */
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 6px; /* 进一步减少间距 */
}

.card-info {
    flex: 1;
    min-width: 0; /* 允许文本截断 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-name-horizontal {
    font-size: 14px; /* 工具名称字体 */
    color: #111827; /* text-gray-900 */
    font-weight: 700; /* font-bold */
    margin: 0 0 4px 0; /* 名称与描述间距 */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-description-horizontal {
    font-size: 12px; /* 工具描述字体 */
    color: #4b5563; /* text-gray-600 */
    margin: 0;
    line-height: 1.2;
    width: auto; /* 自动宽度 */
    max-width: 200px; /* 大幅增加最大宽度 */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

.tool-card-compact {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.tool-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(89, 97, 249, 0.15);
    border-color: var(--primary-color);
}

.tool-card-link-compact {
    display: flex;
    flex-direction: column;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    min-height: 140px;
}

.tool-icon-compact {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    flex-shrink: 0;
}

.tool-icon-compact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.tool-icon-compact i {
    font-size: 24px;
    color: var(--primary-color);
}

.tool-info-compact {
    flex: 1;
    text-align: center;
}

.tool-name-compact {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.tool-description-compact {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.featured-badge-compact {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.featured-badge-compact i {
    font-size: 10px;
}

/* 分类区块 */
.section-block {
    margin-bottom: 40px;
}

.section-header {
    margin-bottom: 20px;
}

.view-more-link {
    float: right;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: normal;
}

.view-more-link:hover {
    text-decoration: underline;
}

/* 子分类导航（首页使用） */
.sub-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.sub-category-link {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s;
}

.sub-category-link:hover,
.sub-category-link.active {
    background: var(--primary-color);
    color: white;
}

/* 分类切换标签（分类页面使用） */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 20px;
    margin-bottom: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
    background: #fff;
    border-radius: 8px 8px 0 0;
}

.category-tab {
    display: inline-block;
    padding: 14px 24px;
    background: transparent;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
}

.category-tab:hover {
    color: var(--primary-color);
    background: rgba(89, 97, 249, 0.03);
}

.category-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
    background: rgba(89, 97, 249, 0.05);
}

/* 传统工具卡片网格（保留兼容性） */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tool-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(89, 97, 249, 0.2);
}

.tool-card-link {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.tool-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tool-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(89, 97, 249, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 15px;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

/* 工具详情页 */
.tool-detail-header {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.tool-icon-large {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 15px;
}

.tool-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-icon-large i {
    font-size: 60px;
    color: var(--primary-color);
}

.tool-header-info {
    flex: 1;
}

.tool-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.tool-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.meta-item {
    color: #666;
    font-size: 14px;
}

.tool-actions {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--hover-color);
}

.tool-detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.tool-image {
    margin-bottom: 30px;
}

.tool-image img {
    width: 100%;
    border-radius: 10px;
}

.tool-description,
.tool-detail-text {
    margin-bottom: 30px;
}

.detail-content {
    line-height: 1.8;
}

/* 评论区域 */
.comments-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.comment-form-wrapper {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(89, 97, 249, 0.1);
}

.comments-list {
    margin-top: 30px;
}

.comment-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    color: #999;
    font-size: 12px;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
}

.empty-comments {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 相关工具 */
.related-tools {
    margin-bottom: 30px;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.related-tool-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.related-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(89, 97, 249, 0.2);
}

.related-tool-card a {
    text-decoration: none;
    color: inherit;
}

.related-tool-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
}

.related-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-tool-name {
    font-size: 14px;
    font-weight: 500;
}

/* 侧边栏内容 */
.sidebar-content {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.ads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 分页 */
.pagination-nav {
    margin-top: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* 底部 */
.footer {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

/* 响应式 */
@media (min-width: 1800px) {
    .tools-grid-compact {
        grid-template-columns: repeat(8, 1fr); /* 超大屏幕显示8个 */
        gap: 10px;
    }
}

@media (min-width: 1600px) and (max-width: 1799px) {
    .tools-grid-compact {
        grid-template-columns: repeat(7, 1fr); /* 大屏幕显示7个 */
        gap: 10px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .tools-grid-compact {
        grid-template-columns: repeat(6, 1fr); /* 中等大屏幕保持6个 */
        gap: 10px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .tools-grid-compact {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .tools-grid-compact {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 991px) {
    .main-container {
        padding: 20px;
    }
    .tools-grid-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .tool-card-horizontal {
        height: auto;
        min-height: 128px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 15px;
    }
    .sidebar-nav {
        transform: translateX(-100%);
        transition: transform 0.3s;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
        width: 250px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    .sidebar-nav.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    /* 确保页面内容在侧边栏打开时不会被遮挡 */
    body {
        overflow-x: hidden;
    }
    
    .tools-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .tool-card-horizontal {
        height: auto;
        min-height: 128px;
    }
    .tool-icon-horizontal {
        width: 40px;
        height: 40px;
    }
    .tool-name-horizontal {
        font-size: 13px;
    }
    .tool-description-horizontal {
        font-size: 11px;
    }
    
    .tool-card-link-compact {
        padding: 12px;
        min-height: 120px;
    }
    
    .tool-icon-compact {
        width: 40px;
        height: 40px;
    }
    
    .tool-name-compact {
        font-size: 14px;
        min-height: 32px;
    }
    
    .tool-description-compact {
        font-size: 11px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .tool-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-icon-large {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
    }
    
    /* 搜索框适配 */
    .search-box {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .search-input {
        width: 100%;
    }
    
    /* 顶部广告适配 */
    .top-ads {
        padding: 10px 15px;
    }
    
    /* 分类标签适配 */
    .category-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* 分页适配 */
    .pagination {
        flex-wrap: wrap;
    }
    
    /* 侧边栏广告适配 */
    .sidebar-content {
        position: relative;
        top: 0;
    }
    
    /* 确保表格在移动设备上不溢出 */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
    }
    
    /* 按钮适配 */
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* 标题适配 */
    .main-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    /* 工具详情页适配 */
    .tool-detail-content {
        padding: 20px;
    }
    
    /* 评论区适配 */
    .comments-section {
        padding: 20px;
    }
}

