/* EmpireCMS adaptations for the shoutu20 homepage. */
.st20-logo {
  display: block;
  width: 150px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.st20-logo img {
  display: block;
  width: 150px;
  height: 50px;
  object-fit: contain;
}

.st20-logo:hover {
  color: #fff;
}

.st20-logo small {
  margin-left: 5px;
  color: #ff9900;
  font-size: 14px;
  font-weight: 700;
}

.st20-home-main {
  padding-top: 20px;
}

.st20-home-main > .row {
  clear: both;
}

.st20-home-main .padding-0 {
  padding-left: 0;
  padding-right: 0;
}

.st20-home-main .stui-pannel {
  clear: both;
}

.st20-vod-title {
  margin: 10px 0 0;
}

.stui-vodlist__thumb.lazyload {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.st20-vod-title a {
  display: block;
}

.st20-vod-desc {
  height: 19px;
  overflow: hidden;
}

.st20-section-icon {
  vertical-align: -5px;
}

.st20-rank-head {
  margin-bottom: 10px;
}

.st20-rank-head .title {
  margin: 0;
  line-height: 24px;
}

.st20-rank-list li a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st20-footer {
  padding: 20px 0;
  color: #999;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.st20-link-list a {
  display: inline-block;
  margin: 0 12px 10px 0;
}

.st20-breadcrumb {
  padding: 6px 10px 10px;
  color: #999;
  font-size: 13px;
}

.st20-breadcrumb a {
  color: #666;
}

.st20-filter {
  margin: 2px 10px 12px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 153, 0, 0.10);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
  box-shadow: 0 8px 26px rgba(30, 34, 45, 0.06);
}

.st20-filter-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.st20-filter-row + .st20-filter-row {
  border-top: 1px solid rgba(30, 34, 45, 0.06);
}

.st20-filter-label {
  flex: 0 0 auto;
  min-width: 48px;
  padding-top: 0;
  color: #8a8f99;
  font-size: 13px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 1px;
}

.st20-filter-options {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.st20-filter-options a {
  display: inline-block;
  min-width: 52px;
  padding: 7px 16px;
  border-radius: 18px;
  color: #4b5563;
  line-height: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.st20-filter-options a:hover,
.st20-filter-options a.active {
  background: linear-gradient(135deg, #ffb347 0%, #ff8a00 100%);
  box-shadow: 0 6px 16px rgba(255, 153, 0, 0.28);
  color: #fff;
}

.st20-filter-options a:hover {
  transform: translateY(-1px);
}

.st20-list-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  padding: 15px 10px 5px;
  text-align: center;
}

.st20-list-pager table {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  border-collapse: collapse;
}

.st20-list-pager tbody,
.st20-list-pager tr {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
}

.st20-list-pager td {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  white-space: nowrap;
}

.st20-list-pager br {
  display: none;
}

.st20-list-pager a,
.st20-list-pager b,
.st20-list-pager span,
.st20-list-pager .pagenow {
  display: inline-block;
  min-width: 32px;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  line-height: 1.4;
}

.st20-list-pager a:hover,
.st20-list-pager b,
.st20-list-pager .pagenow {
  border-color: #ff9900;
  background-color: #ff9900;
  color: #fff;
}

.st20-list-meta {
  margin: 0;
  padding: 0 10px 10px;
  color: #999;
  font-size: 13px;
  text-align: center;
}

.st20-search-hero {
  margin-bottom: 20px;
}

.st20-search-hero .stui-pannel-box {
  padding: 22px 24px;
}

.st20-search-title {
  margin: 0 0 10px;
  color: #222;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.st20-search-title strong,
.st20-search-meta strong {
  color: #ff9900;
}

.st20-search-lead {
  margin: 0 0 14px;
  color: #777;
  line-height: 1.7;
}

.st20-search-inline {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 620px;
}

.st20-search-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #eee;
  border-radius: 5px;
  background: #f8f8f8;
  color: #333;
  font-size: 14px;
}

.st20-search-btn {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 22px;
  border: 1px solid #ff9900;
  border-radius: 5px;
  background: #ff9900;
  color: #fff;
  cursor: pointer;
}

.st20-search-btn:hover {
  background: #ff8800;
  border-color: #ff8800;
}

.st20-page-hero {
  margin-bottom: 20px;
}

.st20-page-hero .stui-pannel-box {
  padding: 22px 24px;
}

.st20-page-title {
  margin: 0 0 8px;
  color: #222;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.st20-page-lead {
  margin: 0;
  color: #777;
  line-height: 1.7;
}

.st20-rank-panel .stui-vodlist__text li a {
  padding-right: 0;
}

.st20-rank-panel .st20-rank-extra {
  float: right;
  max-width: 42%;
  color: #999;
  font-size: 12px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st20-detail-card {
  border-radius: 2px;
  background-color: #fff;
}

.st20-detail-card .col-pd {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 15px;
  overflow: hidden;
}

.st20-detail-card .stui-vodlist__thumb.picture img {
  border-radius: 4px;
}

.st20-detail-card .stui-content__thumb {
  display: block;
  flex: 0 0 190px;
  width: 190px;
  padding: 0;
}

.st20-detail-card .stui-content__thumb .v-thumb {
  width: 190px;
}

.st20-detail-card .stui-content__detail {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 0;
}

.st20-detail-card .stui-content__detail .title {
  margin-top: 0;
}

.st20-detail-card .stui-content__detail .data {
  margin-bottom: 10px;
  line-height: 1.8;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.st20-detail-card .stui-content__detail .desc {
  display: block;
  margin-bottom: 0;
  line-height: 1.8;
  white-space: normal;
}

.st20-detail-card .stui-content__detail .desc .left {
  color: #999;
}

.st20-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.st20-detail-actions .btn {
  margin: 0;
  white-space: nowrap;
}

.st20-detail .stui-pannel__head .title {
  font-weight: 400;
}

.st20-desc {
  padding: 0 10px 10px;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

.st20-desc p {
  margin-bottom: 10px;
}

.st20-playlist {
  padding: 0 10px 5px;
}

.st20-playlist .stui-content__playlist {
  margin-bottom: 0;
}

.st20-related {
  padding-top: 5px;
}

@media (min-width: 768px) {
  .st20-detail .row {
    display: flex;
    align-items: flex-start;
  }

  .st20-detail .row > .col-lg-wide-75 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .st20-detail .row > .col-lg-wide-25 {
    flex: 0 0 25%;
    min-width: 260px;
  }
}

@media (max-width: 1024px) {
  .st20-logo {
    width: 127px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
  }

  .st20-logo img {
    width: 127px;
    height: 30px;
  }

  .st20-logo small {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .st20-home-main {
    padding-top: 10px;
  }

  .stui-header__menu {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .stui-header__menu ul {
    min-width: max-content;
  }

  .st20-footer {
    padding-bottom: 65px;
  }

  .st20-filter-row {
    align-items: flex-start;
    gap: 10px;
  }

  .st20-filter-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .st20-filter {
    margin: 0 5px 8px;
    padding: 6px 12px;
    border-radius: 12px;
  }

  .st20-filter-label {
    min-width: 42px;
    line-height: 34px;
  }

  .st20-filter-options a {
    min-width: auto;
    padding: 8px 15px;
    border-radius: 17px;
  }

  .st20-search-hero .stui-pannel-box {
    padding: 16px 14px;
  }

  .st20-search-title {
    font-size: 20px;
  }

  .st20-page-hero .stui-pannel-box {
    padding: 16px 14px;
  }

  .st20-page-title {
    font-size: 20px;
  }

  .st20-search-inline {
    display: block;
  }

  .st20-search-input {
    width: 100%;
    margin-bottom: 10px;
  }

  .st20-search-btn {
    width: 100%;
  }

  .st20-filter-options a {
    flex: 0 0 auto;
  }

  .st20-list-pager {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .st20-detail-card .col-pd {
    gap: 12px;
    padding: 10px 8px;
  }

  .st20-detail-card .stui-content__thumb {
    display: block;
    flex: 0 0 105px;
    width: 105px;
    vertical-align: top;
  }

  .st20-detail-card .stui-content__thumb .v-thumb {
    width: 105px;
  }

  .st20-detail-card .stui-content__detail {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 0;
    vertical-align: top;
  }

  .st20-detail-card .stui-content__detail .title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 22px;
  }

  .st20-detail-card .stui-content__detail .score {
    margin-left: 6px;
    font-size: 14px;
    line-height: 18px;
  }

  .st20-detail-card .stui-content__detail .data {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.65;
    white-space: nowrap;
    word-break: normal;
  }

  .st20-detail-card .stui-content__detail .desc {
    max-height: 46px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.7;
    word-break: break-word;
  }

  .st20-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .st20-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 8px 14px;
    margin: 0;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .st20-detail-card .col-pd {
    gap: 10px;
    padding: 8px 6px;
  }

  .st20-detail-card .stui-content__thumb {
    flex-basis: 92px;
    width: 92px;
  }

  .st20-detail-card .stui-content__thumb .v-thumb {
    width: 92px;
  }

  .st20-detail-card .stui-content__detail .title {
    font-size: 16px;
    line-height: 20px;
  }

  .st20-detail-card .stui-content__detail .data {
    font-size: 12px;
  }

  .st20-detail-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ========== 播放页 play.temp.shoutu20.htm（与 ecms-bridge 播放区布局一致） ========== */
.st44-play-main {
  padding-bottom: 28px;
}

.st44-play-inner {
  max-width: 100%;
}

.st44-play-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%);
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  font-size: 13px;
}

.st44-play-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #666;
}

.st44-play-crumbs a {
  color: #1e6fd9;
  text-decoration: none;
}

.st44-play-crumbs a:hover {
  color: #2692ff;
  text-decoration: underline;
}

.st44-play-crumbs-sep {
  color: #bbb;
  user-select: none;
}

.st44-play-crumbs-here {
  color: #333;
  font-weight: 600;
}

.st44-play-back {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #2692ff, #42a5f5);
  border-radius: 6px;
  text-decoration: none;
}

.st44-play-back:hover {
  color: #fff;
  opacity: 0.94;
}

.st44-play-stage-wrap {
  margin-bottom: 18px;
}

.st44-play-stage {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.st44-play-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #0a0a0a;
}

.st44-play__shell {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st44-play-iframe-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.st44-play-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.st44-play__shell--video .st44-play-native {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.st44-play__shell--dp #playera1 {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.st44-play__big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2692ff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.st44-play__big-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.st44-play__big-play .st20-play-bigicon {
  font-size: 26px;
  margin-left: 4px;
  line-height: 1;
  display: block;
}

.st44-play__shell.is-playing .st44-play__big-play {
  opacity: 0;
  pointer-events: none;
}

.st44-play-placeholder {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  box-sizing: border-box;
}

.st20-play-dp-msg {
  margin: 0;
  padding: 1rem;
  font-size: 14px;
  text-align: center;
}

.st20-play-dp-msg--warn {
  color: #94a3b8;
}

.st20-play-dp-msg--err {
  color: #f87171;
}

.st44-play-card {
  margin-bottom: 20px;
  padding: 16px 18px 18px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.st44-play-card-h {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.st44-play-dl > div {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px dotted #eee;
  font-size: 14px;
}

.st44-play-dl > div:last-child {
  border-bottom: none;
}

.st44-play-dt {
  flex: 0 0 72px;
  color: #999;
}

.st44-play-dd {
  flex: 1;
  min-width: 0;
  color: #333;
  word-break: break-word;
}

.st44-play-dd a {
  color: #1e6fd9;
  text-decoration: none;
}

.st44-play-dd a:hover {
  text-decoration: underline;
}

.st44-play-syn {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.st44-play-syn-h {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.st44-play-syn-body {
  font-size: 14px;
  line-height: 1.65;
  color: #666;
  word-break: break-word;
}

.st44-play-playlist {
  margin-bottom: 24px;
  padding: 20px 20px 22px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
  overflow: hidden;
}

.st44-play-playlist-h {
  position: relative;
  margin: 0 0 14px;
  padding-left: 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.st44-play-playlist-h::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #2692ff, #42a5f5);
}

.st44-play-playlist-lead {
  margin: 0 0 18px;
  padding: 11px 14px 11px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.st44-play-playlist-lead strong {
  color: #1d4ed8;
  font-weight: 700;
}

.st44-play-src {
  margin-bottom: 14px;
  padding: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 10px rgba(15, 23, 42, 0.04);
}

.st44-play-src:last-of-type {
  margin-bottom: 0;
}

.st44-play-src-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #eef2f7;
}

.st44-play-src-h strong {
  color: #0f172a;
  font-weight: 700;
  font-size: 15px;
}

.st44-play-src-h span {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  padding: 3px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.st44-play-pl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 14px 16px 16px;
  list-style: none;
  background: #fafbfc;
}

.st44-play-pl a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.st44-play-pl a:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(38, 146, 255, 0.12);
}

.st44-play-pl a.active {
  border-color: #2692ff;
  background: linear-gradient(135deg, #2692ff 0%, #3b9eff 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(38, 146, 255, 0.35);
}

@media (max-width: 640px) {
  .st44-play-pl {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 14px;
    gap: 10px;
    scroll-padding-inline: 4px;
  }

  .st44-play-pl li {
    flex-shrink: 0;
  }

  .st44-play-pl a {
    min-height: 42px;
    padding: 8px 16px;
  }

  .st44-play-playlist {
    padding: 16px 14px 18px;
    border-radius: 12px;
  }

  .st44-play-playlist-h {
    font-size: 17px;
  }

  .st44-play-src-h {
    padding: 11px 14px;
  }

  .st44-play-src-h strong {
    font-size: 14px;
  }
}

.st44-play-pl-empty {
  margin: 0;
  padding: 12px;
  color: #999;
  font-size: 14px;
}

@media (max-width: 480px) {
  .st44-play-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .st44-play-back {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* 播放页：全宽单列（无侧栏排行） */
.st20-playpage .st20-play-layout {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 8px;
}

.st20-play-stage {
  margin-bottom: 20px;
}

.st20-play-meta {
  margin-bottom: 22px;
}

.st20-play-episodes {
  margin-bottom: 8px;
}

.st20-play-related-pannel {
  margin-top: 8px;
}

.st20-play-related-pannel .stui-pannel-box {
  padding-bottom: 6px;
}

@media (min-width: 992px) {
  .st20-play-meta .st44-play-dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .st20-playpage .st44-play-stage-wrap.st20-play-stage {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
}
