@charset "utf-8";
/* CSS变量定义 */
:root {
    --primary-color: #ff5c39;       /* 主色：橙色 */
    --primary-hover: #e64a29;       /* 主色悬浮 */
    --primary-light: #fef3c7;        /* 主色浅色 */
    --text-primary: #333333;         /* 主要文字 */
    --text-secondary: #666666;       /* 次要文字 */
    --text-light: #9ca3af;           /* 浅色文字 */
    --bg-body: #f9fafb;              /* 页面背景 */
    --bg-white: #ffffff;             /* 白色背景 */
    --bg-gray: #f5f5f5;              /* 灰色背景 */
    --border-color: #e5e5e5;         /* 边框颜色 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 4px 15px rgba(0,0,0,1);
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 12px;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    font-size: 14px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-body);
    line-height: 1.5;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, li {
    list-style: none;
}

input, textarea, button {
    font-family: inherit;
    outline: none;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* ===================================
   头部样式
   =================================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
    min-height: 65px;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

/* 导航 */
.nav {
    flex: 1;
}

.nav ul {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav > ul > li {
    position: relative;
}

.nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}
.nav > ul > li:hover > a,
.nav > ul > li > a:hover,
.nav > ul > li > a.active {
    background: var(--primary-color);
    color: white;
}

/* 导航下拉图标 */
.nav > ul > li.has-submenu > a .dropdown-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.nav > ul > li.has-submenu:hover > a .dropdown-icon {
    transform: rotate(180deg);
}

/* 导航下拉菜单 */
.nav .submenu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    display: none;
    z-index: 100;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.nav li.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav .submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    white-space: nowrap;
}

.nav .submenu a:hover,
.nav .submenu a.active {
    background: var(--bg-gray);
    color: var(--primary-color);
}

/* 搜索框 */
.search-wrapper {
    flex-shrink: 0;
    min-width: 320px;
    max-width: 360px;
}

/* 搜索框组合 */
.search-box {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.search-box:focus-within {
    border-color: var(--primary-color);
}

/* 搜索框分类选择 */
.search-box select {
    padding: 8px 10px;
    border: none;
    outline: none;
    background: #f7f7f7;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    border-right: 1px solid var(--border-color);
    flex: 20%;
}

/* 搜索输入框 */
.mac_wd {
    flex: 60%;
    padding: 8px 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #fff;
}

/* 搜索按钮 */
.mac_search {
    padding: 9px 18px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    flex: 20%;
}
.mac_search:hover {
    background: var(--primary-hover);
}

/* 用户信息 */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.user-info a {
    font-size: 14px;
    color: var(--text-secondary);
}

.user-info a:hover {
    color: var(--primary-color);
}

/* ======================
   历史记录样式
====================== */
.history {
    position: relative;
    flex-shrink: 0;
}

#history {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition);
}

#history:hover {
    color: var(--primary-color);
    background: var(--bg-gray);
}

/* 历史记录弹窗 */
.mac_history_box,
.mac_drop_box {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    padding: 10px 0;
    z-index: 9999;
    display: none;
    border: 1px solid var(--border-color);
}

.mac_history_box.show,
.mac_drop_box.show {
    display: block;
}

