
/* ==================== 顶部导航样式 ==================== */
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
}
/* 顶部Logo+搜索 */
.header-top {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Logo */
.logo {
  flex-shrink: 0;
  display: block;
  width: 160px;
  height: 50px;
}
.logo-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #2d78f4;
}
/* 搜索框 */
.hd_search_inline {
  flex: 1;
  max-width: 500px;
}
.hd_search_inline form {
  display: flex;
  width: 100%;
  height: 42px;
}
.hd_in {
  flex: 1;
  padding: 0 15px;
  border: 1px solid #e0e0e0;
  border-right: none;
  border-radius: 42px 0 0 42px;
  outline: none;
  font-size: 14px;
  transition: all 0.2s;
}
.hd_in:focus {
  border-color: #2d78f4;
}
.hd_serbtn {
  width: 80px;
  background: #2d78f4;
  color: #fff;
  border: none;
  border-radius: 0 42px 42px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.hd_serbtn:hover {
  background: #1a5bcb;
}
/* 导航菜单 */
.header-nav {
  background: #2d78f4;
}
.header-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.header-nav li {
  position: relative;
}
.header-nav a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav li.active a {
  background: #1a5bcb;
  text-decoration: none;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    gap: 10px;
  }
  .hd_search_inline {
    max-width: 100%;
    width: 100%;
  }
  .header-nav a {
    padding: 12px 15px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .logo {
    width: 140px;
    height: 45px;
  }
  .header-nav a {
    padding: 10px 12px;
  }
}
/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}
body {
    background: #f5f5f7;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
}
.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    margin: 0 auto;
    overflow: hidden;
}
a {
    text-decoration: none;
    color: #2d78f4;
}
a:hover {
    color: #1a5bcb;
    text-decoration: underline;
}
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
}
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: #2d78f4;
}
.tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f0fe;
    color: #2d78f4;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 面包屑 */
