/* ==================== 列表页公共：筛选与分页 (独一无二命名) ==================== */
.diaopo-filter-section { 
    background: #161a22; 
    border: 1px solid #2a2e38; 
    border-radius: 12px; 
    padding: 20px 30px; 
    width: 100%; 
    max-width: 1600px; 
    margin: 30px auto; 
    box-sizing: border-box;
}
.diaopo-filter-row { 
    display: flex; 
    align-items: center; 
    padding: 12px 0; 
    border-bottom: 1px dashed #2a2e38; 
}
.diaopo-filter-row:last-child { 
    border-bottom: none; 
    padding-bottom: 0; 
}
.diaopo-filter-label { 
    color: #8b949e; 
    font-size: 14px; 
    width: 60px; 
    flex-shrink: 0; 
    font-weight: bold; 
    text-align: right; 
    padding-right: 15px; 
}
.diaopo-filter-links { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
}
.diaopo-filter-links a { 
    color: #c9d1d9; 
    font-size: 13px; 
    padding: 6px 14px; 
    border-radius: 4px; 
    background: #1e232d; 
    transition: all 0.3s; 
    text-decoration: none; 
}
.diaopo-filter-links a:hover, .diaopo-filter-links a.active { 
    background: #e50914; 
    color: #fff; 
    font-weight: bold; 
}

