* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --colors-primary: #304881;
  --colors-subtitle: #7a8db8;
  --colors-info: #0f96ff;
  --content-padding-inline: 240px;
}
body {
  font-family: "PingFang SC", sans-serif;
  font-size: 16px;
}

.header-container {
  height: 68px;
  background: #86a6ff;
  display: flex;
  padding-inline: 50px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
}

/* 吸顶时的样式 */
.header-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #86a6ff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform, box-shadow;
}

/* 阴影逐渐显示的效果 */
.header-container.sticky.shadow-visible {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 为了避免内容被吸顶的header遮挡，给body添加padding-top */
body.header-sticky {
  transition: padding-top 0.1s ease-out;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-env-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 16px;
}
.env-dev-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 152, 0, 0.95);
  border-radius: 4px;
  line-height: 1.4;
  white-space: nowrap;
}
.env-prod-link {
  font-size: 16px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.env-prod-link:hover {
  color: #e8f0ff;
}
.logo {
  width: 125px;
  height: 50px;
}
.test-logo {
  width: 92px;
  height: 26px;
  margin-left: 24px;
}
.header-right-container {
  display: flex;
  align-items: center;
}
.link-container {
  display: flex;
  align-items: center;
  margin-right: 84px;
}
.link-item {
  position: relative;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}
.active-link-item {
  border-bottom: 1px solid #fff;
  font-weight: bold;
}
.link-item + .link-item {
  margin-left: 26px;
}

.login-btn {
  width: 92px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  line-height: 40px;
  color: var(--colors-info);
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.main-container {
  position: relative;
}

.top-container {
  height: 921px;
  background-image: url("../imgs/header_bg.png");
  background-size: 100% 100%;
  padding-top: 84px;
}
.top-text-container {
  text-align: center;
  margin-bottom: 37px;
}
.top-text-img {
  width: 870px;
  height: 262px;
}

/* 首页顶部公告：单行左滚、白字、透明背景 */
.home-announce {
  max-width: 100%;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--content-padding-inline);
  color: #fff;
  background: transparent;
  box-sizing: border-box;
}
.home-announce__title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #FF1E1E;
  flex: none;
}
.home-announce-icon{
  width: 25px;
  height: 25px;
  margin-right: 5px;
}
.home-announce__viewport {
  overflow: hidden;
  width: 800px;
  min-height: 1.5em;
}

.home-announce__track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: homeAnnounceMarquee 35s linear infinite;
}
.home-announce__text {
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 4em;
  font-size: 18px;
  color: #FF1E1E;
  background: transparent;
}
@keyframes homeAnnounceMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.top-title {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 74px;
  color: #fff;
  text-align: center;
}
.top-card-container {
  display: flex;
  justify-content: space-between;
  padding-inline: var(--content-padding-inline);
  flex-wrap: wrap;
}

