:root {
  --bg-default: #121418;
  --bg-default-2: #1d1e22;
  --bg-minor: #31353d;
  --bg-main: #ffae00;
  --pg-main: #ffae00;
  --pg-secondary: rgba(220, 53, 69, 1);
  --bg-tag-minor: #333;
  --fg-light1: rgba(255, 255, 255, 0.8);
  --fg-light2: rgba(255, 255, 255, 0.7);
  --fg-light3: rgba(255, 255, 255, 0.6);
  --fg-light4: rgba(255, 255, 255, 0.5);
  --fg-light5: rgba(255, 255, 255, 0.4);
  --fg-black: black;
  /* 默认Header高度 */
  --header-height: 5rem;
  /* 响应式Header高度变量 - 可以根据需要调整 */
  --header-height-tablet: 3.5rem;
  --header-height-desktop: 3.5rem;
  /* 内容区域的顶部间距 */
  --content-top-spacing: 0.5rem;
  --content-top-spacing-desktop: 1rem;
}
:root {
  --bg-color-1: #121212;
  --bg-color-2: #25252b;
  --bg-color-3: #32323c;
  --text-color-1: #f0f0f0;
  --text-color-2: #cccccc;
  --text-color-3: #ffffff;
  --theme-shadow: 3px 3px 5px 0 var(--bg-color-1);
  --theme-color: #ffae00; /*主题彩色*/
  --theme-color-1: var(--theme-color); /*主题彩色*/
  --theme-color-2: #ff6929;
  --theme-color-3: #1bc4e2;
  --theme-color-4: #00b53e;
  --theme-text-color: #ffffff; /*主题色块上的字体色*/
  --theme-highlight-color: #e9754c; /*主题色上的对比强调色*/
  --theme-padding: 15px;
  --theme-gap: 15px;
  --swiper-theme-color: var(--theme-color);
}
@media(max-width:767.9px) {
  :root {
    --theme-padding: 10px;
    --theme-gap: 10px;
  }
}
@media(max-width:575.9px) {
  :root {
    --theme-padding: 5px;
  }
}
.mt-10 {
  margin-top: 6rem;
}
html {
  position: relative;
  min-height: 100vh;
  /* font-size: 14px; */
  /* 小不低于 8 px，大不超过 16 px，其他按视口线性缩放 */
  font-size: clamp(8px, 3.2vw, 16px);
}
body {
  display: flex;
  flex-direction: column;
  color: white;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a {
  text-decoration: none;
  color: inherit;
}
/*
    颜色样式
*/
/*  背景颜色 */
.bg-default {
  background-color: var(--bg-default);
}
.bg-default-2 {
  background-color: var(--bg-default-2);
}
.bg-minor {
  background-color: var(--bg-minor);
}
.bg-black {
  background-color: var(--fg-black);
}
.bg-main {
  background-color: var(--bg-main);
  /*background-color: #ad7600!important;*/
  color: #fff;
  border: 0;
}
.bg-secondary {
  background-color: var(--pg-secondary) !important;
  color: #fff !important;
}
.bg-lightyellow {
  background-color: var(--bg-main) !important;
}
.bg-opacity-2 {
  background-color: #16181c;
}
.bgOpacity {
  width: 100vw;
  /*height: 100vh;*/
  height: 100%;
  position: fixed;
  background: -webkit-linear-gradient(90deg, #1c1d21 40%, rgba(28, 29, 33, 0.8) 68%);
}
.pb-box {
  padding-bottom: 10rem;
}
.body-container {
  z-index: 100;
  position: relative;
}
.fg-main {
  color: #ffae00;
}
.fg-black {
  color: black;
}
.fg-black-1 {
  color: rgba(0, 0, 0, 0.8) !important;
}
.fg-light1 {
  color: var(--fg-light1);
}
.fg-light2 {
  color: var(--fg-light2);
}
.fg-light3 {
  color: var(--fg-light3);
}
.fg-light4 {
  color: var(--fg-light4);
}
.fg-light5 {
  color: var(--fg-light5);
}
.hover-box:hover {
  cursor: pointer;
}
.whitehover:hover {
  color: white !important;
  cursor: pointer;
}
/*
    输入框及按钮
*/
.input-group-header {
  width: 15rem;
  max-width: 15rem;
  min-width: 8rem;
}
.btn-primary {
  height: 100%;
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
}
.btn-primary:hover {
  cursor: pointer;
  background-color: #ffd618;
}
.btn-half-radius {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.round-radius {
  border-radius: 0.5rem;
}
/*
    標簽
*/
/*
    文本控制 
*/
.two-line-truncate {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.three-line-truncate {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
/*
    SVG样式
*/
.svg-icon {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}
.svg-icon:hover {
  cursor: pointer;
  color: #ffd618;
}
.svg-icon-favorite {
  color: red;
}
/*
    重点行
*/
.title-line {
  border-left: 5px solid red;
  font-size: 1.5rem;
}
.text-line-height {
  line-height: 1.7;
}
.box-top {
  display: flex;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
/*
    分頁
*/
.pagination {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  list-style: none;
  border-radius: 0.25rem;
}
.page-link {
  cursor: pointer;
  color: inherit;
  background-color: transparent;
  border: none;
  padding: 0.2rem 0.5rem;
  margin: 0 0.25rem;
  transition: all .3s ease;
  position: relative;
  display: block;
  line-height: 1.25;
  border-radius: 0.5rem;
}
.page-link.active {
  background-color: #ffc107;
  color: black;
}
/*
    列表
*/
.list-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 2rem;
  /* min-height: 80rem; */
  position: relative;
  gap: 3rem;
  max-width: 100%;
}
.list-main > .left {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.list-main > .right {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  width: 450px;
}
.list-full {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  min-height: 80rem;
  position: relative;
  ;
  max-width: 100%;
}
.page-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.list-main > .right {
  display: none;
}
/**/
/*
    影片
*/
.movie-box-default {
  display: flex;
  position: relative;
  height: auto !important;
  /*height:16rem;*/
}
.movie-box-default > img {
  /*height:16rem;*/
}
.movie-time-span {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.4rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.movie-play-layer {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
}
/*
    Filter
*/
.list-filter {}
.list-filter:hover {
  cursor: pointer;
  background-color: #ad7600;
}
.list-filter-selected {
  background-color: #ad7600 !important;
}
/*
    條款
*/
.terms-h5 {
  font-size: 1rem;
  color: #999;
  margin-top: 0.2rem;
  margin-bottom: 2rem;
}
.terms-content {
  font-size: 1rem;
  color: #999;
  margin-top: 0.2rem;
  margin-bottom: 2rem;
  line-height: 2rem;
}
/*
    底部查找按鈕
*/
.bottom-search-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto !important;
  width: 3rem;
  height: 3rem;
  border-radius: 5rem;
  z-index: 100;
}
.main-container {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
@media (min-width:751px) {
  .main-container {
    width: 750px;
  }
}
@media (max-width:479px) {
  .body-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.rating-container {
  display: flex;
  align-items: center;
  gap: 2px;
  /* 移除图标之间的间距 */
  line-height: 1;
  height: 19.2px;
}
.score-icon {
  font-size: 1.2rem;
  color: #ffd700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 19.2px;
  width: 16px;
  /* 减少宽度让图标更紧凑 */
  letter-spacing: -0.05em;
  /* 让图标内部符号更紧凑 */
}
.score-label {
  margin-left: 0.2rem;
  color: #ffd700;
  display: inline-flex;
  align-items: center;
  line-height: 19.2px;
  height: 19.2px;
}
/* Grid 容器样式 */
.movie-grid-new {
  display: grid;
  gap: 1.5rem;
  row-gap: 2rem;
  width: 100%;
  padding: 0;
  margin: 0;
}
/* 单个影片项目样式 */
.movie-grid-new .mgn-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0; /* 关键：允许项目缩小到比内容更小 */
}
/* 影片封面容器 - 3:2 宽高比 */
.movie-grid-new .mgn-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  padding-top: 66.67%; /* 3:2 宽高比 */
}
.movie-grid-new-2 .mgn-box {
  padding-top: 50%;
}
/* 影片图片容器 */
.movie-grid-new .mgn-picture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #5c0c14;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
/* 封面图片样式 */
.movie-grid-new .mgn-box .mgn-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
  transition: transform 0.3s ease;
}
.movie-grid-new .mgn-box .mgn-cover:hover {
  transform: scale(1.2);
}
/* 无封面时的样式 */
.movie-grid-new .mgn-nocover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #5c0c14;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
.movie-grid-new .mgn-nocover img {
  width: 40%;
  height: 60%;
  max-width: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.movie-grid-new .mgn-nocover-text {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  width: 100%;
  display: block;
  font-family: 'Noto Serif TC', serif;
  color: rgb(226, 60, 76);
  font-size: 1.2rem;
  margin-top: 0rem;
  font-weight: 900;
  letter-spacing: 2px;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}
/* 底部遮罩层样式 */
.movie-grid-new .mgn-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
/* 演员列表样式 */
.movie-grid-new .mgn-actress {
  display: flex;
  font-size: 0.9rem;
  gap: 0.2rem;
}
.movie-grid-new .mgn-actress a {
  color: #fff;
  text-decoration: none;
}
.movie-grid-new .mgn-actress a:hover {
  text-decoration: underline;
}
/* 徽章样式 */
.movie-grid-new .mgn-badges {
  display: flex;
  gap: 8px;
}
/* 标题样式 */
.movie-grid-new .mgn-title {
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%; /* 明确设置宽度 */
}
.movie-grid-new .mgn-title a {
  text-decoration: none;
  color: inherit;
}
.movie-grid-new .mgn-title a:hover {
  text-decoration: underline;
}
/* 徽章样式 - 自定义实现 */
.movie-grid-new .mgn-badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
}
.movie-grid-new .mgn-badge-year {
  background-color: #000;
}
.movie-grid-new .mgn-badge-type {
  background-color: #dc3545;
}
/* 信息栏样式 */
.movie-grid-new .mgn-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.movie-grid-new .mgn-rating {}
.movie-grid-new .mgn-date {
  color: var(--fg-light3);
  font-size: 0.875rem;
  white-space: nowrap; /* 防止换行 */
  overflow: visible; /* 确保内容完整显示 */
  flex-shrink: 0; /* 防止被压缩 */
  min-width: max-content; /* 确保有足够宽度显示内容 */
  position: relative; /* 防止移位 */
  display: inline-flex; /* 使用inline-flex确保稳定显示 */
  align-items: center; /* 垂直居中对齐 */
}
.movie-grid-new .mgn-icon-calendar {
  margin-right: 0.25rem;
}
/* 移除 Bootstrap 的 margin-bottom */
.movie-grid-new .mgn-item.mb-5, .movie-grid-new .mgn-item [class*="mb-"] {
  margin-bottom: 0 !important;
}
/* 默认移动设备 - 1 列 */
.movie-grid-new {
  grid-template-columns: repeat(1, 1fr);
}
/* 默认隐藏超出的项目 */
/* 平板设备 - 2 列 */
.movie-grid-new {
  grid-template-columns: repeat(2, 1fr);
}
.movie-grid-new-2 {
  grid-template-columns: repeat(1, 1fr);
}
.movie-grid-item-new {
  width: 100%;
  aspect-ratio: 3/2;
  /* 保持3:2的宽高比 */
  position: relative;
}
.movie-placeholder {
  width: 100%;
  height: 100%;
  background-color: #5c0c14;
  /* 暗红色背景 */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.movie-placeholder:hover {
  transform: scale(1.02);
  background-color: #7a1019;
}
.placeholder-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}
.mgn-title h3, .mgn-title h4, .mgn-title h5 {
  all: unset;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.key-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  line-height: 1.8rem;
  transition: max-height .3s ease;
}
.key-container a {
  margin-right: 0.1rem;
}
.key-container.collapsed {
  /* 3 行高度：3 × line-height + 2 × row-gap (0.25rem) */
  max-height: calc(1.8rem * 2 + 0.25rem);
  overflow: hidden;
}
/* 展開 / 收起按鈕 */
.toggle-btn {
  margin-top: 0.25rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--bg-default-2);
  color: var(--fg-light5);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.toggle-btn:hover {
  background: var(--bg-default-2);
  color: var(--fg-light5);
}
.actor-swiper-item {
  cursor: pointer;
}
.actor-swiper-item .thumb {
  position: relative;
}
.actor-swiper-item .thumb img {
  transition: transform 0.3s ease-in-out;
}
.actor-swiper-item .thumb a {
  display: block;
  width: 100%;
  height: 100%;
}
.actor-swiper-item:hover .thumb img {
  transform: scale(1.2);
}
.swiper-overlay {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 50%);
  padding: 20px 10px 10px;
  display: flex;
  align-items: flex-end;
}
.swiper-overlay .actor-name {
  color: white;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  padding-bottom: 0.2rem;
  z-index: 10;
  color: rgba(255, 255, 255, 0.8);
}
.swiper-overlay .actor-name:hover {
  cursor: pointer;
}
.page-footer {
  margin-top: 3rem;
  margin-bottom: 3rem;
  z-index: 1000;
  position: relative;
}
.pagination-wrapper {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  background: var(--bg-default-2);
  padding: 1rem;
  border-radius: 1rem;
}
.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: var(--bg-default-1);
  color: var(--fg-light1);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  font-weight: 500;
}
.pagination-btn:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}
.pagination-btn.active {
  background: var(--pg-main);
  color: white;
  font-weight: 600;
}
.pagination-btn.active:hover {
  background: var(--pg-main);
  color: white;
}
.pagination-btn i {
  font-size: 1.2rem;
}
.page-footer {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.pagination-wrapper {
  padding: 0.75rem;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination-btn {
  min-width: 3rem;
  height: 3rem;
  font-size: 1.1rem;
  padding: 0 1rem;
}
.pagination-btn i {
  font-size: 1.2rem;
}
/* 在手机端只隐藏非当前页的页码数字按钮 */
.pagination-btn:not([title]):not(.active) {
  display: none;
}
/* 在手机端显示当前页码/总页数 */
.pagination-info {
  display: flex;
  text-align: center;
  margin-top: 0.75rem;
  color: var(--fg-light3);
  font-size: 0.9rem;
  column-gap: 15px;
  width: 100%;
  justify-content: center;
}
.pagination-info span {
  display: block;
  text-align: center;
  height: 30px;
  line-height: 30px;
}
.pagination-info input, .pagination-info button {
  width: auto;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
  border: none;
  outline: none;
  border-radius: 5px;
  height: 30px;
  line-height: 30px;
}
.pagination-info input {
  background-color: #5E5E60;
  color: var(--fg-light3);
  width: 50px;
}
.pagination-info button {
  background-color: var(--pg-main);
  color: #fff;
}
/* 基础：2 列 */
.actor-grid {
  display: grid;
  gap: 1rem;
  /* 卡片间距 */
  grid-template-columns: repeat(2, 1fr);
  container-type: inline-size;
}
/* 卡片简单样式，可按需美化 */
.actor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  background: #212529;
}
.actor-card .thumb {
  aspect-ratio: 3/4;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.thumb .hot {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(220, 53, 69, 1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 1rem;
  color: #fff;
  transform: rotate(-45deg) translate(-20%, -70%);
}
.thumb .hot:hover {
  cursor: pointer;
}
/* .thumb .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    transition: height 0.3s ease;
} */
.thumb > .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  transition: all 0.3s ease;
}
.thumb .overlay .more {
  color: #999;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}
.thumb .overlay .more .info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  color: #fff;
}
.thumb .overlay .more .info > div {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}
.thumb .overlay .more .info span {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  white-space: nowrap;
}
.thumb .overlay .more .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.thumb .overlay .more .tags span {
  background: rgba(255, 255, 255, 0.05);
  color: #bbb;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.thumb .overlay:hover {
  cursor: pointer;
  height: 40%;
  background-color: rgba(0, 0, 0, 0.6);
}
.thumb img:not(.flag-icon) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.thumb img:not(.flag-icon):hover {
  cursor: pointer;
  transform: scale(1.3);
}
/* 统一控制高度：改一行就生效 */ :root {
  --overlay-h: 30%;
}
/* 30% 覆盖，可改成 25% 40% 等 */
.thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--overlay-h);
  /* ❶ 由变量控制 */
  pointer-events: none;
  /* ❷ 不挡鼠标 */
  /* ❸ 三段渐变：最底 40% 极暗 → 中间略暗 → 顶端全透明 */
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, /* 深色 */ rgba(0, 0, 0, .6) 40%, rgba(0, 0, 0, .2) 70%, /* 过渡 */ rgba(0, 0, 0, 0) 100% /* 收尾 */
    );
}
.actor-card .title {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .5rem;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  z-index: 1;
}
.actor-card .title .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25em;
  margin-left: 0.5rem;
}
.actor-card .title .flag-icon {
  vertical-align: unset;
}
.actor-card .title .right {
  font-size: 0.8rem;
  color: #bbbbbb;
  text-align: right;
  display: flex;
  align-items: center;
}
.thumb > .overlay {
  height: 15%;
}
.filterbody {
  overflow: hidden !important;
  height: 100% !important;
}
.filteroverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  z-index: 100000;
  transition: height 0.5s;
}
.filter-icon-box {
  margin-top: 0.5rem;
  display: flex;
  justify-content: left;
  align-items: center;
  height: 100%;
  cursor: pointer;
  font-size: 1rem !important;
  color: white;
  border-radius: 0.5rem;
}
.filter-icon-box > i {
  margin-left: 0.2rem;
  display: block;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 0.6rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  max-height: 1.5rem;
  font-style: normal !important;
}
.tempoverlayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100000;
}
#menuPop {
  position: fixed;
  width: 100%;
  /*height: 300px;*/
  /*bottom: -300px;*/
  color: white;
  padding-top: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  z-index: 100001;
  border-radius: 1.5rem 1.5rem 0 0;
  transition: bottom 0.5s ease-in-out;
}
#menuPopContent {
  height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
