﻿/* 固定背景图片样式 - 替代CSS背景优化LCP */
.fixed-background-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  /* 确保在最底层 */
  pointer-events: none;
  /* 不阻挡点击事件 */
}
.filter-box {
  background-color: rgba(29, 30, 34, 0.8);
}
.bgOpacity {
  background: -webkit-linear-gradient(90deg, #1c1d21 20%, rgba(28, 29, 33, 0.8) 68%);
  max-width: 768px;
  height: 100%;
  position: fixed;
  z-index: -1;
  left: 50%;
  transform: translate(-50%);
}
/* 为演员页面添加标识类，用于CSS选择器 */
.actor-detail-page {
  /* 标识类，用于父级选择器 */
}
#actordescription {
  font-size: 1.2rem;
  line-clamp: 10 !important;
  -webkit-line-clamp: 10 !important;
}
#actordescription:hover {
  cursor: pointer;
}
#actordescription > div:first-child {
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}
#actordescription > div:first-child p {
  margin-bottom: 0.5rem;
}
#actordescription > div:first-child br {
  display: block;
  content: "";
  margin-bottom: 0.5rem;
}
.actor-top > .container {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  --bs-gutter-x: 0;
  margin-left: 2rem;
  margin-right: 2rem;
  z-index: 10;
}
.detail-actor-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: top;
  padding: 0;
}
.actor-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.2rem;
  padding: 2rem 1rem;
  position: relative;
}
.actor-header img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 40rem;
}
.actor-cover {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.actor-info {}
.actor-info-box {
  margin-top: 3rem;
  margin-bottom: 3rem;
  display: flex;
  font-size: 1.5rem;
}
.actor-info-box section h3, .actor-info-box section h4, .actor-info-box section h5 {
  all: unset;
  font-size: calc(1.275rem + .3vw);
}
.action-menu {}
.action-menu:hover {
  cursor: pointer;
}
.actor-mobile-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.actor-mobile-menu h2 {
  flex: 1;
  margin-right: 0.5rem;
  background-color: rgba(255, 255, 255, .25);
  /*background-color:#ffae00;        */
  text-align: center;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bolder;
  border-radius: 0.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
}
.actormenuselected {
  background-color: #ffae00 !important;
}
.action-menu-notselected {
  border-left-color: rgba(255, 255, 255, 0.4) !important;
  color: rgba(255, 255, 255, 0.4) !important;
}
.action-menu-notselected:hover {
  cursor: pointer;
  border-left-color: red !important;
}
.action-menu-notselected:hover h4 {
  color: white !important;
}
.actor-name-line h5 {
  font-size: 1.5rem;
}
.keyword-container h4 {
  margin-right: 0.25rem !important;
  font-size: 1.2rem !important;
  line-height: 2.1rem !important;
}
.actor-movie {
  position: relative;
  z-index: 10;
}
.movie-more-container:hover {
  cursor: pointer;
  background-color: var(--bg-minor) !important;
}
.year-movie-item {
  position: relative;
  z-index: 10;
  border-radius: 0.5rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.year-movie-item img {
  border-radius: 1rem;
}
.morePictureBox:hover {
  cursor: pointer;
  opacity: 0.1;
}
.movie-filter {}
.movie-filter:hover {
  cursor: pointer;
  background-color: #ad7600;
}
.movie-filter-selected {
  background-color: #ad7600 !important;
}
.sp-tag {
  font-size: 0.8rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-left: 0.5rem;
  padding-right: 5rem;
  background-color: #ff3ba1;
  opacity: 0.7;
  border-radius: 0.3rem;
  position: relative;
}
.sp-tag:hover {
  cursor: pointer;
  opacity: 1;
}
.sp-tag-abi {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4rem;
  background-color: #808080;
  display: flex;
  justify-content: center;
  align-content: center;
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
  display: flex;
  flex-direction: column;
}
.like-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 40, 40, 0.45);
  color: #fff;
  border-radius: 2rem;
  padding: 0.4rem 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-weight: bold;
  min-width: 80px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.like-btn .svg-icon, .like-btn i {
  color: #ff3b3b;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}
.like-btn:hover {
  background: rgba(255, 174, 0, 0.25);
}
.actor-info-box {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 1rem;
}
.item {
  position: relative;
}
.lastitem {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.lastitem h4 {
  margin: 0;
  padding: 0.5rem;
}
.lastitem a {
  color: white;
  text-decoration: none;
}
/* 修复演员详情页的布局问题 - 覆盖list-main的CSS */
.detail-actor-bg .list-main {
  display: block !important;
  justify-content: unset !important;
}
.detail-actor-bg .list-main .row {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.detail-actor-bg .list-main .col-xl-8 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
.detail-actor-bg .list-main .col-xl-4 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
/* Waterfall.js 瀑布流样式 */
#waterfall-container {
  width: 100%;
  padding: 0 5px;
}
.waterfall-item {
  margin-bottom: 10px;
  margin-right: 5px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.waterfall-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.waterfall-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.waterfall-item a {
  display: block;
  text-decoration: none;
}
.picture-item {
  width: calc(50% - 10px) !important;
}
.detail-picture-item {
  width: calc(50% - 10px) !important;
}
.picture-container {
  position: relative;
  max-height: 600px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.picture-container.expanded {
  max-height: none;
}
.expand-more-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.9));
  color: #ffffff;
  text-align: center;
  padding: 30px 10px 15px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}
.expand-more-btn:hover {
  color: #ffae00;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.95));
}
.expand-more-btn svg {
  transition: transform 0.3s ease;
}
.picture-container.expanded .expand-more-btn {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  margin-top: 20px;
  border-radius: 8px;
  padding: 15px 10px;
}
.picture-container.expanded .expand-more-btn svg {
  transform: rotate(180deg);
}
.view-all-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  text-align: center;
  padding: 15px 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  border-radius: 8px;
  margin-top: 20px;
}
.view-all-btn:hover {
  color: #ffae00;
  background: rgba(0, 0, 0, 0.85);
}