/* 通用重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* 确保内容区域有正确的容器 */
.main-content .video-detail,
.video-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 顶部样式 */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.site-title {
    font-size: 28px;
    font-weight: 300;
    color: #2c3e50;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.site-subtitle {
    font-size: 14px;
    color: #95a5a6;
    font-weight: 300;
}

/* 导航菜单 */
.site-nav {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 24px;
}

.nav-item a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-item a:hover {
    color: #2c3e50;
    background: #f0f0f0;
}

.nav-item a.active {
    color: #2c3e50;
    background: #f0f0f0;
    font-weight: 500;
}

/* 主内容区 */
.main-content {
    margin-top: 28px;
}

/* 筛选区 */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 14px;
    color: #666;
}

.sort-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 36px 8px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    appearance: none;
    min-width: 120px;
    transition: border-color 0.2s;
}

.sort-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.sort-select.active {
    border-color: #3498db;
    background-color: #f8fafc;
}

.select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    pointer-events: none;
    font-size: 12px;
}

/* 视频网格 - 桌面端4列，移动端2列 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.2s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f8f9fa;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
}

.play-icon i {
    color: #fff;
    font-size: 16px;
    margin-left: 2px;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-info {
    padding: 16px 12px;
}

.video-title {
    margin: 0;
}

.video-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

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

/* 视频详情头部 - 居中且简洁 */
.video-detail-header {
    padding: 20px 0 16px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.video-detail-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #3498db;
}

.video-detail-title {
    font-size: 24px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 12px;
    text-align: center;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    padding: 0 20px;
}

.video-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #95a5a6;
    font-size: 14px;
    margin-top: 8px;
}

/* 视频播放器容器 */
.video-player-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    background: #000;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 加载指示器 */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 错误提示 */
.error-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 视频内容区域 */
.video-detail-content {
    margin: 32px 0;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.video-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
    display: block;
}

.video-detail-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.video-detail-content h2,
.video-detail-content h3 {
    color: #2c3e50;
    margin: 28px 0 18px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

/* 标签区域 */
.video-detail-tags {
    margin: 12px 0;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}

.video-detail-tags a {
    display: inline-block;
    padding: 6px 14px;
    margin: 3px;
    background: #fff;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.video-detail-tags a:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* 上一篇下一篇导航 */
.video-detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0 32px;
    padding: 0;
}

.video-detail-nav a {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e8f4fd;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 15px;
    transition: all 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.video-detail-nav-prev {
    text-align: left;
}

.video-detail-nav a:hover {
    border-color: #3498db;
    color: #3498db;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
}

/* 留言点评区域 - 修复布局 */
.latest-articles.wrap {
    margin: 48px 0;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.latest-articles h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* 点赞推荐视频网格 - 独立容器 */
.video-recommendations {
    margin: 48px 0;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-recommendations h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* 详情页专用的视频网格样式 - 避免与首页冲突 */
.video-recommendations .videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

/* 视频项目样式 - 详情页专用 */
.video-recommendations .video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.video-recommendations .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.video-recommendations .video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f8f9fa;
}

.video-recommendations .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-recommendations .video-card:hover .video-thumb img {
    transform: scale(1.08);
}

.video-recommendations .video-info {
    padding: 16px;
}

.video-recommendations .video-info h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 文章底部操作按钮区域样式 */
.article-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 30px;
}

/* 操作按钮容器 */
.article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* 操作按钮基础样式 */
.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    box-sizing: border-box;
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
}

.action-btn:active {
    transform: translateY(0);
}

/* 工具提示 */
.action-btn .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.action-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* 计数徽章 */
.like-count-badge,
.favorite-count-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #F60;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.like-count-badge.show,
.favorite-count-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* 分享弹窗相关样式 */
.popup-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.share-popup {
    display: none;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-width: 90vw;
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
}

.share-popup h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #212529;
    text-align: center;
    font-weight: 600;
}

/* 分享平台网格 */
.share-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.share-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.share-platform:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.share-platform i {
    font-size: 24px;
    margin-bottom: 4px;
}

.share-platform .name {
    font-size: 12px;
    color: #495057;
}

