::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #999999;
  font-size: 12px; 
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #999999;
  font-size: 12px;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #999999;
  font-size: 12px;
}
:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #999999;
  font-size: 12px;
}
.recommend-content {
  width: 1380px;
  margin: 16px auto 0;
  height: auto;
  background: #fff;
  border-radius: 16px;
}
.recommend-content .recommend-content-list {
  width: 1380px;
  margin: 16px auto 0;
}
.recommend-content .recommend-content-list .his-content-preference-container .his-trace-no-content {
  margin-top: 18px;
}
.recommend-content .recommend-content-list .his-content-preference-container .his-trace-tips {
  padding-bottom: 50px;
}
.recommend-content .recommend-content-list .home-game-tab-item-text {
  font-weight: 600;
  font-size: 16px;
  color: #2c2c2c;
  line-height: 22px;
  font-style: normal;
}
.recommend-content .recommend-content-list .recommend-content-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recommend-content .recommend-content-list .recommend-content-box .recommend-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-right: 24px;
  cursor: pointer;
}
.recommend-content .recommend-content-list .recommend-content-box .recommend-btn .recommend-btn-text {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 16px;
  margin-left: 8px;
}
.recommend-content .recommend-content-list .recommend-content-box .recommend-btn .recommend-btn-icon {
  width: 32px;
  height: 16px;
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_e6825d9c26fe3ec821486f74dc0a25be.png') no-repeat center center;
  background-size: 100% auto;
}
.recommend-content .recommend-content-list .recommend-content-box .recommend-btn .recommend-btn-icon.active {
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_bac9a94463a6aef8699286f4eccbcb2d.png') no-repeat center center;
  background-size: 100% auto;
}
.recommend-content .recommend-content-list .recommend-title {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: #333333;
  line-height: 14px;
  padding-left: 9px;
  margin-bottom: 8px;
}
.recommend-content .recommend-content-list .recommend-title:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 10px;
  background: #ff730a;
  border: 1px solid #ff730a;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.recommend-content .recommend-content-list .his-trace-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 54px;
  position: relative;
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_04629435475eb64fed736411109beb42.png') no-repeat right 0;
  background-size: 852px auto;
}
.recommend-content .recommend-content-list .his-trace-list .recommend-img {
  flex: 0 0 63px;
  height: 24px;
  display: block;
  object-fit: cover;
  margin-top: 15px;
}
.recommend-content .recommend-content-list .his-trace-list .like-content {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  height: 30px;
  position: relative;
  margin-right: 16px;
  margin-top: 12px;
  padding-right: 8px;
  padding-left: 8px;
}
.recommend-content .recommend-content-list .his-trace-list .like-content:hover {
  background: rgba(255, 115, 10, 0.3);
  border-radius: 15px;
}
.recommend-content .recommend-content-list .his-trace-list .like-content:hover .like-icon {
  background: url('https://pic.cgyouxi.com/orange/upload/202512/25322333_0b548847c1e6ef10410bf103d6be21a5.png') no-repeat center center;
  background-size: 100% 100%;
}
.recommend-content .recommend-content-list .his-trace-list .like-content:hover .like-icon.active {
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_eeb17c0035aa82df819339cb1bbfb001.png') no-repeat center center;
  background-size: 100% 100%;
}
.recommend-content .recommend-content-list .his-trace-list .like-content:hover .like-text {
  color: #FF730A;
}
.recommend-content .recommend-content-list .his-trace-list .like-content .like-text {
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  line-height: 22px;
}
.recommend-content .recommend-content-list .his-trace-list .like-content .like-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_9541d80ec9533df761edb98ea15a67d1.png') no-repeat center center;
  background-size: 100% 100%;
  margin-right: 4px;
  cursor: pointer;
}
.recommend-content .recommend-content-list .his-trace-list .like-content .like-icon.active {
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_eeb17c0035aa82df819339cb1bbfb001.png') no-repeat center center;
  background-size: 100% 100%;
}
.recommend-content .recommend-content-list .his-content-preference-danmu-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.recommend-content .recommend-content-list .his-content-preference-danmu-container .his-content-preference-danmu-track {
  min-width: 1380px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.recommend-content .recommend-content-list .his-content-preference-danmu-container .his-content-preference-container-content-item {
  padding-left: 16px;
  padding-right: 16px;
  height: 32px;
  line-height: 32px;
  background: #fff;
  border-radius: 16px;
  margin-right: 16px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.recommend-content .recommend-content-list .his-content-preference-danmu-container .his-content-preference-container-content-item span {
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  line-height: 22px;
  font-style: normal;
}
.recommend-content .recommend-content-list .his-trace-tips {
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  line-height: 20px;
  text-align: center;
  margin-top: 20px;
}
.recommend-content .recommend-content-list .his-trace-no-content {
  margin-top: 71px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.recommend-content .recommend-content-list .his-trace-no-content img {
  width: 270px;
  height: 140px;
  display: block;
  object-fit: cover;
}
.recommend-content .recommend-content-list .his-trace-no-content .his-trace-tips {
  margin-top: 24px;
}
.recommend-content .recommend-content-list .his-trace-container {
  margin-top: 20px;
  padding-bottom: 30px;
  height: auto;
}
.recommend-content .recommend-content-list .his-trace-container .pagination-container {
  display: flex;
  justify-self: center;
  align-items: center;
  padding-top: 24px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 11px;
}
.recommend-content .recommend-content-list .his-trace-container .list-title-name {
  font-weight: 600;
  font-size: 16px;
  color: #2c2c2c;
  line-height: 22px;
  font-style: normal;
}
.recommend-content .recommend-content-list .his-trace-container .search-container {
  position: relative;
  width: 230px;
  height: 32px;
  background: rgba(255, 255, 255, 0);
  border-radius: 16px;
  border: 1px solid #d0d0d0;
  padding: 0 10px 0 36px;
  box-sizing: border-box;
  background: #fff;
}
.recommend-content .recommend-content-list .his-trace-container .search-container:hover {
  border-color: #ff730a;
}
.recommend-content .recommend-content-list .his-trace-container .search-container input[type='search'] {
  width: 182px!important;
  border: none!important;
  outline: none!important;
  height: auto!important;
  color: #333333;
  box-shadow: none!important;
  background: transparent!important;
  padding: 0!important;
  border-radius: 0!important;
  appearance: none!important;
  -webkit-appearance: none!important;
  -moz-appearance: none!important;
  margin-bottom: 0px!important;
}
.recommend-content .recommend-content-list .his-trace-container .search-container input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: url('//pic.cgyouxi.com/orange/upload/202402/83158404_e6a45944bd5eda438aa58c284e15f72a.png') no-repeat center;
  background-size: 100% 100%;
  color: rgba(0, 0, 0, 0);
}
.recommend-content .recommend-content-list .his-trace-container .search-container input[type='search']::-webkit-search-cancel-button:hover {
  background: url('//pic.cgyouxi.com/orange/upload/202402/83158404_39c0c853cd368cbf9df3d0160a1f25ec.png') no-repeat top center / 100%;
}
.recommend-content .recommend-content-list .his-trace-container .search-container input[type='search']:after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #ccc;
}
.recommend-content .recommend-content-list .his-trace-container .search-container .search-icon {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 18px;
  background: url('//pic.cgyouxi.com/orange/upload/202511/25322333_1cafda852271c1f6fa0512149a9b7bfa.png') no-repeat top center / 100%;
}
.recommend-content .recommend-content-list .his-trace-container .search-container .search-icon:hover {
  background: url('//pic.cgyouxi.com/orange/upload/202402/108005369_830ca010d5db043ae5a4820aa8b4c277.png') no-repeat top center / 100%;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content {
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 16px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item {
  background: #ffffff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding-left: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-card {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-img {
  flex: 0 0 258px;
  height: 145px;
  border-radius: 6px;
  overflow: hidden;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text {
  padding-left: 8px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text a {
  display: block;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text span {
  display: block;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .his-trace-content-item-text-name {
  font-weight: 600;
  font-size: 14px;
  color: #2c2c2c;
  line-height: 20px;
  margin-top: 8px;
  padding-left: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .his-trace-content-item-text-name:hover {
  color: #ff730a;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .his-trace-content-item-text-time {
  font-size: 12px;
  color: #9597a8;
  line-height: 16px;
  font-style: normal;
  margin-top: 8px;
  padding-left: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .his-trace-content-item-text-time:hover {
  color: #ff730a;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .desc-content {
  width: 1034px;
  background: #f9f9f9;
  border-radius: 6px;
  box-sizing: border-box;
  padding: 16px;
  margin-top: 12px;
  overflow: hidden;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .desc-content .desc-content-item {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .desc-content .desc-content-item:hover {
  color: #ff730a;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .desc-content .desc-content-item-text {
  font-weight: 400;
  font-size: 15px;
  color: #666666;
  line-height: 24px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .author-encyclopedia-item-btn {
  width: 1034px;
  height: 42px;
  background: url('https://pic.cgyouxi.com/orange/upload/202512/25322333_d21ec10a0aa1359146c5542e3a0e32d0.png') no-repeat center center;
  background-size: 100% 100%;
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  margin-top: -25px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .author-encyclopedia-item-btn .author-encyclopedia-item-btn-text {
  font-weight: 400;
  font-size: 14px;
  color: #ff730a;
  line-height: 14px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .author-encyclopedia-item-btn .author-encyclopedia-item-btn-text i {
  width: 16px;
  height: 16px;
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_abb98b37b7ea258238cb0aca592c34be.png') no-repeat center center;
  background-size: 100% auto;
  margin-left: 4px;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .author-encyclopedia-item-btn .author-encyclopedia-item-btn-text i.icon-arrow-down {
  background: url('https://pic.cgyouxi.com/orange/upload/202511/25322333_abb98b37b7ea258238cb0aca592c34be.png') no-repeat center center;
  background-size: 100% auto;
}
.recommend-content .recommend-content-list .his-trace-container .his-trace-content .his-trace-content-item .his-trace-content-item-text .author-encyclopedia-item-btn .author-encyclopedia-item-btn-text i.icon-arrow-up {
  background: url('https://pic.cgyouxi.com/orange/upload/202512/94700550_ce34028b13481848e6e4d552d49c75df.png') no-repeat center center;
  background-size: 100% auto;
}
/* 弹幕外层容器 - 隐藏溢出 */
.his-content-preference-danmu-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  top: -12px;
  height: 32px;
}
/* 弹幕滚动容器 */
.his-content-preference-danmu-container {
  display: flex;
  width: fit-content;
  /* 使用 CSS 变量动态设置动画时长和位置 */
  --danmu-duration: 30s;
  --danmu-move-distance: 0px;
  /* 移动距离，由JS动态设置 */
  /* 初始位置：从右侧外部开始 */
  transform: translate3d(0, 0, 0);
  animation: danmu-scroll var(--danmu-duration) linear infinite;
  /* 启用硬件加速，优化性能 */
  will-change: transform;
  /* 优化渲染性能，减少重绘 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* 确保两个轨道紧密连接，无间距 */
  gap: 0;
}
/* 暂停动画（鼠标悬停时）*/
.his-content-preference-danmu-wrapper:hover .his-content-preference-danmu-container {
  animation-play-state: paused;
}
/* 弹幕轨道 */
.his-content-preference-danmu-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* 优化渲染性能 */
  will-change: transform;
  /* 确保轨道之间无间距，实现无缝连接 */
  flex-shrink: 0;
}
/* 弹幕项样式（保持原有样式）*/
.his-content-preference-danmu-wrapper .his-content-preference-container-content-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  height: 32px;
  font-size: 16px;
  color: #333333;
  line-height: 32px;
  white-space: nowrap;
  margin-right: 16px;
  flex-shrink: 0;
  /* 移除 transition，避免影响动画性能 */
}
/* 弹幕滚动动画 - 实现无缝循环 */
@keyframes danmu-scroll {
  0% {
    /* 从初始位置开始 */
    transform: translate3d(0, 0, 0);
  }
  100% {
    /* 移动到左侧，距离等于第一组弹幕的宽度，实现无缝循环 */
    transform: translate3d(var(--danmu-move-distance), 0, 0);
  }
}