.top-card {
  position: relative;
  width: 460px;
  height: 181px;
  background-image: url("../imgs/jp_bg.png");
  background-size: 100% 100%;
  border-radius: 20px;
  padding-bottom: 14px;
  padding-top: 15px;
  padding-left: 33px;
  margin-top: 30px;
}
.top-card-detail-container {
  /* display: none; */
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 460px;
  height: 370px;
  background: linear-gradient(to bottom, #efeefa 0%, #ffffff 100%);
  box-shadow: 0px 10px 7px 0px rgba(0, 0, 0, 0.1);
  border-radius: 19px;
  padding: 15px;
  z-index: -1;
}
.pf-card .top-card-detail-container,
.cs-card .top-card-detail-container,
.xx-card .top-card-detail-container {
  top: 0;
}
.top-card-detail-title {
  font-weight: bold;
  font-size: 22px;
  color: #000000;
  margin-left: 15px;
  margin-bottom: 28px;
}
.top-card-detail-desc {
  font-weight: 400;
  margin-left: 15px;
  font-size: 15px;
  color: #666666;
  margin-bottom: 28px;
}
.top-card-detail-container .top-btn {
  margin-bottom: 33px;
  margin-left: 15px;
}
.top-card:hover .top-card-detail-container {
  opacity: 1;
  z-index: 10;
  transition: all 0.5s ease;
}
.top-card.xx-card {
  background-image: url("../imgs/xx_bg.png");
}
.top-card.sjg-card {
  background-image: url("../imgs/sjg_bg.png");
}
.top-card.dglg-card {
  background-image: url("../imgs/dglg_bg.png");
}
.top-card.cs-card {
  background-image: url("../imgs/cs_bg.png");
}
.top-card.aijc-card {
  background-image: url("../imgs/aijc_bg.png");
}
.top-card.pf-card {
  background-image: url("../imgs/pf_bg.png");
}

/* 短剧/小说评分卡片：详情区 Tab */
.top-card-detail-container.pf-detail {
  padding: 24px 20px 20px;
  overflow: hidden;
}

.pf-detail-deco {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 100px;
  height: 88px;
  border-radius: 12px;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(93, 115, 255, 0.18) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.pf-detail-tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pf-tab {
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  color: #98a3b7;
  background: none;
  border: none;
  padding: 0 4px 12px;
  cursor: pointer;
  position: relative;
  line-height: 1.3;
}

.pf-tab--active {
  color: #16181a;
  font-weight: 700;
}

.pf-tab--active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #16181a;
  border-radius: 2px;
}

.pf-tab:not(.pf-tab--active):hover {
  color: #5a6578;
}

.pf-tab-panel[hidden] {
  display: none !important;
}

.pf-tab-panel {
  min-height: 160px;
  position: relative;
  z-index: 1;
}

.pf-panel-tagline {
  font-size: 15px;
  color: #979797;
  margin: 0 0 20px;
  font-weight: 400;
}

.top-card-detail-container.pf-detail .pf-tab-panel > .top-btn {
  margin-left: 0;
  margin-bottom: 24px;
}

.pf-panel-footer {
  font-size: 14px;
  line-height: 1.65;
  color: #98a3b7;
  padding-top: 4px;
}
.top-card-title {
  font-family:
    Alibaba PuHuiTi,
    Alibaba PuHuiTi;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 13px;
}
.top-card-title2 {
  color: #5d73ff;
}

.top-card-header {
  height: 218px;
  padding: 29px 34px;
}
.top-card-img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}
.top-card-desc {
  width: 460px;
  font-weight: 400;
  font-size: 16px;
  color: #979797;
  margin-bottom: 27px;
}
.top-xspf-card-desc {
  margin-bottom: 8px;
}
.top-card-desc-right {
  width: 308px;
}
.mid-container {
  position: relative;
  padding-top: 85px;
  padding-bottom: 40px;
  padding-inline: var(--content-padding-inline);
  background-image: url("../imgs/mid_bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mid-text-title {
  font-family:
    Alimama ShuHeiTi,
    Alimama ShuHeiTi;
  font-weight: bold;
  font-size: 60px;
  color: #5d73ff;
  margin-bottom: 30px;
}
.mid-text {
  font-weight: 400;
  font-size: 24px;
  color: var(--colors-subtitle);
}
.mid-img {
  width: 348px;
  height: 373px;
  margin-left: 80px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  background: #86a6ff;
  font-size: 16px;
  color: #fff;
}
.footer-icon-container {
  position: absolute;
  z-index: -1;
  margin-top: 10px;
}
.userInfo {
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  position: relative;
  align-items: center;
  display: none;
}

.userInfo::after {
  content: "";
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid #fff;
  transition: transform 0.2s ease;
}

.user-dropdown {
  position: absolute;
  width: auto;
  top: 100%;
  left: -10px;
  width: 120px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.userInfo:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  font-size: 14px;
  cursor: pointer;
  color: #2468f2;
  padding: 4px 12px;
  height: 32px;
}

.dropdown-divider {
  height: 1px;
  background-color: #e5e5e5;
  margin: 4px 0;
}
.user-dropdown {
  padding: 8px 12px;
  text-align: center;
}

/* 活动弹窗样式*/
.activities-container {
  position: fixed;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
}
.activities {
  position: relative;
  width: 22.81vw;
  height: 33.7vw;
  background-image: url("../imgs/coupon/card1/bg.png");
  background-size: 100% 100%;
}

.activities-title {
  font-size: 3.125vw;
  font-weight: bold;
  background: linear-gradient(45deg, #fffefe 0%, #ffe9b7 100%);
  /* 关键属性：将背景裁剪到文字 */
  -webkit-background-clip: text;
  background-clip: text;
  /* 将文字颜色设置为透明，以便显示背景渐变色 */
  color: transparent;
}
.activities-btn {
  position: absolute;
  left: 2.76vw;
  bottom: 2.76vw;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17.3vw;
  height: 4.27vw;
  cursor: pointer;
  background: linear-gradient(180deg, #ff718a 0%, #ff355a 53%, #ff4768 100%);
  box-shadow:
    3px 5px 10px 0px rgba(255, 72, 105, 0.2),
    inset 4px 0px 8px 0px rgba(255, 255, 255, 0.4),
    inset 1px 0px 5px 0px #ffffff,
    inset -3px 0px 8px 0px rgba(255, 255, 255, 0.4),
    inset -1px 0px 5px 0px #ffffff;
  border-radius: 2.08vw;
  font-weight: 600;
  font-size: 1.875vw;
  color: #ffffff;
}
.hand-icon {
  position: absolute;
  right: -0.73vw;
  bottom: -2.08vw;
  width: 5.1vw;
  height: 4.22vw;
}
.activities-count-container {
  position: absolute;
  width: 22.81vw;
  bottom: 9.63vw;
  text-align: center;
  left: 0;
}
.activities-count,
.activities-count-label {
  font-weight: 600;
  font-size: 2.6vw;
  color: #ffffff;
}
.activities-count {
  font-size: 5vw;
  display: inline-block;
  margin-right: 0.53vw;
}

.activities-close-btn {
  width: 2.6vw;
  height: 2.6vw;
  cursor: pointer;
  margin-top: 1.77vw;
}

.activities-desc {
  position: absolute;
  width: 22.81vw;
  bottom: 18.6vw;
  text-align: center;
  left: 0;
  font-size: 0.83vw;
  color: #fff;
}
.activities-pointsValidityDays {
  font-size: 0.83vw;
  margin-bottom: 0.53vw;
  color: var(--colors-primary);
}
.activities-coin {
  position: absolute;
}
.activities-coin3 {
  width: 2.08vw;
  height: 2.08vw;
  left: -4.01vw;
  bottom: 8.07vw;
}
.activities-coin2 {
  width: 3.125vw;
  height: 3.125vw;
  left: -5.67vw;
  bottom: 12.76vw;
}
.activities-coin4 {
  width: 4.16vw;
  height: 4.16vw;
  right: -5.92vw;
  bottom: 18.4vw;
}
.cuopon .activities {
  position: relative;
  width: 23vw;
  height: 23vw;
  background-image: none;
}
.cuopon .activities-title {
  margin-bottom: 0.5vw;
}
.cuopon .activities-tags {
  font-size: 1.56vw;
  background: linear-gradient(45deg, #fffefe 0%, #ffe9b7 100%);
  /* 关键属性：将背景裁剪到文字 */
  -webkit-background-clip: text;
  background-clip: text;
  /* 将文字颜色设置为透明，以便显示背景渐变色 */
  color: transparent;
  margin-bottom: 0.5vw;
}
.one-coupon .activities {
  height: 19vw;
}
.one-coupon .activities-top-img {
  height: 19vw;
}
.activities-list {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 23vw;
  left: 0;
  bottom: 8.59vw;
  z-index: 3;
}
.activities-item {
  display: flex;
  width: 21.04vw;
  height: 5.67vw;
  background-image: url("../imgs/coupon/card3/coupon_bg.png");
  background-size: 100% 100%;
  margin-top: 0.53vw;
}
.activities-item-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 7.5vw;
  height: 5.67vw;
}
.activities-item-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 0.85vw;
  width: 13.54vw;
  height: 5.67vw;
}
.activities-item-name {
  font-weight: 600;
  font-size: 1.04vw;
  color: #ff4c4e;
  margin-bottom: 0.53vw;
  /* 文字两行显示,超出省略号 */
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2; /* 显示两行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activities-item-price-label {
  font-weight: 600;
  font-size: 1.56vw;
  color: #ff4c4e;
}
.activities-item-price-count {
  font-weight: bold;
  font-size: 2.6vw;
  color: #ff4c4e;
}
.activities-item-tip {
  font-weight: 400;
  font-size: 0.83vw;
  color: #c4ab86;
}
.activities-top-img {
  width: 23vw;
  height: 23vw;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
}
.activities-bottom-img {
  width: 23vw;
  height: 10.78vw;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  opacity: 0.8;
}
.cuopon .activities-list {
  max-height: 15vw;
  padding-bottom: 1.82vw;
  overflow: auto;
}
.cuopon .activities-list::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: transparent;
}

/* 修改滚动条滑块的样式 */
.cuopon .activities-list::-webkit-scrollbar-thumb {
  background-color: #d4d6d9;
  border-radius: 16px; /* 修改滑块圆角 */
}

/* 修改滚动条滑块悬停时的样式 */
.cuopon .activities-list ::-webkit-scrollbar-thumb:hover {
  background-color: #d4d6d9;
}

.cuopon .activities-list .transparentScrollbar::-webkit-scrollbar {
  width: 0;
  background-color: transparent;
}
/* 修改滚动条滑块的样式 */
.cuopon .activities-list .transparentScrollbar::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 16px; /* 修改滑块圆角 */
}

/* 修改滚动条滑块悬停时的样式 */
.cuopon .activities-list .transparentScrollbar::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}
.cuopon .activities-btn {
  z-index: 5;
}
.goods .activities {
  width: 21.45vw;
  height: auto;
  min-height: 26.08vw;
  padding-top: 14.8vw;
  padding-bottom: 1vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("../imgs/coupon/card2/bg.png");
  background-size: 100% 100%;
}
.goods .activities-title {
  font-weight: 800;
  font-size: 1.72vw;
  color: #304685;
  background: none;
  padding-inline: 0.53vw;
  margin-bottom: 0.53vw;
}
.goods .activities-btn {
  position: relative;
  left: 0;
  bottom: 0;
  background: #5d73ff;
  box-shadow: none;
  margin-top: 1.72vw;
  font-size: 1.475vw;
  height: 3.33vw;
}
.goods .activities-desc {
  font-weight: 400;
  font-size: 0.93vw;
  padding-inline: 0.53vw;
  color: #737d9d;
  position: relative;
  width: 100%;
  left: 0;
  bottom: 0;
}
/* 提示弹窗样式 */
.toast-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}