/* 平台特定颜色 */
.share-platform.wechat i { color: #07c160; }
.share-platform.weibo i { color: #e6162d; }
.share-platform.qq i { color: #12b7f5; }
.share-platform.qzone i { color: #f7b500; }
.share-platform.tieba i { color: #2d64b3; }
.share-platform.email i { color: #ea4335; }
.share-platform.whatsapp i { color: #25d366; }
.share-platform.facebook i { color: #1877f2; }
.share-platform.twitter i { color: #1da1f2; }
.share-platform.link i { color: #6c757d; }

/* 微信模态框 */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.wechat-modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 90vw;
    width: 320px;
    text-align: center;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.wechat-modal-header {
    margin-bottom: 20px;
}

.wechat-modal-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #212529;
    font-weight: 600;
}

.wechat-modal-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.wechat-qrcode {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode img {
    max-width: 100%;
    height: auto;
}

.wechat-close-btn {
    padding: 10px 24px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
}

.wechat-close-btn:hover {
    background: #5a6268;
}

/* 状态样式 */
.liked {
    background: #fff5f5 !important;
    border-color: #F60 !important;
    color: #F60 !important;
}

.favorited {
    background: #fff9db !important;
    border-color: #F60 !important;
    color: #f08c00 !important;
}

/* 模态框打开时的body样式 */
body.modal-open {
    overflow: hidden;
}

/* 搜索区域样式 - 简洁版本 */
.search-section {
    padding: 15px 0;
    text-align: center;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.search-button {
    padding: 10px 20px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-button:hover {
    background: #34495e;
}

/* 搜索结果信息 */
.search-info {
    text-align: center;
    margin: 12px 0 20px;
    color: #7f8c8d;
    font-size: 13px;
}

.search-keyword {
    color: #2c3e50;
    font-weight: 500;
}

/* 搜索结果列表 - 文本模式 */
.search-results {
    margin: 0;
    padding: 0;
    min-height: 300px;
}

.search-result-item {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
}

.search-result-item:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

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

.result-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.result-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

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

.result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #7f8c8d;
}

.result-date {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #f1f3f4;
    border-radius: 4px;
    font-size: 12px;
}

.result-excerpt {
    font-size: 14px;
    color: #5a6268;
    line-height: 1.5;
    margin: 0;
    word-break: break-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 3px solid #3498db;
    transition: all 0.2s;
}

.search-result-item:hover .result-excerpt {
    background: #f0f7ff;
    border-left-color: #2980b9;
}

/* 无结果提示 */
.no-results {
    text-align: center;
    padding: 30px 20px;
    color: #95a5a6;
}

.no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #bdc3c7;
}

.no-results h3 {
    font-size: 15px;
    color: #7f8c8d;
    margin-bottom: 6px;
    font-weight: 500;
}

.no-results p {
    color: #95a5a6;
    font-size: 13px;
    margin: 0;
}

/* 分页样式 */
.pagination-container {
    margin: 30px 0 20px 0;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.pagination {
    display: inline-block;
    font-size: 13px;
    margin: 0 auto;
    min-height: 40px;
}

.pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination a, 
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.pagination a:hover {
    background-color: #f0f0f0;
    color: #3498db;
}

.pagination .active span {
    background-color: #2c3e50;
    color: #fff;
    font-weight: 500;
}

.pagination .page_disabled span {
    color: #95a5a6;
    cursor: not-allowed;
}

.pagination .pageEllipsis {
    padding: 6px 8px;
    color: #7f8c8d;
}

/* 工具类 */
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.object-contain { object-fit: contain !important; }

/* 底部 */
.site-footer {
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    color: #95a5a6;
    font-size: 14px;
    background: #fafafa;
}

.copyright {
    margin-bottom: 8px;
    margin-top: 5px;
}
.copyright a {
    color: #95a5a6 !important;
    text-decoration: none !important;
}

/* 悬停效果（可选） */
.copyright a:hover {
    text-decoration: underline !important;
    opacity: 0.9;
}
/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.share-popup {
    animation: slideUp 0.3s ease;
}

.popup-backdrop,
.wechat-modal {
    animation: fadeIn 0.3s ease;
}
.page_disabled{
    display: none;
}
/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .video-recommendations .videos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .site-title {
        font-size: 26px;
    }
    
    .nav-list {
        gap: 16px;
    }
    
    .video-recommendations .videos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .video-detail-title {
        font-size: 22px;
        padding: 0 16px;
    }
    
    .video-detail-nav {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .latest-articles.wrap,
    .video-recommendations {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    /* 移动端：筛选栏保持左右布局 */
    .filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .video-title a {
        font-size: 15px;
    }
    
    .video-info {
        padding: 14px 10px;
    }
    
    .nav-list {
        gap: 12px;
        overflow-x: auto;
        padding: 8px 0;
        justify-content: flex-start;
        scrollbar-width: none;
    }
    
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        flex-shrink: 0;
    }
    
    .nav-item a {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .sort-select {
        min-width: 100px;
        padding: 8px 32px 8px 12px;
    }
    
    .main-content {
    margin-top: 28px;
    }
    
    .search-form {
        max-width: 100%;
        gap: 6px;
    }
    
    .search-input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .search-result-item {
        padding: 15px;
    }
    
    .result-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .result-excerpt {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .result-meta {
        margin-bottom: 12px;
        font-size: 12px;
    }
    
    .result-date {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .search-info {
        font-size: 12px;
        margin: 10px 0 16px;
    }
    
    .pagination-container {
        margin: 25px 0 15px 0;
        padding: 12px 0;
    }
    
    .pagination {
        font-size: 12px;
    }
    
    .pagination a, 
    .pagination span {
        padding: 5px 10px;
    }
    
    .video-recommendations .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .video-detail-title {
        font-size: 20px;
        padding: 0 12px;
    }
    
    .video-detail-content {
        padding: 24px;
        font-size: 15px;
    }
    
    .video-player-container {
        border-radius: 6px;
    }
    
    .latest-articles.wrap,
    .video-recommendations {
        margin: 32px 0;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .site-subtitle {
        font-size: 13px;
    }
    
    .filter-bar {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .section-title {
        font-size: 17px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .video-title a {
        font-size: 14px;
    }
    
    .video-info {
        padding: 12px 8px;
    }
    
    .play-icon {
        width: 36px;
        height: 36px;
    }
    
    .play-icon i {
        font-size: 14px;
    }
    
    .search-section {
        padding: 12px 0;
    }
    
    .search-result-item {
        padding: 12px;
    }
    
    .result-title {
        font-size: 14px;
    }
    
    .result-excerpt {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .result-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .no-results {
        padding: 25px 15px;
    }
    
    .no-results i {
        font-size: 28px;
    }
    
    .no-results h3 {
        font-size: 14px;
    }
    
    .pagination-container {
        margin: 20px 0 10px 0;
    }
    
    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    
    .pagination a, 
    .pagination span {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .video-recommendations .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-detail-title {
        font-size: 18px;
        padding: 0 8px;
    }
    
    .video-detail {
        padding: 0 12px;
    }
    
    .video-detail-content {
        padding: 20px;
        font-size: 14px;
    }
    
    .video-detail-tags a {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .video-detail-nav a {
        padding: 16px;
        font-size: 14px;
    }
    
    .latest-articles h3,
    .video-recommendations h3 {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sort-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    
    .sort-select {
        flex-grow: 1;
    }
}