.breadcrumb {
    font-size: 13px;
    color: #999;
    padding: 15px 0;
    width: 100%;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #2d78f4; }
.breadcrumb span { margin: 0 4px; color: #2d78f4; }

/* 面包屑父容器 —— 解决和页面融为一体的问题 */
.breadcrumb-wrapper {
    background: #fafafa;
    border-radius: 8px;
    margin: 10px 0 20px;
    padding: 0 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
/* ==================== 首页幻灯 ==================== */
.slide-container {
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.swiper-wrapper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.swiper-slide {
  width: 100%;
  position: relative;
}
.slide-item {
  display: block;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slide-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-item-title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px 30px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 2;
}
.ewave-nav-name {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.ewave-nav-name em {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}
.ewave-nav-name em.active {
  background: #2d78f4;
}

/* ==================== 全局 ==================== */
.section-header,
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.header-more {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}
.header-more:hover {
  color: #2d78f4;
}

/* ==================== 分类模块 ==================== */
.index-category-group {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.category-title {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.category-title i {
  color: #2d78f4;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.category-tags .tag {
  font-size: 13px;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
}
.category-divider {
  width: 100%;
  height: 1px;
  background: dashed #eee;
  margin: 14px 0;
}

/* ==================== 【首页独立卡片】永不冲突 ==================== */
.index-vod-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap:15px;
}
@media (max-width:1200px){
  .index-vod-grid {
    grid-template-columns: repeat(4,1fr);
  }
}
@media (max-width:768px){
  .index-vod-grid {
    grid-template-columns: repeat(3,1fr);
    gap:12px;
  }
}
.index-vod-grid .recommend-item {
  width:100%;
}
.index-vod-grid .img_container_recommend {
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  border-radius:8px;
  overflow:hidden;
  background:#f5f5f7;
}
.index-vod-grid .img_wrapper_recommend {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* 卡片公共样式（不冲突） */
.vcard-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #2d78f4;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}
.vcard-tags-overlay {
  position: absolute;
  bottom: 6px;
  left: 6px;
  display: flex;
  gap: 4px;
}
.vcard-tag {
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}
.vcard-info {
  margin-top: 8px;
}
.vcard-title {
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vcard-meta {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
/* ========== 详情页核心样式 - 按你的思路最终版 ========== */
.core-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
}

/* 🔥 修复：封面图不再死宽，支持自适应缩小（真凶） */
.poster-wrapper {
    flex: 0 0 auto;
    width: 180px;
    max-width: 35%;
}

.film-meta {
    flex: 1;
    min-width: 0; /* 🔥 关键：允许被压缩，不溢出 */
    max-width: 100%;
}

.film-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tag-group {
    margin-bottom: 14px;
}
.tag {
    background: #e8f0fe;
    color: #2d78f4;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    margin-right: 6px;
    display: inline-block;
}

/* 🔥 按你的要求：删除 meta-label 宽度，自然排版 */
.meta-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.meta-item {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
}
.meta-label {
    color: #888;
    margin-right: 6px;
    white-space: nowrap;
}
.meta-value {
    flex: 1;
    color: #333;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 简介正常排版 */
.film-intro {
    line-height: 1.6;
    font-size: 15px;
    color: #555;
    max-height: 82px;
    overflow: hidden;
    margin-bottom: 6px;
    word-break: break-word;
    width: 100%;
}

.expand-btn {
    color: #2d78f4;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 12px;
    display: none;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.play-btn {
    background: #2d78f4;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.download-btn {
    background: #666;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* 移动端 */
@media (max-width:768px) {
    .core-info {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 15px;
        gap: 15px;
    }
    .poster-wrapper {
        width: 160px;
        max-width: 50%;
        margin: 0 auto;
    }
    .film-title {
        font-size: 20px;
        text-align: center;
    }
    .tag-group {
        text-align: center;
    }
}
/* 演员 & 角色 */
.actor-role-section {
    width: 100%;
    padding: 20px;
    background: #fff;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}
.actor-role-section h2 {
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-left: 8px;
    border-left: 3px solid #e53935;
}
.role-list, .actor-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    width: 100%;
}
.role-item {
    display: block;
    text-align: center;
    color: #333;
}
.role-pic-container {
    position: relative;
    width: 100%;
    padding-top: 140%;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
}
.role-pic {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    object-fit: cover;
}
.role-name {
    font-size: 15px;
    margin: 8px 0 2px;
}
.role-actor-name {
    font-size: 12px;
    color: #999;
}
.actor-item {
    display: block;
    text-align: center;
    color: #333;
}
.actor-pic-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f7;
}
.actor-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.actor-name {
    font-size: 15px;
    margin-top: 8px;
}
@media (max-width:768px) {
    .role-list, .actor-list {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }
    .actor-pic-container {
        width: 80px;
        height: 80px;
    }
}

/* 剧照 */
.stills-section {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 15px 0;
}
.stills-section .section-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-left: 8px;
    border-left: 3px solid #e53935;
    border-bottom: none;
}
.stills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    width: 100%;
}
.still-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f7;
}
.still-img {
    width: 100%;
    height: 100%;
}
.still-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width:992px) {
    .stills-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}
@media (max-width:768px) {
    .stills-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* 剧照弹窗 */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gallery-modal.show {
    display: flex;
}
.gallery-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}
.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}
.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

/* 剧情解析 */
.plot-detail-section {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 15px 0;
}
.plot-detail-section .section-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-left: 8px;
    border-left: 3px solid #e53935;
    border-bottom: none;
}
.plot-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 15px;
}
.plot-more a {
    display: inline-block;
    padding: 7px 20px;
    background: #2d78f4;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

/* 相关资讯 */
.related-art-section {
    width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.art-section-title {
    padding: 15px 20px;
    border-bottom: 1px solid #f2f2f2;
}
.art-section-title h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.art-section-title p {
    font-size: 12px;
    color: #999;
    margin: 5px 0 0;
}
.art-section-content {
    padding: 15px 20px;
}
.post-list {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}
.post-list:last-child { border-bottom:0; }

/* 标题红色高亮 */
.entry-title a {
    font-size:16px;
    font-weight:bold;
    color:#e53935 !important; /* 红色标题 */
    text-decoration: none;
}
.entry-title a:hover {
    color:#c62828 !important; /* 悬停加深 */
}

.entry-meta {
    font-size:12px;
    color:#999;
    margin: 6px 0;
}
.entry-summary p {
    font-size:14px;
    color:#666;
    line-height:1.6;
    margin: 8px 0 0;
}
/* FAQ 问答 */
.faq-section {
    width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-title {
    padding: 15px 20px;
    border-bottom: 1px solid #f2f2f2;
}
.faq-title h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.faq-content {
    padding: 10px 20px;
}
.accordion {
    width: 100%;
}
.accordion-item {
    margin-bottom: 8px;
}
.accordion-question {
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: left;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.accordion-question i {
    transition: transform 0.3s ease;
    font-style: normal;
}
.accordion-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 2px solid #e53935;
    margin: 0 0 12px 15px;
    word-break: break-all;
    white-space: normal;
}
.accordion-answer.active {
    padding: 10px 15px;
    max-height: 1000px;
    overflow: visible;
}
.accordion-answer a {
    color: #2d78f4;
    word-break: break-all;
    margin: 0 4px;
}

/* 观众短评 */
.short-review-section {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 15px 0;
}
.short-review-section .section-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-left: 8px;
    border-left: 3px solid #e53935;
    border-bottom: none;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    gap: 10px;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.comment-body {
    flex: 1;
    min-width: 0;
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.comment-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
.comment-tag,
.comment-time,
.comment-region {
    font-size: 12px;
    color: #999;
    background: none;
    padding: 0;
}
.comment-content {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 6px;
    word-break: break-all;
}
.comment-actions {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
}

/* 相关推荐 */
.related-section {
    width: 100%;
    margin: 25px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
}
.related-title {
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
}
.related-title h2 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin: 0;
}
.related-content {
    padding: 20px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}
.recommend-item {
    width: 100%;
}
.recommend-item a {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}
.img_container_recommend {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
}
.img_wrapper_recommend {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.recommend-item a:hover .img_wrapper_recommend {
    transform: scale(1.05);
}
.vcard-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(229,57,53,0.9);
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;

    /* 👇 以下是新增的修复代码 */
    white-space: nowrap;        /* 强制不换行 */
    overflow: hidden;           /* 超长隐藏 */
    text-overflow: ellipsis;    /* 末尾显示 ... */
    max-width: calc(100% - 16px); /* 不超出图片宽度 */
}
.vcard-tags-overlay {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
}
.vcard-tag {
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
}
.vcard-info {
    padding-top: 10px;
}
.vcard-title {
    font-size: 14px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vcard-meta span {
    font-size: 12px;
    color: #999;
}

/* ========== 最终海报样式 · 电脑 + 移动端 全部正常 ========== */
.poster-wrapper {
    flex: 0 0 240px;
    max-width: 240px;
}
.poster {
    width: 100%;
    height: 340px;
    background-color: #f5f5f7;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* ========== 移动端强制修复 · 封面必显示 ========== */
@media (max-width:768px) {
    .poster-wrapper {
        width: 180px;
        max-width: 180px;
        margin: 0 auto;
    }
    .poster {
        height: 260px !important;
        min-height: 260px !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #f5f5f7 !important;
        display: block !important;
        opacity: 1 !important;
    }
}

/* ========== 角色样式 ========== */
/* 独立父容器 —— 固定整体布局 */
#roleHeroSection {
  margin-bottom: 32px;
  background: #fff;
}
/* 外层布局：居中 + 限制最大宽度 */
#roleHeroSection .wrapper {
  max-width: 820px; /* 控制整个板块1的宽度 */
  margin: 0 auto;
  padding: 0 10px;
}
/* 双卡片容器 */
#roleHeroSection .card-box {
  display: flex;
  gap: 22px;
}
/* 统一卡片：缩小、精致、对称 */
#roleHeroSection .card {
  flex: 1;
  background: #e8f0fe;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 图片：更小比例，不变形 */
#roleHeroSection .img-box {
  width: 300px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f6;
  margin-bottom: 14px;
}
#roleHeroSection .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 文字：精致不臃肿 */
#roleHeroSection .role-title {
  font-size: 20px;
  font-weight: bold;
  color: #e53935;
  margin: 0 0 4px;
}
#roleHeroSection .role-actor {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
#roleHeroSection .role-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}
#roleHeroSection .video-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin: 0 0 8px;
}
#roleHeroSection .video-tag {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
#roleHeroSection .video-btn {
  margin-top: 12px;
  padding: 7px 16px;
  background: #ff3c25;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
}
/* 移动端 */
@media (max-width: 768px) {
  #roleHeroSection .card-box {
    flex-direction: column;
  }
  #roleHeroSection .img-box {
    width: 175px;
  }
}
/* ========== 角色样式结束 ========== */
/* ========== 懒加载统一样式 —— 你成功时的版本 ========== */
.lazyload {
  background-color: #f5f5f7 !important;
}
img.lazyload {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.poster.lazyload {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