.toast-modal.show {
  display: flex;
}

.toast-content {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  min-width: 300px;
  max-width: 500px;
  width: fit-content;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.toast-icon-symbol {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.toast-success .toast-icon {
  background-color: #52c41a;
}

.toast-error .toast-icon {
  background-color: #ff4d4f;
}

.toast-message {
  flex: 1;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.toast-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close-btn:hover {
  color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .toast-content {
    margin: 0 20px;
    min-width: auto;
    max-width: calc(100% - 40px);
    width: auto;
  }
}
.btn-container {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 20px;
}
.top-btn {
  width: 210px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse, #5d73ff 0%, #7b8dff 100%);
  cursor: pointer;
  border-radius: 15px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  box-shadow:
    0px 5.27px 13.4px 0px #5d73ff,
    inset 0px 1px 5px 2px #a5c6e4;
  transition: all 0.3s ease;
}
.disable-top-btn {
  opacity: 0.8;
  color: #ffbbbb;
}
.top-btn:not(.disable-top-btn):hover {
  background: radial-gradient(ellipse, #3a50cc 0%, #5d73ff 100%);
  box-shadow:
    0px 10.27px 13.4px 0px #3a50cc,
    inset 0px 1px 5px 2px #b0c4f0;
}
.top-btn-text {
  color: #ffbbbb;
}
.top-card-footer {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #f4f5f8 0%, #fefefe 100%);
  border-radius: 20px;
  overflow: hidden;
}
.top-card-footer-title {
  font-weight: bold;
  font-size: 16px;
  color: #16181a;
  margin-bottom: 7px;
}
.top-card-footer-desc {
  font-weight: 400;
  font-size: 16px;
  color: #98a3b7;
  line-height: 30px;
}
.jp-card .top-card-footer-desc {
  font-weight: 400;
  font-size: 14px;
  color: #98a3b7;
  line-height: 1.5;
}
.jp-card .top-card-detail-container .top-btn {
  margin-bottom: 20px;
}
.top-card-footer-item {
  /* flex: 1; */
  width: 50%;
  box-sizing: border-box;
  padding: 10px 20px;
  background: linear-gradient(180deg, #f4f5f8 0%, #fefefe 100%);
}
.top-card-footer-right-item {
  height: 150px;
  padding: 24px;
}
.download-dropdown {
  position: absolute;
  width: auto;
  top: 100%;
  left: -80px;
  /* width: 120px; */
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  width: 290px;
  /* height: 200px; */
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  padding: 10px 5px;
}
.link-item:hover .download-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.download-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
}
.download-item:hover {
  background: #f2f4f6;
}
.download-item-text {
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  margin-left: 10px;
}
.download-item:hover .download-item-text {
  color: #5d73ff;
}
.download-item-icon {
  width: 40px;
  height: 40px;
}
.link-download-item {
  color: #5d73ff;
  border-radius: 20px;
  padding: 5px 10px;
  background-color: #fff;
}

.mid-text-top-title {
  font-family:
    Alimama ShuHeiTi,
    Alimama ShuHeiTi;
  font-weight: bold;
  font-size: 30px;
  color: #5d73ff;
  position: absolute;
  top: 66px;
}

.news-container {
  height: 804px;
  padding-inline: var(--content-padding-inline);
  background-color: #f9fbff;
  padding-top: 25px;
}
.news-title {
  font-weight: bold;
  font-size: 40px;
  color: #5d73ff;
  text-align: center;
  margin-bottom: 10px;
}
.news-desc {
  text-align: center;
  font-weight: 500;
  font-size: 24px;
  color: #6b7cb7;
  margin-bottom: 60px;
}
.news-content {
  display: flex;
}
.news-left-img {
  width: 613px;
  height: 529px;
}
.news-content-left {
  margin-right: 43px;
}
.news-content-right {
  flex: 1;
}
.news-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #f0f4f9;
  border-radius: 16px;
  margin-bottom: 27px;
}
.news-date {
  font-family:
    Alibaba PuHuiTi,
    Alibaba PuHuiTi;
  font-weight: 400;
  font-size: 20px;
  flex: none;
  color: #7a8db8;
}
.news-day {
  font-family: Arial;
  font-weight: bold;
  font-size: 36px;
  flex: none;
  color: var(--colors-primary);
}
.news-line {
  flex: none;
  display: block;
  width: 1px;
  height: 52px;
  background-color: var(--colors-primary);
  margin-inline: 20px;
}
.news-item-title {
  font-weight: 500;
  font-size: 24px;
  color: var(--colors-primary);
  text-decoration: none;
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  white-space: nowrap;
}
.news-more-text:hover,
.news-item-title:hover {
  color: var(--colors-info);
}
.news-more {
  text-align: right;
}
.news-more-text {
  font-weight: 500;
  font-size: 20px;
  color: #132a76;
  cursor: pointer;
  text-decoration: none;
}

.wjdc-container {
  position: relative;
  padding-top: 8px;
}

.creation-dropdown {
  position: absolute;
  width: 162px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  padding: 10px 4px;
}

.link-item:hover .creation-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 文镜剧创：仅标签参与顶栏行高，与相邻导航对齐；箭头+配图绝对定位且无缝叠放 */
.link-item--juchuang {
  align-self: center;
}
.juchuang-label {
  display: inline-flex;
  width: 93px;
  height: 42px;
  justify-content: center;
  align-items: center;
  color: #fff;
  /* border: 1px solid rgba(255, 255, 255, 0.95); */
  border-radius: 10px;
  box-sizing: border-box;
  vertical-align: middle;
  background-image: url("../imgs/juChuang/border.png");
  background-size: 100% 125%;
}
/* 本浏览器会话内关闭过剧创欢迎提示后：去掉标签背景、与顶栏其他文案一致 */
.link-item--juchuang.juchuang-tip-dismissed .juchuang-label {
  display: inline;
  width: auto;
  height: auto;
  background-image: none;
  border-radius: 0;
  vertical-align: baseline;
}
.link-item--juchuang.juchuang-tip-dismissed .juchuang-tip-stack {
  display: none;
}
.juchuang-tip-stack {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  display: none;
}
.juchuang-tip-arrow {
  width: 85px;
  height: 85px;
  position: absolute;
  top: -45px;
  right: 68px;
}
.juchuang-tip-popover {
  position: relative;
  left: 25px;
  top: 40px;
  transform: none;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.juchuang-tip-popover__banner {
  display: block;
  width: 295px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  user-select: none;
}

.creation-dropdown-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  color: #333;
  padding: 5px 12px;
}
.disable-item {
  color: #c7c7c7;
}
.dropdown-item-active-icon {
  display: none;
}
.creation-dropdown-item:not(.disable-item):hover {
  background-color: #f5f7fa;
  color: #5d73ff;
}
.creation-dropdown-item:not(.disable-item):hover .dropdown-item-icon {
  display: none;
}
.creation-dropdown-item:not(.disable-item):hover .dropdown-item-active-icon {
  display: block;
}
.down-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.link-item:hover .down-icon {
  transform: rotate(180deg);
}

.dropdown-item-icon {
  width: 30px;
  height: 30px;
  margin-right: 8px;
}
.wjdc-img {
  width: 94px;
  height: 53px;
  margin-left: 30px;
  cursor: pointer;
}
.wjdc-dropdown {
  position: absolute;
  width: auto;
  top: 90%;
  left: -80px;
  /* width: 120px; */
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  width: 290px;
  /* height: 200px; */
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  padding: 10px 5px;
}
.wjdc-container:hover .wjdc-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wjdc-item {
  display: flex;
  align-items: center;
  padding: 10px;
}
.wjdc-item:hover {
  background: #f2f4f6;
}
.wjdc-item-text {
  font-weight: 400;
  font-size: 16px;
  color: #333333;
}
.wjdc-item-link {
  margin-left: 10px;
  color: var(--colors-info);
  text-decoration: none;
}
.wjdc-item-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.safeData-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 890px;
  background-image: url("../imgs/safeData_bg.png");
  /* background-image: #fff; */
  background-size: 100% 100%;
  padding-top: 50px;
}
.safeData-title {
  font-family:
    Alimama ShuHeiTi,
    Alimama ShuHeiTi;
  font-weight: bold;
  font-size: 40px;
  color: #5d73ff;
  line-height: 24px;
  letter-spacing: 3px;
  margin-bottom: 29px;
}
.safeData-subtitle {
  font-weight: 400;
  font-size: 24px;
  color: #7a8db8;
}
.safeData-tag {
  display: flex;
  align-items: center;
  position: absolute;
}
.safeData-tag1 {
  top: 289px;
  left: 489px;
}
.safeData-tag2 {
  top: 466px;
  left: 489px;
}
.safeData-tag3 {
  top: 289px;
  left: 1280px;
}
.safeData-tag4 {
  top: 466px;
  left: 1280px;
}
.safeData-tag-img {
  width: 32px;
  height: 32px;
  margin-right: 16px;
}
.safeData-tag-text {
  font-weight: 400;
  font-size: 24px;
  color: #7a8db8;
}
.safeData-card {
  position: absolute;
  bottom: 42px;
  left: 241px;
  width: 1440px;
  height: 240px;
  background: #ffffff;
  box-shadow: 0px 4px 16px 0px rgba(83, 129, 167, 0.1);
  border-radius: 30px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.safeData-card-item {
  text-align: center;
}
.safeData-card-item-img {
  width: 120px;
  height: 120px;
  margin-bottom: 11px;
}
.safeData-card-item-title {
  font-weight: 500;
  font-size: 24px;
  color: #3d485d;
  margin-bottom: 11px;
}
.safeData-card-item-desc {
  font-weight: 400;
  font-size: 16px;
  color: #7a8db8;
}

.gj-container {
  padding-top: 59px;
  height: 823px;
  padding-inline: var(--content-padding-inline);
}
.gj-title {
  font-family:
    Alimama ShuHeiTi,
    Alimama ShuHeiTi;
  font-weight: bold;
  font-size: 40px;
  color: #5d73ff;
  text-align: center;
  margin-bottom: 78px;
}
.gj-card-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gj-card-item {
  width: 320px;
  height: 483px;
  padding-top: 341px;
  padding-inline: 30px;
  background-size: 100% 100%;
  background-image: url("../imgs/sjg.png");
}

.gj-card-item.dglg {
  background-image: url("../imgs/dglg.png");
}
.gj-card-item.cs {
  background-image: url("../imgs/cs.png");
}
.gj-card-item.aijc {
  background-image: url("../imgs/aijc.png");
}
.gj-card-title {
  font-weight: 500;
  font-size: 24px;
  color: #5d73ff;
  margin-bottom: 17px;
}
.gj-card-desc {
  font-weight: 400;
  font-size: 16px;
  color: var(--colors-subtitle);
}
.version-text {
  font-weight: 400;
  font-size: 14px;
  color: #92a1b6;
  display: inline-block;
  vertical-align: middle;
}

.new-icon {
  width: 51px;
  height: 22px;
}

.xsb-container {
  padding-inline: var(--content-padding-inline);
  padding-top: 111px;
  padding-bottom: 60px;
  background-image: url("../imgs/xsb_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.rank-carousel-viewport {
  overflow-x: clip;
  overflow-y: visible;
}

/* 轮播轨道：水平并排 */
.rank-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.rank-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

/* 指示器 */
.rank-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.rank-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 4px;
  background: #c5ccee;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    width 0.3s ease;
}

.rank-dot--active {
  width: 48px;
  background: #5849c0;
}
.xsb-title {
  font-weight: bold;
  font-size: 40px;
  color: #5d73ff;
  line-height: 24px;
  letter-spacing: 4px;
  margin-bottom: 52px;
  text-align: center;
}
.xsb-desc {
  font-weight: 400;
  font-size: 24px;
  color: #7a8db8;
  text-align: center;
  margin-bottom: 49px;
}

.xsb-figure-row {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 20px;
  align-items: stretch;
}

.xsb-figure-side-cell {
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
}

.xsb-figure-side {
  display: block;
  width: 100%;
  height: 100%;
}

.xsb-figure-tops img {
  display: block;
  width: 445px;
  height: 233px;
  border-radius: 14px;
}

.xsb-figure-tops {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

/* 适配短剧IP榜：左1 + 右 3，图片内含文案 */
.djb-board {
  max-width: 1200px;
  margin: 80px auto 0;
}

.djb-board .xsb-header .xsb-title {
  margin-bottom: 20px;
}

.djb-board .xsb-header .xsb-desc {
  margin-bottom: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.djb-figure-row {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.djb-figure-side-cell {
  width: 440px;
  height: 520px;
  border-radius: 14px;
  overflow: hidden;
}

.djb-figure-side {
  display: block;

  width: 100%;
  height: 100%;
}

.djb-poster-cell {
  width: 280px;
  height: 467px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(80, 120, 200, 0.1);
}

.djb-poster-cell img {
  display: block;
  width: 100%;
  height: 100%;
}

.djb-cta-wrap {
  text-align: center;
}

/* 样式同 .top-btn，仅补充链接默认态 */
.djb-cta-btn {
  text-decoration: none;
  box-sizing: border-box;
  margin-top: 78px;
}
