@import "./iconfont.css";
@import "./global.css";
@import "./swiper-bundle.min.css";
@import "./jquery.raty.css";
@import "./source-style.css";

.xiazai-vod8-site-theme {
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .xiazai-vod8-site-theme {
    overflow-x: hidden;
  }
}

.xiazai-vod8-site-theme .container {
  max-width: min(1200px, 100%);
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.xiazai-vod8-site-theme .ewave-vodlist__thumb.lazyload {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.xiazai-vod8-site-theme .vod8-poster-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xiazai-vod8-site-theme .ewave-player__video {
  background: #000;
  overflow: hidden;
}

.xiazai-vod8-site-theme .ewave-player__video .MacPlayer,
.xiazai-vod8-site-theme .ewave-player__video .MacPlayer > div,
.xiazai-vod8-site-theme .ewave-player__video .MacPlayer iframe,
.xiazai-vod8-site-theme .ewave-player__video .MacPlayer video {
  width: 100%;
  height: 100%;
}

.xiazai-vod8-site-theme .vod8-header-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.xiazai-vod8-site-theme .vod8-text-logo {
  align-items: center;
  background-image: none !important;
  color: #d71920;
  display: flex;
  font-size: 24px;
  font-weight: 700;
  height: 55px;
  line-height: 1.2;
  max-width: 260px;
  overflow: visible;
  text-indent: 0;
  white-space: nowrap;
}

.xiazai-vod8-site-theme .vod8-header-menu {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 0;
  height: 55px;
  min-width: 0;
  overflow: hidden;
}

.xiazai-vod8-site-theme .vod8-header-menu > li.hidden-xs {
  display: block !important;
  flex: 0 0 auto;
  float: none;
  margin: 0;
}

.xiazai-vod8-site-theme .vod8-header-menu > li > a {
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

.xiazai-vod8-site-theme .vod8-header-search {
  flex: 0 0 280px;
}

.xiazai-vod8-site-theme .ewave-header__user {
  display: none;
}

.xiazai-vod8-site-theme .ewave-pannel__head .title img {
  display: none;
}

.xiazai-vod8-site-theme .vod8-player-empty {
  color: #fff;
  display: grid;
  height: 100%;
  place-items: center;
  text-align: center;
}

.xiazai-vod8-site-theme .vod8-page-title {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  color: #222;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 15px;
  padding: 18px 20px;
}

.xiazai-vod8-site-theme .vod8-play-info-grid {
  display: grid;
  gap: 10px 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.xiazai-vod8-site-theme .vod8-episode-panel {
  max-height: 360px;
  overflow-y: auto;
}

.xiazai-vod8-site-theme .vod8-episode-panel .ewave-content__playlist {
  margin-bottom: 0;
}

.xiazai-vod8-site-theme .vod8-episode-range-nav {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.xiazai-vod8-site-theme .vod8-episode-range-nav a,
.xiazai-vod8-site-theme .vod8-source-switch {
  align-items: center;
  background: #f5f7fb;
  border: 1px solid #e2e7ef;
  border-radius: 4px;
  color: #333;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
}

.xiazai-vod8-site-theme .vod8-episode-range-nav a.active {
  background: #1f63c6;
  border-color: #1f63c6;
  color: #fff;
}

@media (max-width: 767px) {
  .xiazai-vod8-site-theme .vod8-episode-range-nav a,
  .xiazai-vod8-site-theme .vod8-source-switch {
    min-height: 44px;
  }
}

.xiazai-vod8-site-theme .vod8-tag-row,
.xiazai-vod8-site-theme .vod8-related-links,
.xiazai-vod8-site-theme .vod8-site-entrance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xiazai-vod8-site-theme .vod8-tag-row .btn,
.xiazai-vod8-site-theme .vod8-related-links .btn {
  background: #f5f7fb;
  border: 1px solid #e4e8f0;
  border-radius: 18px;
  box-shadow: none;
  color: #333;
  margin: 0;
  min-width: 0;
  padding: 7px 16px;
  text-shadow: none;
}

.xiazai-vod8-site-theme .vod8-tag-row .btn:hover,
.xiazai-vod8-site-theme .vod8-related-links .btn:hover {
  background: #eef3ff;
  border-color: #d6e2ff;
  color: #1f63c6;
}

.xiazai-vod8-site-theme .vod8-site-entrance a {
  background: #f6f7fa;
  border: 1px solid #e6e8ee;
  border-radius: 4px;
  color: #333;
  display: inline-flex;
  line-height: 1.2;
  padding: 9px 16px;
}

.xiazai-vod8-site-theme .vod8-site-entrance a:hover {
  background: #fff;
  border-color: #d71920;
  color: #d71920;
}

.xiazai-vod8-site-theme .ewave-screen__list li.active > a {
  color: #fff !important;
  text-shadow: none !important;
}

.xiazai-vod8-site-theme .ewave-content__playlist li.active > a {
  color: #fff !important;
  text-shadow: none !important;
}

.xiazai-vod8-site-theme .ewave-pannel-side .ewave-vodlist__media .detail {
  max-width: calc(100% - 92px);
  min-width: 0;
  overflow: hidden;
}

.xiazai-vod8-site-theme .ewave-pannel-side .ewave-vodlist__media {
  max-width: 100%;
  overflow: hidden;
}

.xiazai-vod8-site-theme .ewave-pannel-side .ewave-vodlist__media li {
  max-width: 100%;
  overflow: hidden;
}

.xiazai-vod8-site-theme .ewave-pannel-side .ewave-vodlist__media li .detail {
  max-width: calc(100% - 76px);
  padding-left: 10px !important;
  padding-right: 0 !important;
  width: calc(100% - 76px) !important;
}

.xiazai-vod8-site-theme .vod8-footer {
  color: #666;
  padding: 28px 0;
}

.xiazai-vod8-site-theme .vod8-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.xiazai-vod8-site-theme .vod8-footer-link-item {
  display: inline-flex;
  gap: 14px;
}

.xiazai-vod8-site-theme .vod8-footer-separator {
  color: #c7c7c7;
}

@media (max-width: 991px) {
  .xiazai-vod8-site-theme .vod8-header-main {
    flex-wrap: wrap;
    gap: 10px;
  }

  .xiazai-vod8-site-theme .ewave-header__logo {
    flex: 0 0 auto;
    order: 1;
  }

  .xiazai-vod8-site-theme .vod8-header-search {
    flex: 1 1 220px;
    order: 2;
  }

  .xiazai-vod8-site-theme .vod8-header-menu {
    flex: 1 1 100%;
    justify-content: center;
    order: 3;
  }
}

@media (max-width: 767px) {
  .xiazai-vod8-site-theme .ewave-vodlist > li.col-xs-3 {
    float: left;
    min-width: 0;
    width: 50% !important;
  }

  .xiazai-vod8-site-theme .ewave-vodlist > li.col-xs-3:nth-child(2n + 1) {
    clear: left;
  }

  .xiazai-vod8-site-theme .ewave-vodlist > li.col-xs-3 .ewave-vodlist__detail .title {
    display: -webkit-box;
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .xiazai-vod8-site-theme .vod8-header-main {
    display: flex;
  }

  .xiazai-vod8-site-theme .vod8-text-logo {
    height: 44px;
    max-width: 100%;
  }

  .xiazai-vod8-site-theme .vod8-header-search {
    flex: 1 1 100%;
    position: static !important;
    transform: none !important;
    width: 100%;
  }

  .xiazai-vod8-site-theme .vod8-header-menu {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
  }

  .xiazai-vod8-site-theme .vod8-header-menu > li.visible-xs {
    display: none !important;
  }
}

/* 2026-07-30: keep desktop play content/sidebar on the intended 75/25 grid. */
@media (min-width: 992px) {
  .xiazai-vod8-site-theme .vod8-play-main.col-lg-wide-75 {
    box-sizing: border-box;
    float: left;
    min-width: 0;
    width: 75% !important;
  }

  .xiazai-vod8-site-theme .vod8-play-main + .ewave-pannel-side {
    box-sizing: border-box;
    float: left;
    min-width: 0;
    width: 25% !important;
  }
}

@media (max-width: 991px) {
  .xiazai-vod8-site-theme .vod8-play-main {
    float: none;
    width: 100% !important;
  }
}