#menuPopContent::-webkit-scrollbar {
  margin-top: 3rem;
  width: 0.5em;
  /*background-color:transparent;*/
}
#menuPopContent::-webkit-scrollbar-thumb {
  /*background-color:transparent;*/
}
#menuPopContent .tag {
  background-color: black;
}
.bg-bottom {
  background-color: #0e1014;
}
.logo-text-primary {
  color: #ffae00;
}
.log-text-zinc-50 {
  padding-right: 0.3rem;
  color: #fafafa;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-500 {
  color: #6b7280;
}
.text-gray-700 {
  color: #374151;
}
.border-gray-700 {
  border-color: #374151;
}
.font-serif {
  font-family: "Bungee", cursive !important;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.gap-4 {
  gap: 1.5rem;
}
.footer {
  display: flex;
  position: relative;
  background-color: #0e1014;
/*  margin-top: 7rem;*/
  padding: 5rem 0 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  font-family: "Roboto", "Microsoft JhengHei", sans-serif;
}
.footer-row {
  display: grid;
  grid-template-columns: 4fr 3fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col {
  min-width: 0;
}
.footer-col-left {
  text-align: left;
}
.footer-col-right {
  text-align: right;
}
.footer-col-right:last-child {
  text-align: right;
}
.footer-col-gap {
  width: 1fr;
}
.footer-logo {
  font-size: 2.25rem;
  line-height: 1.2;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.footer-desc {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.footer-title {
  display: block;
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 14px;
}
.footer-links a {
  color: #ccc;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.footer-links a:hover {
  color: #ffae00;
}
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
}
.copyright {
  color: #9ca3af;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.copyright a {
  color: inherit;
  text-decoration: none;
}
.copyright .logo {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.foot-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-content: end;
}
.foot-links a {
  color: #6b7280;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.foot-links a:hover {
  color: #ffae00;
}
.footer-row {
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer-col-right {
  text-align: left;
}
.footer-col-gap {
  display: none;
}
/* 隐藏"也可看看"栏目 */
.footer-col-right:last-child {
  display: none;
}
/* 隐藏标题 */
.footer-title {
  display: none;
}
/* 調整"關於我們"鏈接為橫向排列 */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
}
.footer-links li {
  margin-bottom: 0;
}
.footer-row {
  grid-template-columns: 1fr;
}
.footer-col-gap {
  display: none;
}
/* 确保在小屏幕上也隐藏"也可看看"栏目 */
.footer-col-right:last-child {
  display: none;
}
/* 隐藏标题 */
.footer-title {
  display: none;
}
/* 小屏幕上進一步調整鏈接排列 */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  justify-content: flex-start;
}
.footer-links li {
  margin-bottom: 0;
}
.footer-links a {
  display: block;
  font-size: 0;
}
.footer-links a > * {
  display: inline-block;
  vertical-align: middle;
  height: 0.9rem;
}
.footer-links img {
  margin-right: 5px;
}
.footer-links span {
  font-size: 0.9rem;
  line-height: 0.9rem;
}
.headerbar {
  color: white;
  height: var(--header-height);
  min-height: var(--header-height) !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  margin: 0 !important;
}
.header-inner {
  display: flex;
  height: var(--header-height);
}
/* 为body添加固定的padding-top，避免内容被Header遮挡 */
body {
  padding-top: var(--header-height);
  /* 确保smooth transition */
  transition: padding-top 0.3s ease;
}
/* 确保body-root不需要额外的margin */
.body-root {
  margin-top: 0 !important;
}
/* 确保顶部广告区域有适当的间距 */
.global-top-ads {
  padding-top: var(--content-top-spacing);
  transition: padding-top 0.3s ease;
}
.head-image-box {
  gap: 15px;
}
.head-image-wrapper {
  display: flex;
}
.head-image-wrapper a {
  display: block;
}
.head-image-wrapper img {
  vertical-align: middle;
  height: 1.5rem;
  max-width: 5rem;
  object-fit: contain;
  display: block;
  margin-left: 0;
  margin-right: auto;
}
.head-image-text {
  display: block;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  font-size: .8rem;
}
.logo {
  max-height: 100%;
  overflow: hidden;
  align-items: center;
  width: 100px;
}
.logo a {
  width: 100%;
  display: block;
}
.logo img {
  width:100%;
  height:100%;
  max-width:none;
}
.user-icon {
  height: 2rem;
  max-height: 2rem;
}
.slogan {
  font-size: 1rem;
  color: #6c757d;
  display: inline-block;
  max-width: 15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*
.input-group {
    width: 15rem;
    max-width:15rem;
    min-width:15rem;
}
*/
nav {
  display: none;
  flex-direction: row;
  align-items: center;
  overflow-x: hidden;
  /* 改为hidden，由JS控制滚动 */
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
}
nav span {
  height: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
}
nav span:hover {
  cursor: pointer;
}
nav span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s ease;
  pointer-events: none;
  /* 防止伪元素干扰鼠标事件 */
}
nav span:hover::after {
  background-color: red;
}
.navselect::after {
  background-color: red !important;
}
.top-search {
  display: none;
  max-width: 10rem;
}
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}
.search-result-item {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item a {
  color: #333;
  text-decoration: none;
  display: block;
}
.search-result-item a:hover {
  color: #007bff;
  background-color: #f8f9fa;
}
.top-slogan {
  display: none;
  flex-wrap: nowrap;
  text-wrap: nowrap;
  overflow: hidden;
  flex: 0 0 auto;
  margin-right: 1rem;
  /* 添加这行：不增长、不收缩、自动宽度 */
}
.input-group {
  position: relative;
}
.input-button-only .search-btn {
  display: flex;
  justify-content: center;
}
.input-button-only .search-btn:hover {
  cursor: pointer;
}
.mobile-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
/* 导航滚动样式 - Swiper风格 */
.nav-scrollable {
  cursor: grab;
  user-select: none;
  will-change: scroll-position;
  touch-action: pan-x;
  /* 只允许水平滑动 */
  -webkit-overflow-scrolling: touch;
  /* iOS平滑滚动 */
}
.nav-scrollable:active {
  cursor: grabbing;
}
/* 隐藏滚动条 */
.nav-scrollable::-webkit-scrollbar {
  display: none;
}
.nav-scrollable {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
/* 导航项的过渡效果 */
.nav-scrollable span {
  transition: all 0.2s ease;
}
/* 移动端菜单滚动容器 - 隐藏滚动条 */
.menu-scroll-container {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}
.menu-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}
.javrate-mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  pointer-events: none;
  z-index: 9999;
  /*background-color:rgba(0,0,0,.6);*/
}
.javrate-mobile-search-overlay.show {
  transform: translateY(0);
  pointer-events: auto;
}
.javrate-mobile-search-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}
.javrate-mobile-search-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  background: rgba(0, 0, 0, 0.95);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  touch-action: pan-y;
}
.javrate-mobile-search-header {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.javrate-mobile-search-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 1rem;
}
.javrate-mobile-search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}
.javrate-mobile-search-input {
  flex: 1;
  height: 45px;
  font-size: 1rem;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.javrate-mobile-search-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.javrate-mobile-search-button {
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 8px;
  border: none;
  background-color: #ff4d4d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.javrate-mobile-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 0 15px 15px;
  -webkit-overflow-scrolling: touch;
}
.javrate-mobile-search-result-item {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.javrate-mobile-search-result-item:last-child {
  border-bottom: none;
}
.javrate-mobile-search-result-item a {
  color: #fff;
  text-decoration: none;
  display: block;
}
.javrate-actor-result, .javrate-movie-result {
  display: flex;
  gap: 12px;
  align-items: center;
}
.javrate-actor-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.javrate-movie-thumb {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.javrate-actor-info, .javrate-movie-info {
  flex: 1;
  min-width: 0;
}
.javrate-actor-name, .javrate-movie-title {
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.javrate-actor-movies, .javrate-movie-code {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.javrate-movie-code {
  color: #ff4d4d;
  font-weight: 500;
}
.javrate-mobile-search-header {
  padding: 0 10px;
}
.javrate-mobile-search-box {
  gap: 8px;
}
.javrate-mobile-search-input {
  font-size: 0.9rem;
  height: 40px;
}
.javrate-mobile-search-button {
  width: 40px;
  height: 40px;
}
.javrate-mobile-search-container {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}
.ewave-user.logged img {
  border-radius: 50%;
}
/*layui*/
.layui-layer .mini-container {
  padding-top: 15px;
}
.layui-layer {
  background-color: var(--bg-color-3) !important;
  color: var(--text-color-1) !important;
}
.layui-layer a {
  color: var(--text-color-1) !important;
}
.layui-layer a:hover {
  color: var(--theme-color) !important;
}
.layui-layer-title {
  border-bottom-color: var(--bg-color-1) !important;
  margin-bottom: 15px;
  color: var(--text-color-1) !important;
}
.layui-layer .form-control {
  background-color: var(--bg-color-2) !important;
}
.ewave-search-dropdown-text {
  color: var(--text-color-1) !important;
}
.layui-layer:not(.layui-layer-msg):not(.layui-layer-loading) {
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 96%;
  max-width: 400px;
}
.layui-layer:not(.layui-layer-msg):not(.layui-layer-loading) .mini-container {
  max-width: 380px;
}
.layui-layer .form-horizontal {
  padding-left: var(--theme-padding);
  padding-right: var(--theme-padding);
}
.layui-layer .form-group {
  overflow: hidden;
}
.layui-layer .form-control {
  border: none;
  color: #fff;
}
.layui-layer [class*=col-] {
  float: left;
}
.layui-layer-btn .layui-layer-btn1 {
  background-color: var(--bg-color-1);
  border: none;
}
.text-center {
  text-align: center;
}
.btn-block {
  display: block;
  width: 100%
}
.btn-block + .btn-block {
  margin-top: 5px
}
.btn-theme {
  background-color: var(--theme-color, #f60) !important;
  border-color: var(--theme-color, #f60) !important;
  outline: none !important;
  color: #fff !important;
}
.btn-theme:hover {
  opacity: .8;
  color: #fff;
}
.head-points {
  display: inline-block;
  margin-right: 1.5rem;
}
.fixed-box {
  position: fixed;
  right: 15px;
  bottom:5%;
  z-index: 9999;
}
@media(min-width:800px) {
  .fixed-box {
    right: 50%;
    margin-right: -425px;
  }
}
.fixed-box ul {
  padding: 0;
  list-style: none;
}
.fixed-box li + li {
  margin-top: 15px;
}
.fixed-link {
  display: block;
  width: 50px;
  text-align: center;
  background-color: rgba(49,53,61,.8);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
}
.fixed-box .fixed-link{
  padding-top:5px;
  padding-bottom:5px;
}
.fixed-link:hover {
  background-color: rgba(49,53,61,1);
}
.fixed-link.active {
  background-color: var(--theme-color);
}
.fixed-box img {
  display: block;
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2px;
}
.fixed-box i {
  display: block;
  width: 50px;
  height: 18px;
  line-height: 18px;
  font-size: 18px;
}
.fixed-box span {
  display: block;
  text-align: center;
  font-size: .8rem;
}