.mac_history_box dt {
    padding: 8px 15px;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.mac_history_box dt a {
    font-size: 12px;
    color: #999;
    padding: 3px 6px;
    border-radius: 3px;
}

.mac_history_box dt a:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

.mac_history_box dd {
    padding: 8px 15px;
    font-size: 14px;
}

.mac_history_box dd a {
    color: var(--text-primary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mac_history_box dd a:hover {
    color: var(--primary-color);
}

.mac_history_box dd.hide {
    color: #999;
    text-align: center;
    padding: 15px;
}

/* ======================
   移动端响应式适配
====================== */
@media (max-width: 1200px) {
    .header-top {
        gap: 15px;
    }
    .search-wrapper {
        min-width: 220px;
    }
}

/* 平板 */
@media (max-width: 992px) {
    .nav > ul {
        gap: 2px;
    }
    .nav > ul > li > a {
        padding: 6px 10px;
        font-size: 14px;
    }
    .search-wrapper {
        min-width: 200px;
    }
}

/* 手机端切换按钮栏 */
.mobile-toggle-bar {
    display: none;
    width: 100%;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.toggle-btn {
    padding: 6px 15px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover, .toggle-btn.active {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .header-top {
        padding: 10px 0;
        justify-content: center;
        gap: 10px;
    }

    .mobile-toggle-bar {
        display: flex;
        order: 2;
    }

    .logo {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .nav {
        display: block;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        overflow-y: auto;
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        order: 3;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav > ul > li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav > ul > li > a {
        width: 100%;
        padding: 12px 20px;
        justify-content: space-between;
        border-radius: 0;
    }

    .nav .submenu {
        position: static !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        padding: 5px 0 10px 20px !important;
        background: #fafafa !important;
        min-width: 100% !important;
        transition: none !important;
    }

    .nav .submenu li {
        border-bottom: none !important;
        width: 48%;
        display: inline-block;
    }

    .nav .submenu li a {
        padding: 8px 20px !important;
        font-size: 13px;
        color: #666;
        background: transparent !important;
    }

    .nav .submenu li a:hover,
    .nav .submenu li a.active {
        color: var(--primary-color) !important;
    }

    /* 遮罩层 */
    .mobile-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
    }

    .mobile-backdrop.active {
        display: block;
    }

    .search-wrapper {
        display: none;
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
        min-width: unset;
    }

    .search-wrapper.active {
        display: block;
    }

    .user-info {
        display: none;
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 15px 0;
        background: #f9f9f9;
        border-radius: var(--radius);
        margin: 10px 0;
    }

    .user-info.active {
        display: flex;
    }

    .mac_history {
        display: none;
        order: 3;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        margin: 10px 0;
    }

    .mac_history.active {
        display: block;
    }

    .mac_history.active .mac_history_box {
        display: block !important;
    }

    .mac_history #history {
        width: 100%;
        padding: 10px;
        background: var(--bg-gray);
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 36px;
    }
    .search-box {
        gap: 4px;
    }
    .mac_search {
        padding: 8px 12px;
    }
}

/* ===================================
   Banner轮播
   =================================== */
.banner {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--bg-gray);
    margin: 30px 0px;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.banner-item.active {
    opacity: 1;
    display: block;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.banner-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.banner-content p {
    font-size: 14px;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    opacity: 0;
}

.banner:hover .banner-arrow {
    opacity: 1;
}

.banner-arrow:hover {
    background: var(--primary-color);
}

.banner-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.banner-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

/* ===================================
   区域标题
   =================================== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
}

.section-title h2 {
    font-size: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.section-title h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.section-more {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-more:hover {
    color: var(--primary-color);
}

/* ===================================
   排序按钮组
   =================================== */
.sort-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 8px 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.sort-btn:hover,
.sort-btn.active,
.sort-btn.current {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   视频卡片网格
   =================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* 视频卡片 */
.video-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.video-card .pic {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.video-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .pic img {
    transform: scale(1.05);
}

.video-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-card .play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

.video-card .info {
    padding: 12px;
}

.video-card .title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.video-card .score {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   文章卡片网格
   =================================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow);
}

.article-card .pic {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .pic img {
    transform: scale(1.05);
}

.article-card .info {
    padding: 16px;
}

.article-card .title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-card .desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-card .meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

/* ===================================
   面包屑导航
   =================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 1px;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1px 20px;
    margin-top: 1px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb li a {
    color: var(--text-secondary);
}

.breadcrumb li a:hover {
    color: var(--primary-color);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: var(--border-color);
}

.breadcrumb li:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================
   筛选标签
   =================================== */
.filter-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 5px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    align-items: center;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    width: 60px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 6px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   分页样式
   =================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination span {
    font-size: 14px;
    color: var(--text-secondary);
    margin-right: 16px;
}

.pagination a {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===================================
   详情页样式
   =================================== */
.detail-header {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: flex;
}

.detail-cover {
    width: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.detail-cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-info {
    flex: 1;
    padding-left: 30px;
}

.detail-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-meta-item .label {
    color: var(--text-light);
}

.detail-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-tag {
    padding: 4px 12px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
}
.content{
    line-height: 1.8; font-size: 16px; color: var(--text-primary);
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
/* 详情页播放按钮 */
.detail-play-btn {
    margin-top: 20px;
    justify-content: flex-start;
	text-align: center;
	margin-bottom: 10px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin-right: 10px;
}

.btn-play:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-play .play-icon {
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
}

/* 收藏按钮 */
.mac_ulog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--bg-gray);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.mac_ulog:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 播放器容器 */
.player-wrapper {
    margin-bottom: 30px;
}

/* 播放器标题区域 */
.player-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* 播放器上方的简介信息 */
.player-wrapper > .player-info {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.player-wrapper > .player-info .player-title {
    margin-bottom: 12px;
}

/* 播放器元数据 */
.player-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.player-meta .meta-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.player-meta .meta-item .label {
    color: var(--text-light);
    margin-right: 4px;
}

.player-meta .meta-item a {
    color: var(--text-primary);
    font-weight: 500;
}

.player-meta .meta-item a:hover {
    color: var(--primary-color);
}

/* 播放器下方的详细信息 */
.player-wrapper + .player-info {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.player-wrapper + .player-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.player-wrapper + .player-info .player-meta {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.player-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.player-container {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow);
}

/* 播放列表 */
.play-list {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
}

.play-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.play-list h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-list h4 span {
    color: var(--text-light);
    font-size: 13px;
    margin-left: 8px;
}

/* 播放源 */
.play-source {
    margin-bottom: 20px;
}

.play-source:last-child {
    margin-bottom: 0;
}

.play-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.play-tab {
    padding: 8px 20px;
    background: var(--bg-gray);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.play-tab:hover,
.play-tab.active {
    background: var(--primary-color);
    color: white;
}

.play-episodes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.play-episode {
    padding: 8px 20px;
    background: var(--bg-gray);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.play-episode:hover,
.play-episode.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===================================
   演员卡片
   =================================== */
.actor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}
.actor-grid-250{
	 grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.actor-card {
    text-align: center;
	background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
	position:relative;
}

.actor-card .pic {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.actor-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.actor-card:hover .pic img {
    transform: scale(1.1);
}

.actor-card .name {
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	position:absolute;
	bottom:0px;
	bottom: 0px;
    left: 0px;
    background: rgba(245, 158, 11, 0.9);
    width: 100%;
	line-height:40px;
}

/* ===================================
   专题卡片
   =================================== */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.topic-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.topic-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.topic-card .pic {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.topic-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-card .info {
    padding: 16px;
}

.topic-card .title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.topic-card .meta {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===================================
   排行榜
   =================================== */
.phb{
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
}
.phb-item{
    flex: 1 1 25%;
}
.rank-list {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 16px;
}

.rank-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.rank-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 10px;
    width: 100%;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-num {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
    background: var(--primary-color);
    color: white;
}

.rank-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-title {
    font-size: 14px;
    color: var(--text-primary);
}

.rank-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.rank-title a:hover {
    color: var(--primary-color);
}

.rank-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===================================
   友情链接
   =================================== */
.friend-links {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 40px;
}

.friend-links h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.friend-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.friend-link-item {
    padding: 6px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.friend-link-item:hover {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   苹果CMS评论区样式
   =================================== */
.mac_comment {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
}

/* 评论表单 */
.cmt_form {
    margin-bottom: 20px;
}

.comment_form {
    padding: 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}


/* 


.input_wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.comment_content {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
    background: var(--bg-white);
}

.comment_content:focus {
    border-color: var(--primary-color);
    outline: none;
}

 表单操作栏 
.handle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

 表情按钮 
.comment_face_panel,
.face {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    position: relative;
}

.comment_face_panel:hover,
.face:hover {
    border-color: var(--primary-color);
}

 表情面板 
.comment_face_box,
.face-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 320px;
    max-height: 200px;
    padding: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    gap: 8px;
    flex-wrap: wrap;
    overflow-y: auto;
    margin-top: 8px;
}

.comment_face_box.show,
.face-box.show {
    display: flex;
}

.comment_face_box img,
.face-box img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: var(--transition);
    padding: 2px;
    border-radius: var(--radius-sm);
	display:inline-block;
}

.comment_face_box img:hover,
.face-box img:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

 剩余字数 
.remaining-w {
    font-size: 13px;
    color: var(--text-secondary);
}

.comment_remaining {
    color: var(--primary-color);
    font-weight: 600;
}

 提交按钮组 
.smt {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mac_verify , .cmt_text {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    width: 100px;
    transition: var(--transition);
}

.mac_verify:focus {
    border-color: var(--primary-color);
    outline: none;
}

.comment_submit {
    padding: 8px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.comment_submit:hover {
    background: var(--primary-hover);
}*/

/* 评论列表包裹 */
.cmt_wrap {
    margin-top: 20px;
}

/* 评论列表项 */
.cmt_item {
    display: flex;
    padding: 20px;
    margin-bottom: 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cmt_item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.cmt_item:last-child {
    margin-bottom: 0;
}

/* 用户头像 */
.face_wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.face_wrap .face {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

/* 评论内容区 */
.item_con {
    flex: 1;
    min-width: 0;
    margin-left: 12px;
}

.item_con .top {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.item_con .top .name {
    color: var(--text-primary);
    font-weight: 500;
    margin-right: 8px;
}

.item_con .top .name:hover {
    color: var(--primary-color);
}

.item_con .top .fr {
    color: var(--text-light);
}

/* 评论正文 */
.item_con .con {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    word-break: break-all;
}

/* 评论操作栏 */
.gw-action {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 点赞踩 */
.click-ding-gw {
    display: flex;
    align-items: center;
    gap: 8px;
}

.digg_link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.digg_link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.digg_link i {
    font-size: 14px;
}

.digg_num {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 回复按钮 */
.comment_reply,
.comment_report {
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
}

.comment_reply:hover,
.comment_report:hover {
    color: var(--primary-color);
}

.smt_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 16px;
}

.total {
    font-size: 14px;
    color: var(--text-secondary);
}

.total em {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
    margin: 0 4px;
}

/* 分页 */
.mac_pages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.page_tip {
    font-size: 14px;
    color: var(--text-secondary);
}

.page_info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page_link {
    padding: 6px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.page_link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page_input {
    width: 50px;
    padding: 6px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}

.page_input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.page_btn {
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.page_btn:hover {
    background: var(--primary-hover);
}

/* ===================================
   返回顶部
   =================================== */
.back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
}

/* ===================================
   底部样式
   =================================== */
.footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    margin-bottom: 10px;
    color: #9ca3af;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* ===================================
   响应式设置
   =================================== */

/* 平板设备 */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }

    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .detail-cover {
        width: 200px;
    }

    .detail-title {
        font-size: 24px;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: auto;
    }

    .header-top {
        flex-direction: column;
        gap: 1px;
    }

    .search-box {
        width: 100%;
    }

    .mac_wd {
        width: 100%;
    }

    .banner {
        height: 280px;
    }

    .banner-content {
        padding: 20px;
    }

    .banner-content h2 {
        font-size: 20px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .actor-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .detail-header {
        flex-direction: column;
        padding: 20px;
    }

    .detail-cover {
        width: 160px;
        margin: 0 auto;
    }

    .detail-info {
        padding-left: 0;
        padding-top: 20px;
    }

    .detail-title {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-label {
        width: auto;
    }

    .back-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .header-top {
        align-items: flex-start;
    }

    .logo {
        width: 100%;
    }

    .logo img {
        height: 32px;
    }

    .nav ul {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .nav > ul > li > a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .nav > ul > li.has-submenu > a .dropdown-icon {
        font-size: 8px;
    }

    .search-wrapper {
        width: 100%;
    }

    .mac_search {
        width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-card .info {
        padding: 10px;
    }

    .video-card .title {
        font-size: 13px;
    }

    .section-title h2 {
        font-size: 18px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ===================================
   动画效果
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ===================================
   工具类
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.hidden { display: none !important; }
.show { display: block !important; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.color-primary { color: var(--primary-color); }

.bg-white { background: var(--bg-white); }
.bg-gray { background: var(--bg-gray); }