/* 分页 (独一无二命名) */
.diaopo-page-nav { text-align: center; margin: 40px 0; font-size: 14px; }
.diaopo-page-nav a, .diaopo-page-nav b { 
    display: inline-block; padding: 6px 14px; margin: 0 4px; 
    border: 1px solid #2a2e38; border-radius: 6px; 
    color: #c9d1d9; text-decoration: none; transition: all 0.3s; 
}
.diaopo-page-nav a:hover, .diaopo-page-nav b { background: #e50914; color: #fff; border-color: #e50914; }

/* ==================== 电影列表页专属 (独一无二命名) ==================== */
.diaopo-movie-list-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin-bottom: 50px; }
.diaopo-movie-item { text-decoration: none; display: block; transition: transform 0.3s; }
.diaopo-movie-item:hover { transform: translateY(-5px); }
.diaopo-movie-card { background: #1a1f29; border: 1px solid #2a2e38; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: border-color 0.3s; }
.diaopo-movie-item:hover .diaopo-movie-card { border-color: #e50914; box-shadow: 0 8px 20px rgba(229,9,20,0.15); }
.diaopo-movie-poster { position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; background: #161a22; }
.diaopo-movie-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.diaopo-movie-item:hover .diaopo-movie-poster img { transform: scale(1.05); }
.diaopo-movie-score-badge { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, 0.8); color: #f39c12; font-size: 12px; font-weight: bold; padding: 3px 6px; border-radius: 4px; backdrop-filter: blur(4px); }
.diaopo-movie-info { padding: 12px; flex-grow: 1; }
.diaopo-movie-name { color: #fff; font-size: 15px; font-weight: bold; margin: 0 0 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diaopo-movie-meta-list { color: #8b949e; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==================== 明星列表页专属 (独一无二命名) ==================== */
.diaopo-star-list-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px; 
    margin-bottom: 80px; 
    padding-bottom: 20px; 
    position: relative;
    z-index: 10;
}
.diaopo-star-item { 
    text-decoration: none; 
    display: block; 
    transition: transform 0.3s; 
    margin-bottom: 20px; 
}
.diaopo-star-item:hover { transform: translateY(-5px); }
.diaopo-star-card {
    background: #1a1f29; border: 1px solid #2a2e38; border-radius: 12px;
    padding: 12px; text-align: center; display: flex; flex-direction: column; height: 100%;
    transition: all 0.3s;
}
.diaopo-star-item:hover .diaopo-star-card { border-color: #e50914; box-shadow: 0 8px 20px rgba(229,9,20,0.15); }
.diaopo-star-avatar { 
    width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; 
    background: #1f2937; overflow: hidden; margin-bottom: 10px;
}
.diaopo-star-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.diaopo-star-item:hover .diaopo-star-avatar img { transform: scale(1.05); }
.diaopo-star-info { text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.diaopo-star-name { color: #fff; font-size: 15px; font-weight: bold; margin: 0 0 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diaopo-star-en-name { font-size: 12px; color: #6b7280; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diaopo-star-rep { font-size: 12px; color: #9ca3af; background: #1f2937; padding: 2px 8px; border-radius: 4px; display: inline-block; margin: 0 auto; }

/* ==================== 列表页响应式自适应 (独一无二命名) ==================== */
@media (max-width: 1600px) { .diaopo-movie-list-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 1400px) { 
    .diaopo-movie-list-grid { grid-template-columns: repeat(5, 1fr); } 
    .diaopo-star-list-grid { grid-template-columns: repeat(5, 1fr); } 
}
@media (max-width: 1200px) { 
    .diaopo-movie-list-grid { grid-template-columns: repeat(4, 1fr); } 
    .diaopo-star-list-grid { grid-template-columns: repeat(4, 1fr); } 
}
@media (max-width: 992px) { 
    .diaopo-movie-list-grid { grid-template-columns: repeat(3, 1fr); } 
    .diaopo-star-list-grid { grid-template-columns: repeat(3, 1fr); } 
}
@media (max-width: 768px) {
    .diaopo-movie-list-grid, .diaopo-star-list-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .diaopo-filter-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .diaopo-star-card { padding: 8px; }
}
@media (max-width: 480px) {
    .diaopo-movie-list-grid, .diaopo-star-list-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== 情绪处方档案馆专属样式 ==================== */
.mood-header { text-align: center; margin-bottom: 40px; }
.mood-header h1 { font-size: 32px; color: #fff; font-weight: 900; margin-bottom: 10px; margin-top: 0; }
.mood-header p { color: #6b7280; font-size: 15px; margin: 0; }

/* 标签筛选区 */
.mood-filters { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.mood-filters a { padding: 8px 20px; border-radius: 30px; text-decoration: none; font-size: 14px; transition: all 0.3s; background: #161a22; border: 1px solid #374151; color: #d1d5db; }
.mood-filters a:hover, .mood-filters a.active { background: rgba(229,9,20,0.1); border-color: #e50914; color: #e50914; font-weight: bold; }

/* 列表容器 */
.mood-list { display: flex; flex-direction: column; gap: 20px; }

/* 单个卡片 */
.mood-card { background: #161a22; border: 1px solid #2a2e38; border-radius: 12px; padding: 25px; display: flex; gap: 25px; transition: transform 0.3s, border-color 0.3s; }
.mood-card:hover { transform: translateY(-3px); border-color: #4b5563; }

/* 左侧日期栏 */
.mood-date-box { width: 120px; flex-shrink: 0; border-right: 1px dashed #374151; padding-right: 20px; text-align: center; }
.mood-date-day { font-size: 36px; font-weight: 900; color: #e50914; line-height: 1; }
.mood-date-mon { font-size: 13px; color: #6b7280; margin-top: 4px; }
.mood-date-no { font-size: 12px; color: #4b5563; margin-top: 15px; }

/* 右侧内容区 */
.mood-content-area { flex: 1; display: flex; gap: 20px; }
.mood-poster { flex-shrink: 0; }
.mood-poster img { width: 80px; height: 110px; object-fit: cover; border-radius: 6px; }

.mood-text-area { flex: 1; }
.mood-title { font-size: 20px; font-weight: bold; margin-bottom: 10px; margin-top: 0; }
.mood-title a { color: #fff; text-decoration: none; transition: color 0.3s; }
.mood-title a:hover { color: #e50914; }
.mood-desc { font-size: 14px; color: #9ca3af; margin-bottom: 15px; line-height: 1.7; }
.mood-desc a { color: #3b82f6; text-decoration: none; margin-left: 5px; }

/* 底部标签 */
.mood-tags-wrap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mood-tag-blue { background: rgba(59,130,246,0.1); color: #60a5fa; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.mood-tag-red { background: rgba(229,9,20,0.1); color: #e50914; padding: 3px 10px; border-radius: 4px; font-size: 12px; text-decoration: none; font-weight: bold; }

/* 分页 */
.mood-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.mood-pagination a { padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 14px; background: #161a22; border: 1px solid #374151; color: #d1d5db; transition: all 0.3s; }
.mood-pagination a:hover, .mood-pagination a.active { background: #e50914; border-color: #e50914; color: #fff; font-weight: bold; }

/* 手机端自适应 */
@media (max-width: 768px) {
    .mood-card { flex-direction: column; padding: 15px; gap: 15px; }
    .mood-date-box { width: 100%; border-right: none; border-bottom: 1px dashed #374151; padding-right: 0; padding-bottom: 10px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
    .mood-date-day { font-size: 24px; }
    .mood-date-mon { margin-top: 0; }
    .mood-date-no { margin-top: 0; }
    .mood-content-area { flex-direction: column; }
    .mood-poster { width: 100%; }
    .mood-poster img { width: 100%; height: 200px; }
}

/* ==================== 专题列表页专属样式 (上下结构+间距优化) ==================== */
.diaopo-topic-header { 
    max-width: 1600px; 
    margin: 40px auto 30px; 
    padding: 0 20px; 
}
.diaopo-topic-header h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 10px 0;
}
.diaopo-topic-header p { 
    color: #9ca3af; 
    font-size: 16px; 
    margin: 0; 
}

/* 网格：一排4个，卡片间距 25px */
.diaopo-topic-list { 
    max-width: 1600px; 
    margin: 0 auto 60px; /* 底部留出大空间 */
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; /* 这里就是你要的卡片之间的间距 */
}

/* 卡片本体 */
.diaopo-topic-card { 
    background: #161a22; 
    border: 1px solid #2a2e38; 
    border-radius: 12px; 
    overflow: hidden;
    text-decoration: none;
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s ease; 
}
.diaopo-topic-card:hover { 
    border-color: #e50914; 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.15); 
}

/* 图片区域 */
.diaopo-topic-imgbox { 
    width: 100%; 
    aspect-ratio: 16 / 9; /* 16:9图片比例 */
    overflow: hidden; 
    background: #2a2e38;
}
.diaopo-topic-imgbox img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}
.diaopo-topic-card:hover .diaopo-topic-imgbox img { 
    transform: scale(1.05); 
}

/* 文字区域：内边距就是文字和边框的间距 */
.diaopo-topic-info {
    padding: 20px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.diaopo-topic-title { 
    font-size: 18px; 
    color: #fff; 
    font-weight: bold; 
    margin: 0 0 10px 0; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.diaopo-topic-desc { 
    font-size: 14px; 
    color: #9ca3af; 
    line-height: 1.6; 
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 简介最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 响应式自适应 ==================== */
/* 平板横屏 */
@media (max-width: 1400px) { 
    .diaopo-topic-list { grid-template-columns: repeat(3, 1fr); } 
}
/* 平板竖屏 */
@media (max-width: 992px) { 
    .diaopo-topic-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } 
    .diaopo-topic-header h1 { font-size: 26px; }
    .diaopo-topic-title { font-size: 16px; }
}
/* 手机端 */
@media (max-width: 768px) {
    .diaopo-topic-list { grid-template-columns: 1fr; gap: 15px; }
    .diaopo-topic-info { padding: 15px; }
    .diaopo-topic-header { margin-top: 20px; text-align: center; }
}


/* ==================== 导演时间线专属样式 ==================== */
.diaopo-timeline-header {
    max-width: 1600px;
    margin: 40px auto 30px;
    padding: 0 20px;
    text-align: center;
}
.diaopo-timeline-header h1 {
    font-size: 32px;
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
}
.diaopo-timeline-header p {
    color: #9ca3af;
    font-size: 16px;
    margin: 0;
}

/* 导演卡片网格：PC端一排6个 */
.diaopo-timeline-grid {
    max-width: 1600px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 一排6个 */
    gap: 20px;
}

/* 单个导演卡片 */
.diaopo-timeline-card {
    background: #161a22;
    border: 1px solid #2a2e38;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.diaopo-timeline-card:hover {
    border-color: #e50914;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.15);
}

/* 导演头像：圆形，带边框 */
.diaopo-timeline-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #374151;
    background: #1f2937;
}
.diaopo-timeline-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.diaopo-timeline-card:hover .diaopo-timeline-avatar img {
    transform: scale(1.1);
}

.diaopo-timeline-name {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.diaopo-timeline-desc {
    color: #8b949e;
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* 底部小链接模块 */
.diaopo-timeline-links {
    max-width: 1600px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.diaopo-link-box {
    background: #161a22;
    border: 1px solid #2a2e38;
    border-radius: 12px;
    padding: 20px;
}
.diaopo-link-box h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 15px 0;
    border-bottom: 1px dashed #2a2e38;
    padding-bottom: 10px;
}
.diaopo-link-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.diaopo-link-box li {
    margin-bottom: 10px;
}
.diaopo-link-box a {
    color: #c9d1d9;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.diaopo-link-box a:hover {
    color: #e50914;
}

/* ==================== 响应式自适应 ==================== */
@media (max-width: 1400px) {
    .diaopo-timeline-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1200px) {
    .diaopo-timeline-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .diaopo-timeline-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .diaopo-timeline-links { grid-template-columns: 1fr; }
    .diaopo-timeline-header h1 { font-size: 26px; }
}
@media (max-width: 768px) {
    .diaopo-timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .diaopo-timeline-card { padding: 15px; }
    .diaopo-timeline-avatar { width: 70px; height: 70px; margin-bottom: 10px; }
    .diaopo-timeline-name { font-size: 14px; }
    .diaopo-timeline-desc { font-size: 11px; }
}